http://bugzilla.novell.com/show_bug.cgi?id=613497 http://bugzilla.novell.com/show_bug.cgi?id=613497#c0 Summary: lua.pc pulls wrong library path. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: l.blissett@rocketmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4 I've installed: lua-devel-5.1.4-6.2.x86_64 Using pkg-config to compile against lua gives a bunch of annoying linker warnings: ---- $ gcc $(pkg-config --cflags --libs lua) sample.c -o sample /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc --- This is because: --- $ pkg-config --libs lua -L/usr/lib -llua -lm --- Which is wrong on a x86-64 system. It should be "-L/usr/lib64 -llua -lm" instead Reproducible: Always Steps to Reproduce: 1. 2. 3. /usr/lib64/pkgconfig/lua.pc contains these two entries which point to a wrong library path for 64-bit binaries: INSTALL_CMOD= ${prefix}/lib/lua/${V} libdir=${exec_prefix}/lib -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.