On Sat, 2004-04-17 at 23:43, Mark Ignacio wrote:
> Help. Im running on Red Hat 7.1 and I downloaded GTK 2.4
> Ive successfully installed GLIB but the other programs cant seem
> to find it. Ive tried editing ld.so.conf but it still doesnt work.

Hi,

If you manually compiled GLIB and GTK2.4 (and all its dependencies),
then you have to link your programs to your compiled glib/gtk2.4.

> 
> *** Could not run GLIB test program, checking why...
> *** The test program compiled, but did not run. This usually means
> *** that the run-time linker is not finding GLIB of finding the wrong
> *** version of GLIB. If it is not finding GLIB, youl'll need to set your
> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
> *** to the installed location

make sure you add glib/gtk2.4's path to LD_LIBRARY_PATH and the path to
their pkg-config files to PKG_CONFIG_PATH before you compile your apps

[me]% export LD_LIBRARY_PATH=path/to/lib:$LD_LIBRARY_PATH
[me]% export PKG_CONFIG_PATH=path/to/lib/pkconfig:$PKG_CONFIG_PATH

HTH.

Cheers,

-- 
Jan Alonzo <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to