I am trying to create the RPM of my package, which is created using automake and libtool , and I ran into a problem: rpmbuild aborts the detection that the installed programs of the package contain the installation directory path for shared packages (due to automake using the -rpath ld option).
I understand that rpmbuild does this to ensure that the package will move. My question is what to do about it. I could eliminate the use of shared libraries (and lose their benefits), or I could tell automake not to install shared libraries (which would prevent him from using the -rpath ), and then install them anyway. The cost of this last option is that it will require the user to always have the correct environment variable LD_LIBRARY_PATH , plus it seems a bit shabby.
Is there any other option?
What would you do?
source share