Re: Building pgtcl on OS X

From: Daniel Luke <dluke(at)geeklair(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: Building pgtcl on OS X
Date: 2001-08-23 16:16:33
Message-ID: 3B852C61.9000601@geeklair.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Gugs E Lishus wrote:

> But the problem is that it creates a libpgtcl.so file, whereas tcl/tk
> seems to be looking for libpgtcl.dylib. Can anyone help me with the
> final steps here?

I am by no means an expert on this ... but it sounds like you are
running into one of the 'strange' things about Mac OS X (it doesn't use
the 'normal' dlopen() api).

There are a couple of options ... you can use the dlopen() shim (which
has it's own potential issues), or you can 'fix' the code to use the
native Mac OS X/Darwin dynamic loading stuff (check the apache source
code for a good example of how to do this, or look at the mailing list
archives at www.darwinfo.org).

I hope this helps.

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-24 11:45:16 Re: C interface
Previous Message Gugs E Lishus 2001-08-22 17:47:21 Building pgtcl on OS X