> ...(b) Then, configure the path to the R library. You have several > ways to do > this (substitute RHOME with the path where R is installed, usually > /usr/local/lib/R): > > o make a link to RHOME/bin/libR.so in /usr/local/lib or /usr/ > lib, then > run 'ldconfig', > > o or, put the following line in your .bashrc (or equivalent): > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:RHOME/bin > > o or, edit the file /etc/ld.so.conf and add the following > line: > > RHOME/bin > > and then, run 'ldconfig'. > > To accomplish this in the spkg-install script, should I do the first > option > in SAGE_ROOT/local/lib?
No, SAGE_ROOT/local/lib is in LD_LIBRARY_PATH anyway. libR.so should go in there. Then it is automatically found when requested by SAGE. To run ldconfig one needs root, so that is not an option. Why a lib should end up in $RHOME/bin seems rather odd to me. Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---