Re: problem with mock, builds only static library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat 16-Aug-2008 at 23:30 +0100, Bruno Postle wrote:
I'm looking at packaging TinySVM for fedora and I have a src.rpm that builds fine with rpmbuild:

http://bugbear.postle.net/~bruno/apt/fedora/linux/9/x86_64/SRPMS.panorama/TinySVM-0.09-1.fc9.src.rpm

I still have this problem, I forgot to link to the .spec file before:

http://bugbear.postle.net/~bruno/apt/SPECS/TinySVM.spec

..except that when I build in mock, all I get is a static library and no dynamic libraries. The error message is:

*** Warning: This library needs some functionality provided by -lm.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

This doesn't make sense, the root seems to have everything needed. What am I missing?

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux