Topics

[espeak-ng:master] reported: Hardcoded rpath in executable #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #342 Hardcoded rpath in executable
By jaacoppi:

Please post the exact commands and configuration used to reproduce this error.

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #342 Hardcoded rpath in executable
By rhdunn:

The build is generating a local libtool script. The configure.ac file does not have a --disable-rpath option. It should be added and follow the OpenSUSE guide for patching rpath from the local libtool script:

# See https://old-en.opensuse.org/openSUSEPackaging_Guidelines#Removing_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

References: 1. https://wiki.debian.org/RpathIssue 1. https://old-en.opensuse.org/openSUSEPackaging_Guidelines#Beware_of_Rpath