alishapapun / 389-admin

Forked from 389-admin 4 years ago
Clone

38e54f4 Resolves: bug 304081

Authored and Committed by rmeggins 16 years ago
    Resolves: bug 304081
    Bug Description: Admin server cgi binaries are being built incorrectly with an rpath of /usr/lib64
    Reviewed by: mlum (Thanks!)
    Fix Description: libtool, in its nearly infinite wisdom, appends -rpath $libdir to each executable, and there is apparently no standard way to disable this behavior.  Since RPATH overrides LD_LIBRARY_PATH on ELF systems, you are stuck if you have an old version of nss/nspr installed in $libdir but you want to use a different version at runtime.  So, the solution is to whip out my scalpel and excise the offending code from the libtool which is generated by configure.  There is precedent for this in the code already, to accommodate the "broken" libtool on rhel/fedora platforms.
    Platforms tested: RHEL4 x86_64, RHEL5 x86_64
    Flag Day: no
    Doc impact: no
    QA impact: should be covered by regular nightly and manual testing
    New Tests integrated into TET: none
    
        
file modified
+1 -0
file modified
+28 -6
file modified
+184 -53
file modified
+21 -0