[Pkg-openldap-devel] Package status

Steve Langasek vorlon at debian.org
Wed Jun 6 10:46:13 UTC 2007


On Tue, Jun 05, 2007 at 09:12:19PM -0700, Russ Allbery wrote:
> Steve Langasek <vorlon at debian.org> writes:

> > Uh... by imagining really, really hard?  I can't find anything that
> > supports it, so I must have been misremembering the capabilities of
> > -export-symbols.

> > FWIW, if using -export-symbols was already an option (which doesn't seem
> > a bad idea to me), since the $libname.ver files are generated by
> > configure, they could be postprocessed to insert the symbol
> > version... :)

> The problem with -export-symbols is that, as I understand it, it does some
> weird symbol hiding thing that doesn't actually support symbol versioning
> and you can't use it to do that because it doesn't use the same linker
> option.  But I could be wrong and would need to experiment with it.

Actually, what -export-symbols does for Linux, *BSD, and Solaris is to
generate a version script specifying which symbols should be global.

Turning that into a full version script with versioned symbols is a single
sed command, basically. :)

On other platforms it passes it differently; but I don't know how to do
versioned symbols on any other platforms anyway...

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/



More information about the Pkg-openldap-devel mailing list