autoconf - let ./configure find library files in specific directory -
i'm installing r software on shared space across several servers. after installation found when login on different servers, r not guaranteed run due missing of library files on different machines. here i'm trying do: since installation of r machine-dependent, i'd put missing library files libtermcap.so.2, libg2c.so.1, etc, single directory on shared space, when run ./configure, search directory. since directory shared, installation become machine-independent, won't need add missing files on each server.
is there option achieve when run ./configure? thanks.
assuming have copied library files /shared/lib/
, header files /shared/include/
, can run
./configure ldflags=-l/shared/lib cppflags=-i/shared/include ...other options...
note, however, bound run trouble @ run time, when have convince installation use shared libraries right directory, in case decides upgrade default version on respective host. whole business platform , installation dependent. think if hosts not @ least identical, ought install software (r) locally in way suitable respective system.
Comments
Post a Comment