Hi, 

My environment:
- GCC 4.9 is installed in a non-standard way. (can’t change this) and uses the  
LD_LIBRARY_PATH to run/compile correctly

Mesos executables have the  /usr/lib64 path in their RPATHs. 
The problem is that the default libstdc++ (in /usr/lib64) is now used instead 
of the libstdc++ with which Mesos was compiled. Multiple errors happen, like:
        /somepath/sbin/mesos-slave: /usr/lib64/libstdc++.so.6: version 
`GLIBCXX_3.4.14' not found (required by /somepath/sbin/mesos-slave)

Does Mesos have an option during configure to disable RPATHs attached to 
executables? In my environment  RPATHs are not helping and I’ve already seen 
that removing  the RPATHs (using chrpath) after installing remedies my 
situation.
  Or,
is there a way to change the RPATH settings such that the LD_LIBRARY_PATH paths 
are incorporated inside the RPATHs of executables, in front of the default 
/usr/lib64/ — frankly, why is libtool adding this standard location anyway?

Regards,

Hans



Reply via email to