arb icon indicating copy to clipboard operation
arb copied to clipboard

The configure script sets rpath for external libraries

Open SnarkBoojum opened this issue 7 years ago • 3 comments

I tried to update my flint-arb package in Debian and was notified that it used rpath.

As far as I know, rpath is a way to point to internal sublibraries, and using it for external libraries means something might be wrong somewhere else : at build-time libs should be found using -L and at runtime, the linker should find the libraries without help.

It tried to compile flint-arb removing completely the offending line, and it worked, so are you sure you can't get rid of it?

SnarkBoojum avatar Jul 24 '18 17:07 SnarkBoojum

@videlec added this line

fredrik-johansson avatar Jul 24 '18 18:07 fredrik-johansson

Let's wait for his comment then : as far as I know that line can only have negative consequences.

SnarkBoojum avatar Jul 25 '18 08:07 SnarkBoojum

Notice that calcium removed this line without issues, and the Debian package is patched to remove it too, so perhaps it can go?

SnarkBoojum avatar Jul 14 '22 16:07 SnarkBoojum