Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 490028

Summary: dev-lang/lua change soname of liblua.so.5 to liblua.so.5.1
Product: Gentoo Linux Reporter: Cyril <cyril.baletaud>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: staff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyril 2013-11-01 09:00:07 UTC
We need to know the version of lua-5.

Reproducible: Always

Steps to Reproduce:
objdump -p /usr/lib64/libluabind.so | grep liblua.so
  NEEDED               liblua.so.5


Expected Results:  
objdump -p /usr/lib64/libluabind.so | grep liblua.so
  NEEDED               liblua.so.5.1



This is part of a cmake module to discover the lua version linked to luabind.
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2013-11-04 21:31:19 UTC
This sounds rather painful. While I agree that you should be able to NEED the minor version, libtool is rather stubborn when it comes to versioning. I haven't been able to bypass it's -Wl,-soname specification.

If somebody has suggestions on how to do this, I'll have a look.
Comment 2 Conrad Kostecki gentoo-dev 2021-01-24 12:04:39 UTC
This should be fixed with slotted lua, which is already in ~arch und currently being stabilized.