Compile-time shared library name mismatching base name (SDL)

Miroslav Lichvar mlichvar at redhat.com
Thu Jul 4 16:14:06 UTC 2013


On Thu, Jul 04, 2013 at 05:39:02PM +0200, Florian Weimer wrote:
> On 07/04/2013 03:29 PM, Miroslav Lichvar wrote:
> >Perhaps the best option would be to rename the symlink and replace it
> >with a linker script containing just "INPUT(-lSDL-1.2)" to keep
> >ldconfig happy. This is how it's done in the ncurses-devel package for
> >libcurses.
> 
> Unless I'm missing something, this is fairly common (see the
> attachment).  Perhaps changing ldconfig is better?

I think there was a reason why ldconfig did it, but I'm not sure what
it was. You might want to ask the glibc maintainers.

> gpsd-libs-3.9-1.fc19.i686,/usr/lib/libgps.so.20.0,libgps.so.20
> gpsd-libs-3.9-1.fc19.i686,/usr/lib/libgpsd.so.21.0,libgpsd.so.21
> gpsd-libs-3.9-1.fc19.x86_64,/usr/lib64/libgps.so.20.0,libgps.so.20
> gpsd-libs-3.9-1.fc19.x86_64,/usr/lib64/libgpsd.so.21.0,libgpsd.so.21

These look good to me.

-- 
Miroslav Lichvar


More information about the devel mailing list