[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't find a library that's right there



Ross Boylan <ross@biostat.ucsf.edu> writes:

> SOLUTIONS
> The best solution seems to be to include
> -Wl,-rpath,/usr/lib/R/bin
> as an option to gcc.

-Wl,-rpath-link,/usr/lib/R/bin is cleaner, but requires
LD_LIBRARY_PATH at runtime (perhaps via a wrapper).  -L only applies
to directly linked libraries.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.



Reply to: