id summary reporter owner description type status priority milestone component version resolution keywords cc 870 Bogus RPATH and pc file for libfactory arojas@… somebody "In 4.2.0, libfactory gets compiled with a bogus rpath '/opt/local/lib' (I'm compiling with --prefix=/usr). Moreover, this wrong path is also included in the pc file, so applications compiled against it also get a wrong RPATH {{{ > cat /usr/lib/pkgconfig/factory.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: factory Description: The Singular factorization library Version: 4.2.0 URL: (redacted to bypass spam filter) Requires: omalloc singular_resources Conflicts: Cflags: -I${includedir} -DSING_NDEBUG -DOM_NDEBUG -I/opt/local/include Libs: -L${libdir} -lfactory -lflint -lmpfr -lgmp -lntl -L/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -lgmp Libs.private: }}}" bug new minor 4-2-0 and higher dontKnow 4-1-2