Dear OpenSSL users,
I uncovered a potential issue affecting the installation of OpenSSL from source, in the case the user is not allowed to write in the /tmp folder.
I'm trying to install on a cluster where permissions to '/tmp' is
restricted.
Is there an environment variable designed to tell 'make install' to NOT use /tmp?
My $TMP environment variable points to a different folder. The
result of:
./config
--prefix=/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h
make && make install
install libcrypto.a ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.a
install libssl.a ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libssl.a
link
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so
->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so.1.1
install libcrypto.so ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so
install libcrypto.so.1.1 ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so
mkdir: cannot create directory '/tmp/ar.12361':
Permission denied
make: *** [install_dev] Error 1
Is there something I'm missing? How can this be circumvented?
Thanks,
Thibaut