Issue 96 - Incomplete LD_LIBRARY_PATH in LinuxIntelEnv.Set
Summary: Incomplete LD_LIBRARY_PATH in LinuxIntelEnv.Set
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 609
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-06 03:00 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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.