Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] Shlib Policy Name Error
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Fri, 13 Feb 2009 09:27:38 +0100
  • Message-id: <49953D0A0200002900010859@xxxxxxxxxxxxxxxxxxx>
On 2/13/2009 at 12:10 AM, "Sascha 'saigkill' Manns"
<samannsml@xxxxxxxxxxxxx>
wrote:
Hi List,

i've got an RPMLint Error:

tinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0
Your package contains a single shared library but is not named after its
SONAME.

I searched the Log, and i've seen:
+ g++ -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-
unwind-tables -shared -o libtinyxml.so.0.2.5.3 -Wl,-
soname,libtinyxml.so.0 tinystr.cpp.o tinyxml.cpp.o tinyxmlerror.cpp.o
tinyxmlparser.cpp.o

Here i find the Place, and i see, that the Function build with -
soname,libtinyxml.so.0


Your package is called tinyxml. It contains a lib libtinyxml.so.0, which (in
case the soname is properly set, which I assume her) leads to a correct
packagename of libtinyxml0

You need to name your package / subpackage accordingly and the Lint error will
disappear.

Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >