Aller au contenu

Photo

[SOLVED] libX11.so: cannot open shared object file: No such file or directory


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Scorpio Snake

Scorpio Snake
  • Members
  • 38 messages
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 .


#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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.

#3
Skildron

Skildron
  • Members
  • 231 messages
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

#4
Scorpio Snake

Scorpio Snake
  • Members
  • 38 messages
Thank you, Skildron. That fixed it!

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

#5
montanha11

montanha11
  • Members
  • 2 messages
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.

#6
Skildron

Skildron
  • Members
  • 231 messages
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 .


#7
montanha11

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