Re: Re: LD_LIBRARY_PATH not set



Hi,

Ivan Noris wrote:

Hi,

gnome starts with no problems. starting some applications like eog (Eye of Gnome; Image Viewer) do not work because the LD_LIBRARY_PATH is not set. I can only start eog if I set the environment variable in the console. Setting LD_LIBRARY_PATH in .bashrc, .profile does not help. I still cannot start eog.
Setting LD_LIBRARY_PATH in /etc/profile does not help too :-(

You need to set LD_LIBRARY_PATH in garnome-session script (which runs
"gnome-session" later).

See README file, there is an example, which works fine. It sets all
variables you would need.

regards,
VIX
my script which is started at runlevel 2 looks like this. it starts gdm.

#########
#!/bin/bash
GARNOME=/opt/GARNOME
PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.2/site-package
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1
export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
echo "Starting GDM..."
/opt/GARNOME/bin/gdm

#########

It still doesn't work

Bye
Phong




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