Skip to content

Commit

Permalink
R/3.3.3: Add LD_LIBRARY_PATH with gdal path
Browse files Browse the repository at this point in the history
Some R libraries like sf have bugs detecting gdal unless this is in
the LD_LIBRARY_PATH.

See: r-spatial/sf#844
  • Loading branch information
alanorth committed Aug 8, 2019
1 parent b96857e commit c862996
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/3.3.3
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ module-whatis $msg

conflict $appname

prepend-path PATH ${exec_prefix}
prepend-path MANPATH ${datarootdir}/man
prepend-path PATH ${exec_prefix}
prepend-path MANPATH ${datarootdir}/man
# 2019-08-08: add LD_LIBRARY_PATH for gdal, libraries like poppr and sf need it
prepend-path LD_LIBRARY_PATH /export/apps/gdal/2.4.2/lib

# vim: set sw=4 ts=4:

0 comments on commit c862996

Please # to comment.