FS#48339 - [flowcanvas] Shared libraries are empty

Attached to Project: Community Packages
Opened by Sol Bekic (S0lll0s) - Thursday, 25 February 2016, 17:07 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 07 August 2016, 09:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ray Rashif (schivmeister)
Evangelos Foutras (foutrelis)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Got linker errors building ladish from AUR, checked the object file:

$ nm -g /usr/lib/libflowcanvas.so*

/usr/lib/libflowcanvas.so:
nm: /usr/lib/libflowcanvas.so: no symbols

/usr/lib/libflowcanvas.so.5:
nm: /usr/lib/libflowcanvas.so.5: no symbols

/usr/lib/libflowcanvas.so.5.1.0:
nm: /usr/lib/libflowcanvas.so.5.1.0: no symbols

after reinstalling with the PKGBUILD everything was fine
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 07 August 2016, 09:09 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Thursday, 25 February 2016, 18:13 GMT
Doesn't appear that way to me. Most likely local filesystem problems.

% readelf libflowcanvas.so --syms

Symbol table '.dynsym' contains 735 entries:
...

Edit: wait, something is going on:
% objdump --syms libflowcanvas.so

libflowcanvas.so: file format elf64-x86-64

SYMBOL TABLE:
no symbols

Edit2: ah, ok, dynamic symbols vs normal symbols. Again sounds like things are OK here.
Comment by Evangelos Foutras (foutrelis) - Thursday, 25 February 2016, 18:32 GMT
You need to use --dynamic-syms and --dynamic with objdump and nm respectively.

Feel free to post the linker errors you got; I haven't tried building it myself to check yet.

Though, my guess would be that you're using a compiler that uses the old C++ ABI by default:

https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html#manual.intro.using.abi.trouble

Loading...