About gtk library versions and dlopen()

Alexander Nedotsukov bland at FreeBSD.org
Tue Sep 27 23:28:38 PDT 2005


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?
...
> Excellent. Out of curiosity, in the current scheme of things, how can 
> I dlopen() a libfoo.so.0 and get the existing libfoo.so.600 loaded? Do 
> I need something other than RTLD_LAZY?
You can not do that. And normally you do not want to. If all you need is 
just a most recent libfoo version than try dlopen() libfoo.so symbolic link.
BTW I have eclipse + GNOME 2.12 running w/o problems you referring to.

All the best,
Alexander.



More information about the freebsd-gnome mailing list