Library Errors



Hello all. I am getting the following error when I try to run a program that
compiled:

[ken@acerlinux XDS]$ testxds
testxds: error in loading shared libraries
libgtk-1.2.so.0: cannot open shared object file: No such file or directory



I just downloaded and installed the latest libraries. The program would not
compile at first without them. This is the output of gtk-config:

[ken@acerlinux XDS]$ gtk-config --libs
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXext -lX11 -lm



And the library that it can't find is in /usr/local/lib:

[ken@acerlinux lib]$ pwd
/usr/local/lib
[ken@acerlinux lib]$ ls
glib                     libglib.la               libgthread.a
libgdk-1.2.so.0          libglib.so               libgthread.la
libgdk-1.2.so.0.2.1      libgmodule-1.2.so.0      libgthread.so
libgdk.a                 libgmodule-1.2.so.0.0.3  libgtk-1.2.so.0
libgdk.la                libgmodule.a             libgtk-1.2.so.0.2.1
libgdk.so                libgmodule.la            libgtk.a
libglib-1.2.so.0         libgmodule.so            libgtk.la
libglib-1.2.so.0.0.3     libgthread-1.2.so.0      libgtk.so
libglib.a                libgthread-1.2.so.0.0.3


What am I doing wrong or not doing? Thanks for your help.

Ken



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