STR-120: Dynamic linking of liblib in StrategoXT creates dep on source tree
martin@logistico:~/wc/StrategoXT/stratego-regular/trans> ldd rtg-group
libliblib.so.0 => /home/martin/wc/StrategoXT/pre-pkgs/build/lib/srts/libliblib.so.0 (0x4001a000)
libm.so.6 => /lib/i686/libm.so.6 (0x400b2000)
libc.so.6 => /lib/i686/libc.so.6 (0x400d5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)The Stratego Runtime should not be reconfigured, but installed locally with a DESTDIR. After this, libtool should be able to handle the ‘real’ location of libliblib after installation.
Also, XTC shouldn’t be reconfigured. During installation the repository option is always used, and XTC itself does not invoke other tools with XTC. Therefore there is no need to reconfigure the package with a local prefix.
Submitted on 18 June 2004 at 18:06
Issue Log
STR-120, martin:
Solved with libtool and a DESTDIR for the local SRTS installation.
STR-120, martin:
This is still an issue in distributions, not if installing from subversion.
STR-120, martin:
All StrategoXT packages should use libtool for linking executables.
Log in to post comments