[Bug 613497] New: lua.pc pulls wrong library path.
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.
http://bugzilla.novell.com/show_bug.cgi?id=613497 http://bugzilla.novell.com/show_bug.cgi?id=613497#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |pgajdos@novell.com |ovo.novell.com | --- Comment #1 from Marcus Meissner <meissner@novell.com> 2010-06-11 13:30:24 UTC --- just remove the -L/usr/lib64 altogether as its the default path -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=613497 http://bugzilla.novell.com/show_bug.cgi?id=613497#c2 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED --- Comment #2 from Petr Gajdos <pgajdos@novell.com> 2010-06-14 14:05:47 UTC --- Marcus, thanks for the hint. I have removed -L/usr/lib from pc file and I have submitted this change together with upstream bugfix patch into devel:languages:misc/lua. I will send these changes into Factory as soon as it will be possible. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=613497 http://bugzilla.novell.com/show_bug.cgi?id=613497#c3 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Petr Gajdos <pgajdos@novell.com> 2010-06-22 11:21:00 UTC --- Request #41896 sent. Thanks Luther! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=613497 https://bugzilla.novell.com/show_bug.cgi?id=613497#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-07 09:00:15 CET --- This is an autogenerated message for OBS integration: This bug (613497) was mentioned in https://build.opensuse.org/request/show/99319 Factory / lua51 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=613497 https://bugzilla.novell.com/show_bug.cgi?id=613497#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-01-07 12:00:17 CET --- This is an autogenerated message for OBS integration: This bug (613497) was mentioned in https://build.opensuse.org/request/show/99320 Factory / lua51 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=613497 http://bugzilla.novell.com/show_bug.cgi?id=613497#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (613497) was mentioned in https://build.opensuse.org/request/show/41896 Factory / lua -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com