When I type in 'pkg-config --libs libffi' I will get the following output: -lffi In this output the Directory, where the library is stored, is missing.
(In reply to comment #0) > When I type in 'pkg-config --libs libffi' I will get the following output: > > -lffi > > In this output the Directory, where the library is stored, is missing. I think this is normal behaviour, no? With the 3.0.5 version of libffi... # cat /usr/lib/pkgconfig/libffi.pc prefix=/usr exec_prefix=/usr libdir=/usr/lib includedir=${libdir}/libffi-3.0.5/include Name: libffi Description: Library supporting Foreign Function Interfaces Version: 3.0.5 Libs: -L${libdir} -lffi Cflags: -I${includedir} ..so you'd think you'll see a -L/usr/lib, but: # pkg-config --libs libffi -lffi The same is true for other packages that include -L in their .pc file. Perhaps pkgconfig omits the -L when it's the standard directory for the linker. Out of curiosity, why are you reporting this problem? Does the lack of -L cause a build problem for you? Thanks! AG
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution. Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information. Closing as INSUFFICIENT_DATA.