About gtk library versions and dlopen()
Joe Marcus Clarke
marcus at marcuscom.com
Tue Sep 27 00:23:02 PDT 2005
On Tue, 2005-09-27 at 10:17 +0300, Panagiotis Astithas wrote:
> I see that in the marcuscom repository the gtk libraries have a version
> of 0 (libgtk-x11-2.0.so.0), whereas the current stable port has a
> version of 600 (libgtk-x11-2.0.so.600). Could someone please explain the
> logic behind the gtk library versioning and whether the committed gnome
> 2.12 will keep the 0 versions?
The .0 versions are more inline with Linux's versions. Jean-Yves
devised a libtool hack to restore "proper" library versioning, so we
will keep these .0 versions for as long as the Linux guys do.
> The main issue I'm trying to solve is whether we can dlopen a shared
> library on FreeBSD by specifying a version number of 0 and let the
> dynamic linker load the version that is currently installed. It seems
> that Eclipse on Linux and other Unix systems does this and they claim we
> have a weird linker.
Yes, we can. However, in the past we had versions that changed with
each minor release. Now we are trying to be more consistent with other
platforms so things like dlopen'ing libraries will work out-of-the-box.
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050927/93031e15/attachment.bin
More information about the freebsd-gnome