Author Topic: Mint 12 64-bit libGLU.so.1 problem  (Read 498 times)

Legacy_oldrocker99

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Mint 12 64-bit libGLU.so.1 problem
« on: December 31, 2011, 07:45:57 pm »


               I had had problems with my nVidia drivers (64-bit Linux Mint 12), fixed them, and did a ./nwn to see if it would run. It did, and I exited. Since then, I get:

ERROR: ld.so: object './nwmouse.so' from LD_PRELOAD cannot be preloaded: ignored.
./nwmain: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

I DO have libGLU.so.1 and ia32-libs installed. I tried a link from Desura and I got:
./nwmain: error while loading shared libraries: libGLU.so.1: wrong ELF class: ELFclass64

If I try to install a 32-bit libGLU.so.1, the system tries to uninstall a whole bunch of programs.

Any suggestions?':crying:'
               
               

               
            

Legacy_oldrocker99

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Mint 12 64-bit libGLU.so.1 problem
« Reply #1 on: January 01, 2012, 02:50:00 am »


               I found a 32-bit libGLU.so.1 in a 32-bit directory from a Humble Indie Bundle game, copied it to my nwn directory, edited the nwn file and the game does run! No sound...but better than earlier!
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
Mint 12 64-bit libGLU.so.1 problem
« Reply #2 on: January 01, 2012, 04:31:32 pm »


               I'm not sure about Linux Mint, but on Debian and Ubuntu systems a 32bit version of libGLU.so is contained in ia32-libs and is installed in /usr/lib32/libGLU.so.1.<version-number>. If Linux Mint differs in that respect, you may want to look for a package named lib32-glu or something like that.

The sound problem may be due to the fact that most onboard sound chips nowadays only have one output channel and don't support hardware mixing. There are several possible solutions for that - one is contained in the README files in nwmovies. Since you already use nwmouse, you might want to try nwmovies, too. And, btw, don't mind the 'cannot be preloaded' error messages, they result from trying to preload a 32bit lib (nwmouse.so) in a 64bit environment. The nwlinux extensions will be preloaded and work fine before the start of nwmain, though.

Greetings
Skildron
               
               

               
            

Legacy_oldrocker99

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Mint 12 64-bit libGLU.so.1 problem
« Reply #3 on: January 02, 2012, 05:31:56 pm »


               Thanks for the tip! I got the sound working and now I'm getting killed with full FX!