https://bugzilla.rpmfusion.org/show_bug.cgi?id=2150
--- Comment #17 from Miloš Komarčević <kmilos(a)gmail.com> 2012-02-18 01:05:38 CET
---
SPEC:
http://kmilos.fedorapeople.org/geom.spec
SRPM:
http://kmilos.fedorapeople.org/geom-6.3.1.8-5.svn222.fc16.src.rpm
(In reply to comment #16)
The first is "undefined-non-weak-symbol" which rpmlint
describes as:
$ rpmlint -I undefined-non-weak-symbol
undefined-non-weak-symbol:
The binary contains undefined non-weak symbols. This may indicate improper
linkage; check that the binary has been linked as expected.
Basically, it has symbols for libraries it's not linked to.
Ok, managed to find a few missing, but the majority is still there. The symbols
seem to come from the GEOM libs themselves - no idea how to handle this, help
appreciated.
The other, easier one, is:
"unused-direct-shlib-dependency"
The most direct method is to add "-Wl,--as-needed" to your linker flags, a la:
LDFLAGS="-Wl,--as-needed";export LDFLAGS
just before your cmake command.
Had this in already from your SMESH spec file.
--
Configure bugmail:
https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.