Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

nlserver command not working in RHEL 7

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

7 Replies

Avatar

Employee Advisor

Hi Anupam,

Did you do

su press Enter

enter root password

Then do

su - neolane

before firing the nlserver commands?

Avatar

Level 1

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.

Avatar

Level 2

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.

Avatar

Correct answer by
Level 2

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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now