[Top][All Lists]

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

Re: Library not found

From: Andrew Ruder
Subject: Re: Library not found
Date: Mon, 24 Feb 2003 11:21:03 -0600
User-agent: Mutt/1.4i

On Mon, Feb 24, 2003 at 10:56:16AM +0100, Sebastien Pierre wrote:
> >> !find
> find /usr/GNUstep -name "libPira*"
> /usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/
> /usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/
> /usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu/
> Any ideas ?

Actually, I have two ideas.  First of all, the
/usr/GNUstep/System/Makefiles/ script must be ran
in every instance of the shell.  This is because the LD_LIBRARY_PATH
is not inherited.  So... you need to put the line
. /usr/GNUstep/System/Makefiles/
into your $HOME/.bashrc file, NOT your $HOME/.bash_profile file

Now, if you are using zsh you have other problems.  Zsh handles
splitting a little bit differently than bash, so you can either
edit the script:

cd /usr/GNUstep/System/Makefiles
cp GNUstep.zsh
cp ld_lib_path.zsh

open GNUstep.zsh
On line 226 change
. $GNUSTEP_MAKEFILES/ld_lib_path.zsh

open ld_lib_path.zsh
On line 43 change
for dir in $GNUSTEP_PATHLIST; do
for dir in ${=GNUSTEP_PATHLIST}; do

then make sure you source the right file in .zshrc

Or, if you're like me, you get sick of updating the shell files, and you 
simply put a line like


in your .zshrc file after you source the file.

-OR- you can bypass this all, load the script only at login, and put the
directories into your /etc/ file (and make sure to run
ldconfig as root!)

Hopefully that gets you all set up to get GNUstep working,
Andy Ruder

reply via email to

[Prev in Thread] Current Thread [Next in Thread]