bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

update gettext to handle expat-2.0.0


From: Mike Frysinger
Subject: update gettext to handle expat-2.0.0
Date: Sun, 2 Apr 2006 17:41:42 -0400
User-agent: KMail/1.9.1

i'm not sure if this has been discussed at all as i cant seem to find any 
mailing list archives for this list ...

expat-2.0.0 was released recently and this version changed ABI #'s ... so it 
now installs as libexpat.so.1 instead of libexpat.so.1

the trouble is the x-glade.c file tries to dlopen "libexpat.so.0" which will 
obviously fail on systems that only have expat-2.0.0 ... would it be safe to 
change the code to just dlopen("libexpat.so") or should it be changed to read 
something like:
void *handle = dlopen ("libexpat.so.1", RTLD_LAZY);
if (handle == NULL)
        handle = dlopen ("libexpat.so.0", RTLD_LAZY);
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]