rtorrent-ps | Extended rTorrent distribution | Command Line Interface library
kandi X-RAY | rtorrent-ps Summary
kandi X-RAY | rtorrent-ps Summary
:art: Extended rTorrent distribution with a fully customizable canvas and colors, other feature additions, and complete docs.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rtorrent-ps
rtorrent-ps Key Features
rtorrent-ps Examples and Code Snippets
Community Discussions
Trending Discussions on rtorrent-ps
QUESTION
Long story short: I worked on relative rpath linking with this script (that uses automake, autoconf, libtool).
The problem is that the final rpath
/runpath
entry in the binary executable or so
file still has the absolute path:
- it turned out libtool is configured by default like this with hardcode_libdir_flag_spec to include any
-L
value if it's set inLDFLAGS
The only question remains: how and at which point (what's the proper way) can I set other libtool variables, like hardcode_minus_L
. (I've searched for it on the net, but I couldn't find anything.)
I tried to do the following:
- after configure is called I tried to replace the value of the variable with
sed
inlibtool
file (in the proper directory): it worked but whenmake
is called it overwrote the wholelibtool
file again (it was regenerated)
Note, that 2 binary files are effected by this, entry for rpath
/runpath
with objdump -p
:
- libcurl.so :
RUNPATH /home/user1/lib/rtorrent-0.9.7-1.5.3/lib:$ORIGIN/../lib
- rtorrent :
RUNPATH $ORIGIN/../lib:/home/user1/lib/rtorrent-0.9.7-1.5.3/lib
Thanks
...ANSWER
Answered 2017-Aug-01 at 06:53I don't know if modifying the generated libtool
script is the best approach to solve your problem. But if you go this way, you need to make the approach robust by executing your sed
command within AC_CONFIG_COMMANDS
.
The libtool
script is generated during config.status as an configuration command (AC_CONFIG_COMMANDS
: https://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Commands) .
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rtorrent-ps
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page