nlserver command not working in RHEL 7 | Community
Skip to main content
Anupam_Maiti
Level 2
Aug 15, 2018 2:58 PM UTC
Solved

nlserver command not working in RHEL 7

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Anupam_Maiti
Anupam_MaitiAccepted solution
Level 2
Aug 31, 2018 8:12 AM UTC

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".

7 replies

Gaurang-1
Level 9
Aug 31, 2018 8:41 AM UTC

Thanks for sharing the results Anupam! Much appreciated.

Translate
Anupam_Maiti
Anupam_MaitiAuthorAccepted solution
Level 2
Aug 31, 2018 8:12 AM UTC

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".

Translate
New Participant
Mar 15, 2021 12:59 PM UTC
hello, what's idConfig please ?
Translate
Anupam_Maiti
Level 2
Aug 31, 2018 7:51 AM UTC

I have tried this also, Though this fixed "cannot open shared object file" error for some .so files but I was not able to start ./nlserver.

Translate
Employee
Aug 31, 2018 4:31 AM UTC

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.

Translate
Anupam_Maiti
Level 2
Aug 20, 2018 8:41 AM UTC

Yes I have done that...still no hope .

Translate
vraghav
Employee
Aug 18, 2018 10:03 AM UTC

Hi Anupam,

Did you do

su press Enter

enter root password

Then do

su - neolane

before firing the nlserver commands?

Translate