[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A problem with executable wrapper
From: |
Rafał Mużyło |
Subject: |
A problem with executable wrapper |
Date: |
Wed, 16 Dec 2009 23:19:01 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
I'm not sure if I'm subscribed,
so treat it as if I'm not (CC me).
Linux (x86), libtool 2.2.6b, autoconf 2.64, automake 1.11
I was playing with ghex2 sources.
After 'autoreconf -fi;./configure', I've noticed
a small problem with the wrapper script generated for the executable.
One of generated blocks was:
# Add our own library path to LD_LIBRARY_PATH
LD_LIBRARY_PATH="/usr/lib/:<top_builddir>/src/.libs:$LD_LIBRARY_PATH"
However, that created a problem, as ghex2 was already installed
on the system, so executable was using system copy of its lib,
instead of the one just built.
To get around this, I've modified a line in ltmain.sh from:
*) temp_rpath="$temp_rpath$absdir:"
to
*) temp_rpath="$absdir:$temp_rpath"
but I wonder why it wasn't working properly in the first place.
- A problem with executable wrapper,
Rafał Mużyło <=