Re: tcl on Mac OS X

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: Jeremy Buchmann <jeremy(at)wellsgaming(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: tcl on Mac OS X
Date: 2001-08-31 15:21:38
Message-ID: 3B8FAB82.C4800D45@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Jeremy Buchmann wrote:
>
> I've been experimenting with Mac OS X lately and would like to get
> pgaccess running on it. The database itself is on another machine, but
> I built the libpq and libpgtcl interfaces on OS X and installed them to
> /usr/local/pgsql/lib. The version of tcl that comes with OS X doesn't
> support dynamic loading, so I rebuilt tcl/tk 8.3.3 with a patch that
> enables dynamic loading on OS X. After installing that, I downloaded
> pgaccess and gave it a shot...and I got the following error message:
>
> Error in startup script: dyld: permission denied
> while executing
> "load libpgtcl[info sharedlibextension]"
> (procedure "main" line 3)
> invoked from within
> "main $argc $argv"
> (file "/usr/local/pgaccess/main.tcl" line 249)
>
> I'm not quite sure what that means...my only guess was the permissions
> were wrong on either libpq or libpgtcl, but they look ok to me:

1. try to run pgaccess as root
2. try to change the source instead of

load libpgtcl[info sharedlibextension]

to a more direct pointing to

load /usr/local/pgsql/lib/libpgtcl.so ... or whatever extension the
libpgtcl file has ...

Teo

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Constantin Teodorescu 2001-08-31 15:53:26 BUG in binaries for Mandrake 8.0 !!!
Previous Message Michael Meskes 2001-08-31 15:14:38 Re: Documentation on ECPG