From: | Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | tcl on Mac OS X |
Date: | 2001-08-31 00:12:52 |
Message-ID: | 200108310012.RAA18548@mail.greatbasin.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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:
[localhost:local/pgsql/lib] root# ll
total 1856
drwxr-xr-x 10 root wheel 296 Aug 30 16:55 .
drwxr-xr-x 4 root wheel 92 Aug 30 16:32 ..
-rw-r--r-- 1 root wheel 201368 Aug 30 16:32 libpgtcl.a
lrwxr-xr-x 1 root wheel 15 Aug 30 16:55 libpgtcl.so ->
libpgtcl.so.2.1
lrwxr-xr-x 1 root wheel 15 Aug 30 16:55 libpgtcl.so.2 ->
libpgtcl.so.2.1
-rwxr-xr-x 1 root wheel 243396 Aug 30 16:32 libpgtcl.so.2.1
-rw-r--r-- 1 root wheel 306044 Aug 30 16:55 libpq.a
lrwxr-xr-x 1 root wheel 12 Aug 30 16:55 libpq.so -> libpq.so.2.1
lrwxr-xr-x 1 root wheel 12 Aug 30 16:55 libpq.so.2 ->
libpq.so.2.1
-rwxr-xr-x 1 root wheel 174228 Aug 30 16:55 libpq.so.2.1
I'm in XDarwin when I'm running it, so it shouldn't be an X Windows
related problem. Does anyone else have any ideas?
--Jeremy [jeremy(at)wellsgaming(dot)com]
From | Date | Subject | |
---|---|---|---|
Next Message | Billy G. Allie | 2001-08-31 00:34:10 | pyPgSQL - Version 1.5.1 is released. |
Previous Message | Carlos Moreno | 2001-08-30 22:58:01 | Re: Query for Postgre |