Re: Writing shlibs for unversioned libraries
Am Sonntag 30 Dezember 2007 schrieb David Paleino:
> Il giorno Sun, 30 Dec 2007 12:48:33 +0100
> Michael Banck <firstname.lastname@example.org> ha scritto:
> > You could change the build system to make libgthumb.la a convenience
> > library (if it is using libtool), so that gthumb gets linked to it
> > statically and libgthumb.so does not get installed.
> I solved putting the .so into /usr/lib/gthumb/ and symlinking it from
> > Or does any other package use libgthumb.so? If not, I do not see the
> > point in installing it in /usr/lib, it looks like a (build-system)
> > implementation detail to me.
> Yes, but I was looking for the cleanest solution (instead of the symlink)
So either link statically or use an rpath to point to /usr/lib/gthumb. The
symlink in /usr/lib is actually the worst thing to do.