Search Postgresql Archives

Tcl load command and mac os x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At the time I built Postgresql 7.4.2 I did not have aqua Tcl/Tk installed.

The Aqua Tcl/Tk version installs in a different location the the apple
supplied Tcl ( apple does not supply Tk). I built with support for Tcl
and it found the apple supplied version and built pgtclsh and libpgtcl.a
and a libpgtcl.so

If I start the "regular" tclsh and try to use the load command I get load
failures


% load libpgtcl
dyld: tclsh can't open library: libpgtcl (No such file or directory, errno = 2)


% load /usr/local/pgsql/lib/libpgctl
dyld: tclsh can't open library: /usr/local/pgsql/lib/libpgctl (No such file or directory, errno = 2)


% load /usr/local/pgsql/lib/libpgtcl
dyld: tclsh can't open library: /usr/local/pgsql/lib/libpgtcl (No such file or directory, errno = 2)


% load /usr/local/pgsql/lib/libpgtcl.so
dyld: tclsh malformed library: /usr/local/pgsql/lib/libpgtcl.so (not a Mach-O library file, bad filetype value)


% load /usr/local/pgsql/lib/libpgtcl.a
dyld: tclsh malformed library: /usr/local/pgsql/lib/libpgtcl.a (not a Mach-O file, bad magic number)


Question 1) Is it possible to dynamically load the postgresql stuff into an "ordinary" tclsh?


Question 2) Since I have Apple's Tcl and the Aqua Tcl/Tk how do I force config to use the
aqua version?


Thanks


---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux