Tcl load command and mac os x

From: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
To: Postgres General <pgsql-general(at)postgresql(dot)org>, tcl-mac(at)lists(dot)sourceforge(dot)net
Subject: Tcl load command and mac os x
Date: 2004-04-06 22:25:28
Message-ID: 4ED7389D-8819-11D8-BB09-000393779D9C@eku.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Ridge 2004-04-06 22:48:40 Re: Cursors and Transactions, why?
Previous Message mboes 2004-04-06 22:16:53 timestamp precision with or without timezones