discuss-gnustep
[Top][All Lists]
Advanced

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

Re: how to link with gcc-3.0.1?


From: Adam Fedor
Subject: Re: how to link with gcc-3.0.1?
Date: Mon, 15 Oct 2001 09:33:18 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20010915

pauljohn@ukans.edu wrote:

On RedHat linux 7.1, with gcc-3.0.1 (built here!) I am able to
compile gnustep-make-1.0.1 and gnustep-base-1.0.2.tar.gz.

I can compile some apps, such as Autodoc. However, when I try to
run programs, I get the error that it cannot find libobjc.so.1. I do have that file in /usr/local/lib/gcc-lib/i386-redhat-linux/3.0.1.
It seems to me as though the environment command:
. /usr/local/GNUstep/System/Makefiles/GNUstep.sh
somehow breaks the LD_LIBRARY_PATH.



GNUstep.sh doesn't know to include usr/local/lib/gcc-lib/i386-redhat-linux/3.0.1

in the LD_LIBRARY_PATH, and in fact, it can't, because some smarter distributions of gcc 3.0.x actually put libobjc.so in /usr/local/lib and symlink to the above path. I haven't figured out a test that's smart enough to figure this out, so for now you have to do it by hand (probably good to just add this to your /etc/ld.so.conf file.)


--
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
fedor@doc.com  http://www.doc.com     | something hard enough, and it
fedor@gnu.org  http://www.gnustep.org | will fall over.




reply via email to

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