Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231352 - dev-libs/iniparser-3.0b: shared library symlinks are incomplete
Summary: dev-libs/iniparser-3.0b: shared library symlinks are incomplete
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 21:54 UTC by Andreas Baer
Modified: 2008-08-15 15:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Baer 2008-07-09 21:54:22 UTC
ebuild installs

/usr/lib/libiniparser.a
/usr/lib/libiniparser.so.0

but usually there should be something like:

/usr/lib/libiniparser.a
/usr/lib/libiniparser.so -> libiniparser.so.0.X.X
/usr/lib/libiniparser.so.0 -> libiniparser.so.0.X.X
/usr/lib/libiniparser.so.0.X.X  (maybe .0.3.0 ?)


Reproducible: Always

Steps to Reproduce:
1. emerge iniparser

Actual Results:  
/usr/lib/libiniparser.a
/usr/lib/libiniparser.so.0


Expected Results:  
/usr/lib/libiniparser.a
/usr/lib/libiniparser.so -> libiniparser.so.0.X.X
/usr/lib/libiniparser.so.0 -> libiniparser.so.0.X.X
/usr/lib/libiniparser.so.0.X.X  (maybe .0.3.0 ?)
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-09 23:27:05 UTC
This is a convention, not a requirement. Nowadays it's good practice to keep a global version symbol in the library.

Assigning never the lass, just in case...
Comment 2 Andreas Baer 2008-07-10 21:18:17 UTC
(In reply to comment #1)
> This is a convention, not a requirement. Nowadays it's good practice to keep a
> global version symbol in the library.
> 
> Assigning never the lass, just in case...
> 

I know that this is not a _real_ requirement, but a very useful convention.

I don't know much about how to set/use a 'global version symbol' in a dynamic library, but if I compile a program which tries to dynamically link against libiniparser I usually use a gcc-option like '-liniparser'. So what happens here is that gcc searches for libiniparser.so, which is apparently not available, then it simply takes the static libiniparser.a _without_ any warn message and that's it, not really what I wanted to achieve.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-08-15 15:47:04 UTC
Done without rev.bump.