En-Motion
En-Motion

Reputation: 919

Unix - Shared Libraries Error

When I type tmadmin -v I get this error:

tmadmin: error while loading shared libraries: libgpnet.so: cannot open shared object   file: No such file or directory

libgpnet.so is in my lib folder. Is there something I need to set so that tmadmin look in my lib folder?

Upvotes: 2

Views: 2397

Answers (1)

codaddict
codaddict

Reputation: 455322

You can check if the path to lib directory is present in the LD_LIBRARY_PATH environment variable. If it's not you can add it as:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/lib

Upvotes: 3

Related Questions