|
From: | Richard Frith-Macdonald |
Subject: | Re: Strange problem... |
Date: | Sat, 18 Oct 2003 14:16:26 +0100 |
On Saturday, October 18, 2003, at 01:51 PM, Martin Brecher wrote:
Dennis Leeuw wrote:Using gnustep make/base 1.8.0 and gnustep gui/back 0.9.0 I am running into a strange problem I can't figure our.Using the system as described in the Build Guide and starting applications I get:openapp Preferences.app/usr/GNUstep/System/Applications/Preferences.app/Preferences: error while loading shared libraries: libPrefsModule.so.1: cannot open shared object file: No such file or directoryand openapp GWorkspace/usr/GNUstep/System/Applications/GWorkspace.app/GWorkspace: error while loading shared libraries: libGWorkspace.so.1: cannot open shared object file: No such file or directoryResourcing GNUstep.sh solves the problem.GNUstep.sh sets up LD_LIBRARY_PATH to enable the linker to find the libraries that are otherwise missing when you invoke openapp. Thus, sourcing GNUstep.sh from your .bashrc is recommended to have everything in place when you open a new terminal window. If you want to run applications directly from Window Maker, it's advisable to also source GNUstep.sh from the Window Maker autostart script in ~/GNUstep/Library/WindowMaker.
It's possible that at some time long ago you (Dennis) set up your /etc/ld.so.conf file to list the directories normally in LD_LIBRARY_PATH, so you didn't need to set it from GNUstep.sh ... and it didn't occur to you to update /etc/ld.so.conf and rerun ldconfig when you updated to a version of GNUstep using flattened directory layout. I know that caught me out on a few machines.
[Prev in Thread] | Current Thread | [Next in Thread] |