[Ffmpeg-devel] [patch] make SONAME encoding optional
Sun Dec 18 14:41:54 CET 2005
Luca Barbato <lu_zero at gentoo.org> writes:
> Jacob Meuser wrote:
>> SONAME is generally thought of as uncecessary complication by
>> OpenBSD devs.
> I don't like it...
>> $ find /usr/lib -name \*.so\* | wc -l
>> $ find /usr/lib -name \*.so\* | xargs readelf -a | grep SONAME
>> 0x000000000000000e (SONAME) Library soname: [libstdc++.so.40.0]
>> $ I'm not sure why libstdc++ has SONAME as opposed to the other
>> system libs.
> Say that is the only thing that may be slotted or that changes its abi
> for sure, thus breaking your system horribly on mismatch, even
>> also, libtool does not encode SONAME on OpenBSD.
> interesting and sad.
libtool is just weird.
>> no symlinks for libfoo.so -> libfoo.so.X.X either.
>> so, it's very clean and easy to see what's going on. also makes it
>> easy to have multiple library versions, since there won't be any
>> filename clash; you can only have one libfoo.so.
> so you have to link using .so.$version or the linker has to iterate
> for each file that match the name within the libdirs and pick the best
FreeBSD has libfoo.so.X and a libfoo.so symlink. SONAME is set to
libfoo.so.X. In other words, they have only major versions of libs.
mru at inprovide.com
More information about the ffmpeg-devel