]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
PAL14048: Fix linking problem on Mandriva 64-bit?
authorvsr <vsr@opencascade.com>
Tue, 9 Jan 2007 13:52:25 +0000 (13:52 +0000)
committervsr <vsr@opencascade.com>
Tue, 9 Jan 2007 13:52:25 +0000 (13:52 +0000)
config_files/common.sh

index ca95141800e29c3151756cf21f4de4f17c3f7bf6..51ae39af723f553b2b5cd0da9866772d9da6d997 100755 (executable)
@@ -307,7 +307,7 @@ sed -e 's%export\([[:blank:]]*\)LD_RUN_PATH=\$[{]\?LD_RUN_PATH[}]\?:\(.*\)%expor
 # Setting "/usr/X11R6/lib" path in LD_LIBRARY_PATH for the libGL.so.1 file
 if test `uname -m` = "x86_64" ; then
 echo '# Setting /usr/X11R6/lib64 path in LD_LIBRARY_PATH for the libGL.so.1 file' >> ${INSTALL_WORK}/_tmp2
-echo 'export LD_LIBRARY_PATH=/usr/X11R6/lib64:${LD_LIBRARY_PATH}' >> ${INSTALL_WORK}/_tmp2
+echo 'export LD_LIBRARY_PATH=/usr/X11R6/lib64:/usr/lib64:${LD_LIBRARY_PATH}' >> ${INSTALL_WORK}/_tmp2
 else
 echo '# Setting /usr/X11R6/lib path in LD_LIBRARY_PATH for the libGL.so.1 file' >> ${INSTALL_WORK}/_tmp2
 echo 'export LD_LIBRARY_PATH=/usr/X11R6/lib:${LD_LIBRARY_PATH}' >> ${INSTALL_WORK}/_tmp2