Bug 13637 - Problem with LD_LIBRARY_PATH setting in ldpaths
Summary: Problem with LD_LIBRARY_PATH setting in ldpaths
Alias: None
Product: R
Classification: Unclassified
Component: System-specific (show other bugs)
Version: old
Hardware: All Linux
: P5 normal
Assignee: Jitterbug compatibility account
Depends on:
Reported: 2009-04-02 19:06 UTC by Jitterbug compatibility account
Modified: 2015-12-14 13:48 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jitterbug compatibility account 2009-04-02 19:06:27 UTC
From: Eileen Meyer <meyer@rice.edu>

When using R on a linux machine (ubuntu 8.10) which DOES NOT have 
LD_LIBRARY_PATH set (I particularly have it NOT set because it causes 
problems), the script ldpaths will set LD_LIBRARY_PATH to the R Lib path 
(in my case $R_HOME/lib:).  The placement of the colon makes my system 
think that the directory "." is also on that lib path.  This causes real 
problems when trying to run R with a remote mounted file structure (over 
sshfs).  In particular, the initialization time for R is about 20 
seconds, and a simple command like help(package) takes about 10.  It is 
easily amended by not placing the colon at the end of the lib path if it 
is empty first.  Please fix this so other newbies don't have to spend a 
day and a half delving through strace output trying to figure out why 
everything is slow!

--please do not edit the information below--

 platform = i486-pc-linux-gnu
 arch = i486
 os = linux-gnu
 system = i486, linux-gnu
 status =
 major = 2
 minor = 7.1
 year = 2008
 month = 06
 day = 23
 svn rev = 45970

Comment 1 Jitterbug compatibility account 2009-05-11 17:38:21 UTC
Audit (from Jitterbug):
Mon May 11 12:38:21 2009	ripley	moved from incoming to System-specific
Comment 2 Brian Ripley 2010-04-11 16:16:48 UTC
Fied for 2.12.0