[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-ports
Subject:    Re: [PORTS] Building pgtcl on OS X
From:       Daniel Luke <dluke () geeklair ! net>
Date:       2001-08-23 16:16:33
[Download RAW message or body]

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.


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic