FreeSource : AltLinux/Sisyphus/Comment197

This is a comment on Alt Linux / Sisyphus / devel / Problem With Verify ELF And RPATH, posted by ll-178.125.64.62.sovam.net.ua at 2006-01-24 14:56:22
Иногда помогает
./configure --disable-rpath
В случае сборки с помощью scons (без configure) не нашёл ничего лучше, чем сделать подобный патч:
diff -urN kleansweep-0.2.4.orig/admin/kde.py kleansweep-0.2.4/admin/kde.py

kleansweep-0.2.4.orig/admin/kde.py 2006–01–05 19:39:15 +0200
+++ kleansweep-0.2.4/admin/kde.py 2006–01–24 13:37:15 +0200
@@ -23,12 +23,6 @@
if not 'lang_qt' in _flags:
## Use this define if you are using the kde translation scheme (.po files)
lenv.Append( CPPFLAGS = '-DQT_NO_TRANSLATION' )
– if 'rpath' in _flags:
– ## Use this to set rpath – this may cause trouble if folders are moved (chrpath)
– kdelibpaths=[]
– if lenv['KDELIBPATH'] == lenv['KDELIB']: kdelibpaths = [lenv['KDELIB']]
– else: kdelibpaths = [lenv['KDELIBPATH'], lenv['KDELIB']]
– lenv.Append( RPATH = [lenv['QTLIBPATH'], lenv['KDEMODULE']]+kdelibpaths )
if 'thread' in _flags:
## Uncomment the following if you need threading support
lenv.KDEaddflags_cxx( ['-DQT_THREAD_SUPPORT', '-D_REENTRANT'] )