[Gmsh] rpath with local settings

William F Mitchell william.mitchell at nist.gov
Fri Mar 16 16:22:09 CET 2012


I am running Gmsh 2.5.0 on a Linux machine, installed from the binary distribution.

My sysadmin noticed my machine had automount failures for /home/geuzaine/src. 
Using strace we found many messages of the form
open("/home/geuzaine/src/petsc-3.0.0-p7/umfpack-cxx-opt/lib/i686/sse2/libGL.so.1", 
O_RDONLY) = -1 ENOENT (No such file or directory)
and
stat64("/home/geuzaine/src/petsc-3.0.0-p7/umfpack-cxx-opt/lib/i686/sse2", 
0xffde7930) = -1 ENOENT (No such file or directory)

chrpath --list gmsh (where gmsh is the executable) gives
gmsh: RPATH=/home/geuzaine/src/petsc-3.0.0-p7/umfpack-cxx-opt/lib

My sysadmin says "For a distributed binary, he should not use localized RPATH 
settings."

Regards,
Bill

-- 
William F. Mitchell
Applied and Computational Mathematics Division
National Institute of Standards and Technology
william.mitchell at nist.gov     http://math.nist.gov/~WMitchell