Conflict between two libglib-2.0.so



Hello,

I'm using perl/Gtk2 package under Sun Solaris 8 OS and I have a problem when running perl/gtk2 app when Sun Gnome package are installed on a workstation.

If the Gnome package is not installed, perl/Gtk2 is finding the glib-2.0/gtk-2.0 libs (.so) in some path (/apa/free2/SunOS/5.8/lib) and these libs are the libs used when compiling/installing the perl/Gtk2 package and my app is running fine.

Unfortunately, on some workstations, the glib/gtk libs are also present in /usr/lib (coming from Sun Gnome pacakge) and they are not as up-to-date as the one in /apa/free2/... BUT they are used first by ld.so when running perl.

I have tried silly things in my perl app like this but without success:

BEGIN { $ENV{LD_LIBRARY_PATH} = "/apa/free2/SunOS/5.8/lib:".$ENV{LD_LIBRARY_PATH} }

I thought the line above would help perl using the /apa/free2/.. link path before the /usr/lib but it didn't work.

Any ideas ?

Laurent.



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