rpath

Elan Ruusamäe glen at pld-linux.org
Mon Apr 24 21:21:16 CEST 2017


from where it may take such RPATH?

[~/rpm/packages/BUILD.x86_64-linux/ruby-2.3.3] ➔ x86_64-pld-linux-gcc 
-shared -o .ext/x86_64-linux/enc/trans/utf8_mac.so enc/trans/utf8_mac.o 
-L. -L. -L. -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro 
-Wl,-z,combreloc  -fstack-protector -rdynamic -Wl,-export-dynamic     
-Wl,-R -L -lruby -lpthread -lgmp -ldl -lcrypt -lm

[~/rpm/packages/BUILD.x86_64-linux/ruby-2.3.3] ➔ chrpath -l 
.ext/x86_64-linux/enc/trans/utf8_mac.so
.ext/x86_64-linux/enc/trans/utf8_mac.so: RPATH=--library=pthread


-- 
glen



More information about the pld-devel-en mailing list