Re: Building pgtcl on OS X - Mailing list pgsql-ports

From Daniel Luke
Subject Re: Building pgtcl on OS X
Date
Msg-id 3B852C61.9000601@geeklair.net
Whole thread Raw
In response to Building pgtcl on OS X  (Gugs E Lishus <gugsky@yahoo.com>)
List 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.


pgsql-ports by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Majordomo being upgraded ...
Next
From: Bruce Momjian
Date:
Subject: Re: Re: patch for minor Win32 makefile bug