Van N. Sy wrote:
> I just installed gtk and compiled a simple program.
> I did not get any compile time errors but when I ran
> the executable I got this:
>
> error in loading shared libraries
> libgtk.so.1: cannot open shared object file: No such file or directory
>
> How do I tell my linker where to look for the gtk libraries.
The same way that you tell it to look for any other libraries.
Either:
a) add the directory where the library resides to /etc/ld.so.conf
and run `ldconfig', or
b) add the directory where the library resides to the environment
variable LD_LIBRARY_PATH, e.g.
export LD_LIBRARY_PATH=/usr/local/gtk/lib
or whatever.
--
Glynn Clements <[EMAIL PROTECTED]>