glib 2.x == glib2 2.x?

Auke Kok sofar at lunar-linux.org
Wed Aug 31 17:27:16 CEST 2005


Lonni J Friedman wrote:

>On Wed, 31 Aug 2005, Joel Merrick wrote:
>  
>
>>Hi all,
>>
>>Just wondering if glib2 and glib are the same thing.
>>    
>>
>
>they are different versions of the same library.  They are *not*
>interchangable.  If an application requires glib2, you can't use glib.
>

that's poorly worded: glib and glib2 can live happily together and are
available on pretty much any distribution because they are so
widespread. The application itself is specifically linked (designed) to
work only with ONE of the glib libraries.

Since the glib libraries provide the same functionality (basically,
terribly generalized), application developers _choose_ to link their
application against one of them. You cannot change that choice later as
a normal application user.

Hence the confusion: same name and same functionality, and they can even
be installed at the same time (and are, often).

sofar




More information about the Xfce mailing list