nlserver command not working in RHEL 7

Anupam_Maiti

15-08-2018

Hi,

I have installed "nlserver6-v7-8857-x86_64_rh7.rpm", I have followed installation steps from Prerequisites & Installing packages 

when I am trying to run any nlserver from "/usr/local/neolane/nl6/bin" getting below error

"./nlserver: error while loading shared libraries: libmozjs.so.1.0: cannot open shared object file: No such file or directory"

No clue how to fix this. Please help.

Thanks in advance.

Warm Regards,

Anupam Maiti

Accepted Solutions (1)

Accepted Solutions (1)

Anupam_Maiti

31-08-2018

Finally found the solution

Step 1. export LD_LIBRARY_PATH=/usr/local/neolane/nl6/lib/

Step 2. ldconfig

This fixed the issue.

I have tried starting nlserver after creating symbolic links to  "/usr/lib/" though it fixed "cannot open shared object file" issue bit I was getting some other error while starting "nlserver".

Answers (5)

Answers (5)

Sau1231

30-08-2018

Try creating symlink in /usr/lib for that library file.

ln -s /usr/local/neolane/nl6/lib/libmozjs.so.1.0 /usr/lib/libmozjs.so.1.0

Then run nlserver command again. If you get further errors, repeat above step for all the files listed in error.