Hi, I was reworking the freeswitch.spec file to make it build an RPM on Fedora 11 and noticed the following:
[..snip a gazillion previous ones..] ERROR 0002: file '/opt/freeswitch/mod/mod_sndfile.so' contains an invalid rpath '/opt/freeswitch/mod' in [/opt/freeswitch/lib64:/opt/freeswitch/mod] [..snip a gazillion more..] To solve this issue I had to add in the spec file after configure the following lines: # kill rpath madness in the top level libtool 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 # and fix it in the libtool in libs/openzap too sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libs/openzap/libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libs/openzap/libtool Maybe this could be done on libtool in trunk? If I need to report this in Jira please let me know. Regards, Patrick _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org