On Sun, Dec 30, 2007 at 09:27:31AM -0500, Sam Varshavchik wrote:
Axel Thimm writes:
It looks like some libs are not being installed,
e.g. libunicode. Building it statically works, but for certain
distributions like Fedora (where I'm trying to import this package)
the builds need to be shared.
Can someone help to fix this? Thanks!
These small component libraries are intended to be statically linked. They
are built as libtool convenience libraries (noinst_LTLIBRARIES), and since
they have no installation rpath (because they're noinst), libtool won't
include them when linking shared libraries.
If you really insist on having them as separate, shared libraries, you will
have to patch their individual makefiles, declare them as lib_LTLIBRARIES,
and rebuild automake. Then, it will work. But, I wouldn't recommend it.
These convenience libraries are very small, and there's a handful of them.
Installing them as separate shared libraries just pollutes libdir even
more.
Actually I don't insist - I was just fooled a bit by the
--enable-shared option that is available. I will just go static. ;)