Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=461757
--- Comment #11 from Andrew Cagney cagney@redhat.com 2008-09-22 12:27:17 EDT --- Thanks for the updated file!
(In reply to comment #10)
Created an attachment (id=317030)
--> (https://bugzilla.redhat.com/attachment.cgi?id=317030) [details]
modified SPEC file to solve rpmlint messages
Here is modified SPEC file for you to simplify your work. But still rpmlint gives message with this new release as libdwarf.i386: W: no-soname /usr/lib/libdwarf.so
Looking around I found a rule from another code base that uses:
.a.so: soname=`basename $@` ; \ $(CC) -shared -o $@.tmp \ -Wl,--whole-archive,$<,--no-whole-archive \ -Wl,--soname,$$soname,-z,-defs if readelf -d $@.tmp | fgrep -q TEXTREL; then exit 1; fi mv $@.tmp $@
to build the .so; note the --soname option passed to LD (via gcc's -Wl). I'm guessing I need to tweak things specify that; I'll check that out.
If its needed I'll also give the shared library a version number; might as well fix that as well.