Issue 96

Summary: Incomplete LD_LIBRARY_PATH in LinuxIntelEnv.Set
Product: Build Tools Reporter: issues@www <issues>
Component: codeAssignee: Unknown <non-migrated>
Status: CLOSED FIXED QA Contact: issues@www <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 609   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description issues@www 2000-11-06 03:00:09 UTC
The generated LinuxIntelEnv.Set does not include the library directory for gcc
in the LD_LIBRARY_PATH causing the bootstrap to die with the error:

_mkout: error in loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open
shared object file: No such file or directory

Manually adding (in my case) /usr/local/gcc-2.95.2/lib to the LD_LIBRARY_PATH
line in LinuxIntelEnv.Set fixed the problem.

I would assume that the correct way to fix this is to have the configure script
do something with the $with_gcc_home to get it into the set_soenv script which
finally writes the LD_LIBRARY_PATH line to the LinuxIntelEnv.Set file.
Comment 1 oisinboydell 2000-11-07 11:40:52 UTC
LD_LIBRARY_PATH was not being set for Linux due to the line in set_soenv.1:

elsif (($platform eq "$Linux") && ($platform eq "$FreeBSD"))

which should have been:

elsif (($platform eq "$Linux") || ($platform eq "$FreeBSD")).

This is now fixed (CVS revision 1.25) in set_soenv.1

Comment 2 michael.bemmer 2003-03-16 20:09:44 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.
Comment 3 michael.bemmer 2003-03-16 20:13:28 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.