[Bug 573910] Review Request: dcmtk - Offis DICOM Toolkit

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 19 23:59:31 UTC 2010


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=573910

--- Comment #13 from Mario Ceresa <mrceresa at gmail.com> 2010-11-19 18:59:29 EST ---
Hello Andreas,

Ok I'll step in! In the new srpm to put the soname I remove:

$(library): $(objs)
 $(AR) $(ARFLAGS) $@ $(objs)
 $(RANLIB) $@

 from the Makefile of the libs  and add

$(library): $(objs)
 soname=`basename $@`.0 ; \
 $(CC) -shared -o $@.tmp \
  -Wl,--whole-archive,$<,--no-whole-archive \
  -Wl,--soname,$$soname,-z,-defs $(objs)
 if readelf -d $@.tmp | fgrep -q TEXTREL; then exit 1; fi
 mv $@.tmp $@ ; ln $@ $@.0

but the produced libs lacks some symbols and the linking of further files
fails.
Unfortunately my knowledge of autotools is so poor that I don't really know
where to go on from know...

Any ideas?

Mario

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list