Re: OpenMPI 5 sets RUNPATH (in gyoto)
On 07/12/2024 15:26, Thibaut Paumard wrote:
Hi,
Since OpenMPI 5 has been introduced, I get lintian errors in Gyoto in
the form:
E: gyoto-bin: custom-library-search-path RUNPATH
/usr/lib/x86_64-linux-gnu/openmpi/lib [usr/bin/gyoto-mpi-worker.9]
N:
N: The binary or shared library sets RPATH or RUNPATH. This
overrides the
N: normal library search path, possibly interfering with local
policy and
N: causing problems for multilib, among other issues.
N
Is this on purpose? Should I (several choices possible):
1- change something in the way I build Gyoto;
2- add a lintian override;
3- remove the RUNPATH with chrpath;
4- file a bug against lintian;
5- file a bug against openmpi5?
I'm investigating why RUNPATHs are being added.
The actual libraries for mpich, openmpi are in $libdir/
(/usr/lib/$multiarch), with symlinks from $libdir/$mpi/$lib. So its safe
to do (3), remove the RUNPATH with chrpath. But gyoto etc shouldn't be
adding these RUNPATHs.
Best regards, Thibaut.
Regards
Alastair
--
Alastair McKinstry,
GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5
e: alastair@mckinstry.ie, im: @alastair:mckinstry.ie @amckinstry@mastodon.ie
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
believing the innocent had everything to fear, mostly from the guilty but in the longer term
even more from those who say things like “The innocent have nothing to fear.”
- T. Pratchett, Snuff
Reply to: