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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]