Description of problem: On x86-64, the file /usr/lib64/pkgconfig/libwebp.pc contains the line "libdir=${prefix}/lib". It should contain a line "libdir=${prefix}/lib64" or "libdir=/usr/lib64", as is common in the other *.pc files. There is a similar bug in libwebpdecoder.pc, libwebpdemux.pc, and libwebpmux.pc in the same directory. Version-Release number of selected component (if applicable): libwebp-devel-1.2.4-1.fc36.x86_64 How reproducible: Run the shell command: "pkgconf --libs libwebp". It will output "-L/usr/lib -lwebp". It should output just "-lwebp". The bogus "-L/usr/lib" causes gcc to try to link to 32-bit libraries even though we're building a 64-bit executable. Steps to Reproduce: 1. dnf install libwebp-devel.x86_64 libwebp-devel.i686 2. echo 'int main (void) {}' >t.c 3. gcc t.c $(pkgconf --libs libwebp) Actual results: /usr/bin/ld: skipping incompatible /usr/lib/libwebp.so when searching for -lwebp /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc Expected results: The compilation should succeed quietly. Additional info:
*** This bug has been marked as a duplicate of bug 2128259 ***