Hi,
We are having some LD_LIBRARY_PATH issues. SAS Enterprise Guide connected to a remote Linux machine . Would like to know from which location on the remote machine does SAS EG set up its LD_LIBRARY_PATH env variables? please advise.
The Workspace Server script (<SASConfig>/Lev1/SASApp/WorkspaceServer/WorkspaceServer.sh) sources a number of files that can affect the final value of LD_LIBRARY_PATH if modified. (WorkspaceServer_usermods.sh, appservercontext_env_usermods.sh, level_env_usermods.sh, <SASHome>/SASFoundation/9.4/bin/sasenv_local). While no modifications should be made to the non usermods suffixed files they are also sourced and could also be making changes.
I think by default (no modifications made to the usermods files) this would only come from <SASHome>/SASFoundation/9.4/bin/sasenv, where it adds some JAVA_HOME and SASHOME paths to whatever is currently set as LD_LIBRARY_PATH.
Hello @kh4
To your question "Would like to know from which location on the remote machine does SAS EG set up its LD_LIBRARY_PATH env variables?"
This is typically setup at [SASHome]/SASFoundation/9.4/bin/sasenv_local.
What was the error ? Can you please share it?
When executing X commands for transfer protocols like Rsync, SFTP, Scp , PIPE on EG seeing below error
ssh: symbol lookup error: /lib64/libgssapi_krb5.so.2: undefined symbol: k5_internalize_principal, version krb5_3_MIT
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(226) [sender=3.1.3
Thanks @gwootton for your response. LD_LIBRARY_PATH env variable are being set from SASHome>/SASFoundation/9.4/bin/sasenv_local , but the issue is there are some additional Paths which are being appended to LD_LIBRARY_PATH on EG.
Hello @kh4
Please have a look here https://access.redhat.com/solutions/6968539
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.