Justin C. Walker on Thu, 14 Mar 2002 16:20:30 -0800

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

Re: library installation/Mac OS X

Following up on this fairly old thread (sorry if I'm wasting bandwidth):

On Thu, Nov 15, 2001 at 02:17:01PM +0100, Karim BELABAS wrote:
> What I exactly meant was to have two libraries:
> > libparikernel.a  (src/kernel)
> libpari.so       (the rest)
> > and request that executables (in particular gp) be linked with -lparikernel
> -lpari.

This does not solve the problems with Math::Pari: its build needs to
produce a DLL, not an "executable".  Somehow, I did not see error
reports related to this; are contemporary linkers smart enough to
recognize that some .o files are not relocatable, so they produce
non-shared DLLs?


The link below gives some insight into porting and shared libraries on darwin/Mac OS X. Note that ".so" is not used for shared librares; instead, they are known as ".dylib"s. Also, as I think was clarified in this thread, dlopen() and friends are not part of darwin, and although there is a port available, it's not actively being supported or (AFAIK) used.




Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   When LuteFisk is outlawed
                                       |   Only outlaws will have
                                       |       LuteFisk