On 03/27/2011 05:46 AM, Jack Andrews wrote: > i want to use the usual sequence of > > autoreconf --install > ./configure > make > make test > make install > > but my program dlopen()s a lib which > i find here: > .libs/libj.so > > i've read that shared objects are hidden in > .libs for a reason and that they should be > installed prior to use. > > if this is the case, how can i run tests > "legally", before installing the .libs/libj.so ?
If I understand correctly, libtool --mode=execute path/to/uninstalled/program will do what you want - libtool will massage PATH behind the scenes before spawning the wrapped uninstalled program so that it will correctly pick up the .libs/*.so files in preference to anything installed. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool