On Fri, 13 May 2011, Francesco P. Lovergine wrote: > On Fri, May 13, 2011 at 09:24:13AM +0200, Raphael Hertzog wrote: > > There is an important difference though: > > $ dpkg-buildflags --get LDFLAGS > > > > $ DEB_VENDOR=ubuntu dpkg-buildflags --get LDFLAGS > > -Wl,-Bsymbolic-functions > > > > libgdal should be built with this linker option so that > > it always uses the local copy of the geotiff functions > > and not the one provided by the external library. > > Is this a (less flexible) alternative to specify a version script?
It's just a linker option (see man ld): -Bsymbolic When creating a shared library, bind references to global symbols to the definition within the shared library, if any. Normally, it is possible for a program linked against a shared library to override the definition within the shared library. This option is only meaningful on ELF platforms which support shared libraries. -Bsymbolic-functions When creating a shared library, bind references to global function symbols to the definition within the shared library, if any. This option is only meaningful on ELF platforms which support shared libraries. It doesn't change the version associated to the symbols AFAIK. Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org