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