tcl on Mac OS X

Поиск
Список
Период
Сортировка
От Jeremy Buchmann
Тема tcl on Mac OS X
Дата
Msg-id 200108310012.RAA18548@mail.greatbasin.net
обсуждение исходный текст
Список 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@wellsgaming.com]


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Carlos Moreno
Дата:
Сообщение: Re: Query for Postgre
Следующее
От: Bill.Allie@mug.org
Дата:
Сообщение: pyPgSQL - Version 1.5.1 is released.