Josip Rodin <joy@cibalia.gkvk.hr> wrote: > > Just put the file in a private directory (i.e. /usr/lib/njamd/ or so) and > you'll be fine. No symlinks are necessary I'd think. More details are in order, I think. To use the library, you use a command line something like: LD_PRELOAD=libnjamd.so program_to_debug If the library is in some directory other than a normal library directory, the full path will have to go in the LD_PRELOAD variable, or LD_LIBRARY_PATH will need to be set as well. That's not very convenient, and in fact is the main reason why I want to package it at all (I got sick of typing LD_PRELOAD=/home/sam/njamd/lib/libnjamd.so all the time). If the .so symlink is not included, the version of the NJAMD library to use will also need to go in the LD_PRELOAD variable. That's not just inconvenient, it's insane. Another example of a similar package, as someone on this list pointed out, is debauch. It has a .so symlink in /usr/lib as well, and a recent policy version. > Make sure it's documented, too. Obviously, otherwise it'd be pretty useless. :) -- Sam Couter | Internet Engineer | http://www.topic.com.au/ sam@topic.com.au | tSA Consulting | OpenPGP key ID: DE89C75C, available on key servers OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
Attachment:
pgpsu7DVojmTm.pgp
Description: PGP signature