ITRS-Group / cordial

Cordial comprises a set of interrelated programs, integrations, libraries and packages for Geneos, principally written in Go.
Other
7 stars 0 forks source link

Adding paths to the LD_LIBRARY_PATH #114

Closed rgonzalesitrs closed 1 year ago

rgonzalesitrs commented 1 year ago

A user has a Gateway that needs to be configured with the database client. Usually, this is done by adding the following in the Gateway start script:

export LD_LIBRARY_PATH=/path/of/the/library/folder

Using the geneos script, executing the command:

geneos set gateway t24-source -e LD_LIBRARY_PATH=/home/ec2-user/database_clients/oracle/current_client

adds the LD_LIBRARY_PATH to the env parameter of the .json file. However, the Gateway still cannot see the library path. The Gateway was able to see/detect the library when the said path was manually added to the libpath parameter of the .json file.