Red Hat Bugzilla – Bug 495095
pkg-config reports wrong --libs output for lua-devel in EPEL on 64-bit OS
Last modified: 2010-10-26 14:01:34 EDT
Description of problem:
lua-devel package in EPEL for RHEL5 reports incorrect libs argument "-L/usr/lib" from pkg-config on 64-bit architectures. Should be "-L/usr/lib64"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "pkg-config lua --libs" on a RHEL5 64-bit OS that has lua-devel installed.
-L/usr/lib -llua -lm -ldl
-L/usr/lib64 -llua -lm -ldl
I see that there was some debate (Bug 399101) a year or two ago about whether this bug was important enough to fix in previously released versions, though it was fixed in Rawhide some time back. EPEL may or may not fall under that category of product, but for us using RHEL in a university setting for course work the impact is that computational instruction is disrupted by having to use pedagogically irrelevant workarounds. If this fix is not appropriate for EPEL, then we will have to rebuild the package for our own repositories, which is not the end of the world, but I wanted to give EPEL a chance to fix the bug first.
ok. I took a look at fixing this.
I had to tweak the patch thats available in the master branch for some reason, but I think I have a package that will work.
Can you please test:
I'd love some feedback before pushing this as an update. Thanks.
lua-5.1.4-4.el5 has been submitted as an update for Fedora EPEL 5.
lua-5.1.4-4.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update lua'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/lua-5.1.4-4.el5
(In reply to comment #2)
> lua-5.1.4-4.el5 has been submitted as an update for Fedora EPEL 5.
Just increased the karma level by one.
Comments about the lua-5.1.4-4.el5 RPMS in epel-5-testing
* they solve the two problems initially reported
* successfully built a modified wireshark 1.4.0 with lua support for
Centos 5.5 x86_64 (couldn't been done with the lua 5.1.2 RPMS of EPEL5
due to the problems reported).
lua-5.1.4-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.