Ups, ctrl+enter sent the mail :P
I am using ubuntu 15.10, I am setting GNUstep.sh to be sourced on /etc/profile.d/gnustep.sh
When I open a terminal on X and try to gopen I get an error:
gopen: error while loading shared libraries: libgnustep-gui.so.0.24: cannot open shared object file: No such file or directory
Upon more investigation I see, the GNUstep enviroment is set but not the LD_LIBRARY_PATH.
$ env | grep gnustep
DEFAULTS_PATH=/usr/share/gconf/gnustep.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnustep:/etc/xdg
DESKTOP_SESSION=gnustep
MANDATORY_PATH=/usr/share/gconf/gnustep.mandatory.path
GDMSESSION=gnustep
XDG_SESSION_DESKTOP=gnustep
XDG_DATA_DIRS=/usr/share/gnustep:/usr/share/gnome:/usr/local/share/:/usr/share/
$ env | grep GNUSTEP
GNUSTEP_IS_FLATTENED=yes
GNUSTEP_LOCAL_ROOT=/Local
GNUSTEP_HOST=x86_64-unknown-linux-gnu
GNUSTEP_MAKEFILES=/System/Library/Makefiles
GNUSTEP_NETWORK_ROOT=/Network
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST_OS=linux-gnu
GNUSTEP_HOST_VENDOR=unknown
GNUSTEP_HOST_CPU=x86_64
GNUSTEP_USER_ROOT=/home/luis/GNUstep
GNUSTEP_SYSTEM_ROOT=/System
GNUSTEP_PATHLIST=/System:/Network:/Local:/home/luis/GNUstep
I think this is a bug, any ideas?
if I run . /System/Library/Makefiles/GNUstep.sh from the command line then is set correctly.
is there a difference on the profile enviroment that would prevent LD_LIBRARY_PATH to be set?