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/Ti...
..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?
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/Ti...
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?
Bruno Postle wrote:
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/Ti...
I still have this problem, I forgot to link to the .spec file before:
The "-rpath /usr/lib64" on the libtool link line is the problem. Also, it's compiling with '-O9 -funroll-all-loops', which is scary.
packaging@lists.fedoraproject.org