Re: [gtk-list] Library Errors



"Pritchard, Kenneth" wrote:
> 
> 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:
add /usr/local/lib in /etc/ld.conf
then run ldconfig

it should do it.

I hope it can help

-- 
Ronan BOURLIER                                  http://www.radioss.com
Development Engineer                            email: ronan@radioss.com
Radioss Consulting Corp.                        phone: +1 (248) 357 0657



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