You are not logged in.

#1 2011-01-09 17:59:29

privateabstract
Member
Registered: 2010-12-28
Posts: 18

[SOLVED] Neverwinter Nights missing shared library / audio

I cannot run Neverwinter Nights, having followed the instructions here: http://nwn.bioware.com/downloads/linuxclient.html.

$ ./nwmain 
./nwmain: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
$ ldd ./nwmain
    linux-gate.so.1 =>  (0xf76ed000)
    libm.so.6 => /usr/lib32/libm.so.6 (0xf76ab000)
    libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7691000)
    libGL.so.1 => not found
    libGLU.so.1 => not found
    libmss.so.6 => not found
    libSDL-1.2.so.0 => not found
    libc.so.6 => /usr/lib32/libc.so.6 (0xf7544000)
    /lib/ld-linux.so.2 (0xf76ee000)

I'm using the proprietary ATI drivers, fglrx, and have had other games such as OpenArena running pretty perfectly.

The shared libraries do exist:

$ ls /usr/lib/ | grep libGL
libGL.so
libGL.so.1
libGL.so.1.2
libGLU.so
libGLU.so.1
libGLU.so.1.3.070900
libGLw.so
libGLw.so.1
libGLw.so.1.0.0

Could the error I'm getting be because I'm running x86_64?

Last edited by privateabstract (2011-01-09 19:43:34)

Offline

#2 2011-01-09 18:11:48

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Install lib32-catalyst-utils and lib32-mesa from [multilib] if you didn't already.

Offline

#3 2011-01-09 18:18:33

privateabstract
Member
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Thanks for the quick reply, installing now.

Offline

#4 2011-01-09 18:23:27

privateabstract
Member
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Okay, I think I'm almost there.

$ ldd ./nwmain
    linux-gate.so.1 =>  (0xf779f000)
    libm.so.6 => /usr/lib32/libm.so.6 (0xf775c000)
    libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7742000)
    libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7664000)
    libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf75f9000)
    libmss.so.6 => not found
    libSDL-1.2.so.0 => not found
    libc.so.6 => /usr/lib32/libc.so.6 (0xf74ac000)
    /lib/ld-linux.so.2 (0xf77a0000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf749e000)
    libatiuki.so.1 => /usr/lib32/libatiuki.so.1 (0xf7496000)
    libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf747b000)
    libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7477000)
    libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7388000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf726d000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7255000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7251000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf724c000)
$ ./nwmain
./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory

Offline

#5 2011-01-09 18:34:39

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED] Neverwinter Nights missing shared library / audio

For libSDL-1.2.so.0 install lib32-sdl and libmss.so.6 should be provided by the game in .miles directory so you can copy it to /usr/lib32.

Offline

#6 2011-01-09 18:35:43

privateabstract
Member
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Thanks for the advice, but I discovered that if I ran it using ./nwn instead of ./nwmain it seems to work fine!

Thanks for the quick help.

Offline

#7 2011-01-09 19:26:57

privateabstract
Member
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Encountered one further problem, since updating the game I have had no sound whatsoever. No "Sound Providers" appears in the Sound Options in-game, either.

Any ideas?

Offline

#8 2011-01-09 19:33:16

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED] Neverwinter Nights missing shared library / audio

Perhaps it needs lib32-sdl_mixer.

Offline

#9 2011-01-09 19:43:14

privateabstract
Member
Registered: 2010-12-28
Posts: 18

Re: [SOLVED] Neverwinter Nights missing shared library / audio

I'll install that but for now I found a simple workaround I'll stick with until I find any in-game errors.

I took the contents of the miles directory from the original 1.29 client binaries and stuck them in the miles directory in the game folder, seems to work fine.

Offline

Board footer

Powered by FluxBB