opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cyrus-devel@lists.andrew.cmu.edu 9 June 2012 • 5:22AM -0400

Re: Libtool and Support for Shared Libraries (3)
by Carson Gaspar

REPLY TO AUTHOR
 
REPLY TO GROUP




[ Much perl tsuris elided ]

Folks keep talking about linking a static libfoo.a into a dynamic
libbar.so. This MUST NOT HAPPEN. Linking non-PIC code into a shared
object will fail in unpredictable ways. It may _appear_ to work, but it
really won't. The Solaris linker will usually scream bloody murder and
error out. Linux/gnu ld tend to fail to enforce this, and leave the
errors for runtime.

The libtool non-static convenience lib stuff sounds like it does the
right thing, but I haven't looked at it to be sure.

If I have some time this weekend, I'll try building the dev/libtool
branch and provide more feedback, as I install every package into it's
own tree, so I will trigger any missing RPATH issues.

--
Carson


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.