| Summary: | net-libs/rb_libtorrent-1.0.9-r1 : /.../ld: cannot find -ltorrent-rasterbar | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | sbraz |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-history.txt
environment net-libs:rb_libtorrent-1.0.9-r1:20160427-094731.log fix-linking.patch |
||
|
Description
Toralf Förster
2016-04-27 13:16:54 UTC
Created attachment 432262 [details]
emerge-history.txt
Created attachment 432264 [details]
environment
Created attachment 432266 [details]
net-libs:rb_libtorrent-1.0.9-r1:20160427-094731.log
Looks like ld search torrent-rasterbar from /usr/lib64/, instead of $WORKDIR In this case, net-libs/rb_libtorrent builds successfully while there's previous version installed, and upgraded version need one more rebuild to drop dependency to previous version, like this: Before rebuild: # ldd /usr/lib64/python2.7/site-packages/libtorrent.so |grep torre libtorrent-rasterbar.so.8 => not found After rebuild: # ldd /usr/lib64/python2.7/site-packages/libtorrent.so |grep torre libtorrent-rasterbar.so.9 => /usr/lib64/libtorrent-rasterbar.so.9 (0x00007fa2208ca000) Created attachment 432886 [details, diff]
fix-linking.patch
This fixes the issue with the out-of-source build. I have only tested it on amd64, I'm not 100% sure the libs will go to ".libs" on x86.
This is a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=581274 *** This bug has been marked as a duplicate of bug 581274 *** |