[Nelug] An Easy One for someone

Martin Ward Martin.Ward at durham.ac.uk
Wed Nov 20 16:49:02 UTC 2002


> Hi, all.
> For me, being a novice, I've got a small problem:
> 
> Two PCs one 1800+ Athlon, one 1600+ Acer Laptop.
> Both essentially the same running Mandrake 8.2
> 
> I have a program (my_proggie) which compiles fine on both PCs.
> When I type "./my_proggie" on the 1800+ it runs fine.
> On the 1600+ Acer I get...
> "./my_proggie: error while loading shared libraries: libwx-gtk-2.2.so
> can't find file or directory"
> I have examined the setup on both machines and can't find a difference,
> the $PATH variables are the same, GTK libraries,etc., are essentially 
> mirrored.
> ../usr/local/lib/libwx-gtk-2.2.so   exists on both machines.
> 
> I guess that a search path is missing but I haven't the foggiest where.

Check the LD_LIBRARY_PATH environment variable on both machines:

echo $LD_LIBRARY_PATH

Also check /etc/ld.so.conf

See "man ld.so" for more information on loading shared libraries.

			Martin

Martin.Ward at durham.ac.uk http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/






More information about the Nelug mailing list