Dynamic linking to /usr/lib/xxxxx directory.
I'm packaging AFNIX which provides four or five executables and a bunch
of shared objects that the executables use. Since the SOs are not likely
to be of use to anything except the AFNIX system itself, I intend to
install the SOs in /usr/lib/afnix/*.so. I'm a newbie as far as SOs are
concerned, so can I ask a fairly basic question?
How do I link the program so that the end-user does not have to set
LD_LIBRARY_PATH? Is this a job for the "--rpath" ld parameter, or is
there a better way?
For information, the upstream Makefiles do _not_ use libtool.