Fedora prohibits the use of rpath, ref 
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_beware_of_rpath

When compiling varnish with litbool, I ensure this by the usual

sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
        s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

However, during build and check, I need access to a library in the
build. For example, the test suite uses the binary varnishtest to
access libvarnishapi.so.2, which is not visible as the package is not
installed yet.

I have gotten around this by putting in LD_LIBRARY_PATH where I need,
but rpmlint gives me a warning on that.

Are there other possibilities to solve this?

Ingvar

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to