Bug 84446 - SRPMS: build_script.sh/call_configure violates LD_LIBRARY_PATH
SRPMS: build_script.sh/call_configure violates LD_LIBRARY_PATH
Product: Red Hat Linux
Classification: Retired
Component: qt (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-02-17 08:09 EST by Sysoltsev Slawa
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-18 04:39:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch which changes build_script.sh not to violate LD_LIBRARY_PATH but add to it (497 bytes, patch)
2003-02-17 08:15 EST, Sysoltsev Slawa
no flags Details | Diff

  None (edit)
Description Sysoltsev Slawa 2003-02-17 08:09:42 EST
Description of problem:
I trie to build qt from sources
Used call_configure function from build_script.sh resets LD_LIBRARY_PATH with 
own value. But this can hurt non-standart system functioning that uses 
LD_LIBRARY_PATH to point for some needed libraries (for example custom 
compiler, or some checkers, wrappers, etc). With voilating LD_LIBRARY_PATH 
system might stop functioning properly and build of qt shall fail. So got I. I use 
LD_LIBRARY_PATH for pointing on compiler libraries therefore with resetting 
LD_LIBRARY_PATH by call_configure my compiler stops working. Please change 
build_script.sh not to overwrite LD_LIBRARY_PATH but add to it, that would only 
increase Red Hat Linux portability.
I'll attach the patch which does this change.

Version-Release number of selected component (if applicable):

How reproducible:
always on LD_LIBRARY_PATH dependent system

Steps to Reproduce:
1. I am unsure you will get that error, but you may try to build qt by custom C/C++ 
compiler, for example by elder version of gcc, installing it to local directory with 
using LD_LIBRARY_PATH for pointing the path where its libraries lies. Or you 
may use Intel C/C++ compile for that, as I know it uses LD_LIBRARY_PATH.
Actual results:
Configuration error as compiler cannot work in changed environment

Expected results:
Succesfully built qt.

Additional info:
Comment 1 Sysoltsev Slawa 2003-02-17 08:15:48 EST
Created attachment 90125 [details]
Patch which changes build_script.sh not to violate LD_LIBRARY_PATH but add to it
Comment 2 Ngo Than 2003-02-18 04:39:22 EST
the qt-3.1.1-7 should has this fix. Thanks 

Note You need to log in before you can comment on or make changes to this bug.