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

Bug 132417

Summary: dev-lang/lua lack a SONAME
Product: Gentoo Linux Reporter: Dick Marinus <dick>
Component: New packagesAssignee: Emanuele Giaquinta (RETIRED) <exg>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 98715    
Attachments: lua-5.0.2-gentoo.patch

Description Dick Marinus 2006-05-06 01:04:16 UTC
QA Notice: the following shared libraries lack a SONAME
 /var/tmp/portage/lua-5.0.2/image/usr/lib/liblua.so.5.0
 /var/tmp/portage/lua-5.0.2/image/usr/lib/liblualib.so.5.0
Comment 1 Dick Marinus 2006-05-06 01:05:43 UTC
Created attachment 86240 [details, diff]
lua-5.0.2-gentoo.patch

--- dev-lang/lua/files/lua-5.0.2-gentoo.patch   2006-05-06 09:46:33.000000000 +0200
+++ /usr/portage/dev-lang/lua/files/lua-5.0.2-gentoo.patch      2004-08-06 09:51:42.000000000 +0200
@@ -7,8 +7,8 @@
  so:
 -      ld -o lib/liblua.so.$V -shared src/*.o
 -      ld -o lib/liblualib.so.$V -shared src/lib/*.o
-+      $(CC) -Xlinker "-soname=liblua.so.$V" -o lib/liblua.so.$V -shared src/*.o
-+      $(CC) -Xlinker "-soname=liblualib.so.$V" -o lib/liblualib.so.$V -shared src/lib/*.o $(EXTRA_LIBS)
++      $(CC) -o lib/liblua.so.$V -shared src/*.o
++      $(CC) -o lib/liblualib.so.$V -shared src/lib/*.o $(EXTRA_LIBS)
        cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so

  # binaries using shared libraries
Comment 2 Dick Marinus 2006-05-06 01:23:05 UTC
whoops, above comment is a reversed patch (attachment is OK)
Comment 3 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-10-15 08:56:56 UTC
Fixed in lua-5.0.3.