cancel
Showing results for 
Search instead for 
Did you mean: 

Library path error in 4.7 installation

Former Member
0 Kudos

Hi,

     I am getting following error in installation of 4.7 in linux environment with maxdb database.

The required path is not found in the environment variable ld_library_path.

Where  can i find the ld_library_path  variable in linux x86_64. 

So that i can add the required path to that variable.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182034
Active Contributor
0 Kudos

Dear,

You are getting this issue because the value of parameter(LD_LIBRARY_PATH) is not set correctly(as mentioned Ratnajit).

now You can set the path with root and sidadm users with below commands.

with root user:

First check the current value with below command

echo $LD_LIBARY_PATH

hopefully, value will not be set ans showing blank. You can set with below command.

export LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run

Switch the user


sapsuse:~/Desktop # su oraids


with oraSID user

again check the current value

echo $LD_LIBARY_PATH

sapsuse:oraids 50> echo $LD_LIBRARY_PATH

setenv LD_LIBRARY_PATH /usr/sap/SID/SYS/exe/run

Example:

The value of LD_LIBRARY_PATH on my system is:

sapsuse:oraids 50> echo $LD_LIBRARY_PATH

/usr/lib64/mpi/gcc/openmpi/lib64:/usr/sap/IDS/SYS/exe/run:/oracle/IDS/102_64/lib

Regards,


former_member189725
Active Contributor
0 Kudos

During the installation in NW 640 , sapinst requires the LD_LIBRARY_PATH to be set for user root. So only set for user root . For <sid>adm and ora<sid> , the environment is set during the installation by sapinst and you do not need to worry about this as of now.

Just set the environment for user root. And then start the SAPINST. from the beginning deleting the old installation log files.

Regards

Ratnajit

former_member189725
Active Contributor
0 Kudos

Before you start SAPINST , please set the LD_LIBRARY_PATH to /sapmnt/DR3/exe as below

export LD_LIBRARY_PATH=/sapmnt/DR3/exe

Since you are installing a SAP WAS 640 system , so SAPINST for that release expects LD_LIBRARY_PATH to be set.

Just set the environment variable and start the SAPINST 

Regards

Ratnajit