Red Hat Bugzilla – Bug 174261
popt must not include .la file or be split in popt and popt-devel
Last modified: 2011-09-21 13:25:48 EDT
I hit a build problem on x86_64 with some sw I'm trying to package. The real
problem is in the sw but I noticed that the popt.i386 package also installs
libpopt.a libpopt.la and libpopt.so which are ofcourse completly unneeded on a
multilib system where this package is not of the primary lib arch.
Also isn't shipping .la files concidered not done/wanted in Fedora lately?
Further research has learned that the real problem is actually in the popt
package. If libtool sees a .la file in both /usr/lib and /usr/lib64 it does
When libtool gets passed -lpopt on a link command it passes /usr/lib/libpopt.so
to gcc which of course is wrong on x86_64, it should be /usr/lib64/libpopt.so,
or preferably just -lpopt
Removing the .la file from /usr/lib fixes things for me. Luckily the buildsystem
doesn't have this kinda troubles, still this needs fixing.
Since a split would only save a few bytes I think that dropping the .la file
Changed spec file to %exclude, will be pulled in when the next build of RPM for
rawhide is done.
After rpm update I still see that files like librpm.la are having depedency on
lipopt.la. Those should be also removed or excluded.
Glad to see the .la files finally removed, despite my report asking for the same
thing (bug #145978) was marked WONTFIX.
*** Bug 145978 has been marked as a duplicate of this bug. ***
kdebase-4.6.5-2.fc14 has been submitted as an update for Fedora 14.
(sorry about the typo'd bodhi spam)