No soname on generated shared lib - Fedora rpm package

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
mrceresa
Posts: 1
Joined: Mon, 2010-03-22, 13:36

No soname on generated shared lib - Fedora rpm package

#1 Post by mrceresa »

Hello everybody,
first of all thanks a lot for dcmtk which is a very impressive software.

I'm one of the package mantainer of Fedora and I'm trying to package dcmtk as an rpm. You can see the review progress here:

https://bugzilla.redhat.com/show_bug.cgi?id=dcmtk

I used the following patch on the original source tree:

http://mrceresa.fedorapeople.org/dcmtk- ... ared.patch

to generate the shared libs. This is a requisite for packaging the software into Fedora. I found that the generated libs lack a proper soname.

I'd like to fix it, but I have to say that I know very little of autoconf (I use mainly cmake) and I don't know the proper spell to add the version information.

I tried putting:

LDFLAGS=-version-info 3:5:4

into config/Makefile.def.in
and then reconfiguring, but it didn't work.

Any help would be very appreciated.

Thanks and regards,

Mario

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

I'm also not an expert on this kind of things but maybe the following reference helps: http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html (search for "soname").

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest