Opened 2 years ago

#870 new bug

Bogus RPATH and pc file for libfactory

Reported by: arojas@… Owned by: somebody
Priority: minor Milestone: 4-2-0 and higher
Component: dontKnow Version: 4-1-2
Keywords: Cc:

Description

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:

Change History (0)

Note: See TracTickets for help on using tickets.