On Thu, 1 Apr 2010 13:24:22 +0200, martin f krafft <[email protected]> wrote: > also sprach Michal Sojka <[email protected]> [2010.04.01.1310 +0200]: > > this can be solved by the following patch, but I don't know how portable > > it is. You can see the efect of this by > > Please avoid rpath. The better solution is probably to create > a wrapper for notmuch, which prepends to LD_LIBRARY_PATH.
So now should actually list some of the ideas I had: 1. Use rpath for the local notmuch, (and use chrpath to remove it at the time of "make install"). 2. Create a little shell script that calls LD_LIBRARY_PATH locally, but then install the real program, (not very unlike what libtool does). 3. Create a static program locally, but install a shared version. 4. Create a static program by default, and make distributions pass a --shared option to get the shared version that they want. I can see advantages and disadvantages to each approach. -Carl
pgpthvMYttzPV.pgp
Description: PGP signature
_______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
