Author Topic: [SOLVED] libX11.so: cannot open shared object file: No such file or directory  (Read 493 times)

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0


               I am having a problem trying to get NWMovies to work. It worked fine when I was running Debian. I recently installed Ubuntu and now it will not work. I think I have narrowed it down to a problem I had before. Unfortunately the answer was on the old forums and I cannot remember exactly what I did before. Here is the error I am getting from nwmovies.log:

ERROR: Unable to dlopen(libX11.so): libX11.so: cannot open shared object file: No such file or directory

I appreciate any help.
               
               

               


                     Modifié par Scorpio Snake, 27 avril 2012 - 10:45 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0


               I know nothing of linux.   The only advice that I can give is in reguards to you beliving that the answer was on the old boards.   OTR did the community a great service that he shaired his back up in 



NWN Omnibus: Offline search tool for select legacy BioWare forums, documents, CCG, Lexicon and more.
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0


               If you have the 32bit version of Ubuntu, do an
sudo apt-get install libx11-dev
If it's the 64bit version, do an
sudo apt-get install ia32-libs
If that does not help, ask again.

Greetings
Skildron
               
               

               
            

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0


               Thank you, Skildron. That fixed it!

Thank you, Lightfoot8. This will be a valuable tool.
               
               

               
            

Legacy_montanha11

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0


               I have the same problem.
"ERROR: Unable to dlopen(libX11.so): libX11.so: cannot open shared object file: No such file or directory"

But the sugested packages are there.
If I run the BinkPlayer on terminal, I can play the movies.

The log looks like this:
NOTICE: NWMovies.pl playing: AtariLogo: Sat Oct 19 23:11:43 2013
NOTICE: NWMovies: Executing: ./nwmovies/BinkPlayer ./movies/AtariLogo.bik
NOTICE: Loading BinkLib (20090223.080954)
NOTICE: Current LD_PRELOAD=./nwmovies/binklib.so
ERROR: Unable to dlopen(libX11.so): libX11.so: cannot open shared object file: No such file or directory
NOTICE: NWMovies.pl finished playing: AtariLogo: Sat Oct 19 23:11:43 2013

Someone can help me?
I appreciate any help.
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0


               Hi montanha11!

If you are on an 64bit Ubuntu Linux with multiarch support (since version 11.10 IIRC), do the following:

sudo apt-get install libx11-dev:i386

That will add the development header files of the 32bit version for the main X11 shared library to your system and should help - nwmovies.so needs those files, though nwn itself does not.

If you are on any other linux version, we'll need some more information regarding your issue:
Linux distro and version
32bit or 64bit architecture

Greetings
Skildron
               
               

               


                     Modifié par Skildron, 25 octobre 2013 - 07:42 .
                     
                  


            

Legacy_montanha11

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0


               Thank you so much!
"sudo apt-get install libx11-dev:i386" was the key.
It worked perfectly