Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Zak Mc Kracken doesn't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 234

PostPosted: Mon Jul 23, 2018 3:03 pm    Post subject: [solved]Zak Mc Kracken doesn't start Reply with quote

After downloading from:
http://www.mckracken.net/

I unpacked the file and had to make "start" and "visplayer" able to execute.
At start visplayer is crashing it doesn't find some libs which where delivered with the downloaded file in a sub directory:

Code:
ldd ./visplayer
        linux-vdso.so.1 (0x00007ffe8ebc1000)
        libavcodec.so.56 => not found
        libavformat.so.56 => not found
        libavutil.so.54 => not found
        libswresample.so.1 => not found
        libswscale.so.3 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00007efd92d20000)
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007efd92a7c000)
        libopenal.so.1 => /usr/lib64/libopenal.so.1 (0x00007efd927e1000)
        librt.so.1 => /lib64/librt.so.1 (0x00007efd925d9000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libstdc++.so.6 (0x00007efd921d4000)
        libm.so.6 => /lib64/libm.so.6 (0x00007efd91e8a000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 (0x00007efd91c73000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007efd91a53000)
        libc.so.6 => /lib64/libc.so.6 (0x00007efd91691000)
        /lib64/ld-linux-x86-64.so.2 (0x00007efd92f24000)
        libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0 (0x00007efd91461000)
        libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007efd91193000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007efd90e56000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007efd90c44000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007efd90a1b000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007efd90817000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007efd90611000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007efd903fc000)



Code:
ls libs64/
insgesamt 13384
-rw-r--r-- 1 darfwas darfwas 10782912 24. Jun 2015  libavcodec.so.56
-rw-r--r-- 1 darfwas darfwas    54536 24. Jun 2015  libavdevice.so.56
-rw-r--r-- 1 darfwas darfwas   144592 24. Jun 2015  libavfilter.so.5
-rw-r--r-- 1 darfwas darfwas  1750824 24. Jun 2015  libavformat.so.56
-rw-r--r-- 1 darfwas darfwas   278808 24. Jun 2015  libavutil.so.54
-rw-r--r-- 1 darfwas darfwas    95768 24. Jun 2015  libswresample.so.1
-rw-r--r-- 1 darfwas darfwas   474808 24. Jun 2015  libswscale.so.3
-rw-r--r-- 1 darfwas darfwas   102888 24. Jun 2015  libz.so.1


How can I start the game with the needed libraries?
Thank you
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...


Last edited by Linubie on Tue Jul 24, 2018 5:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19234
Location: here

PostPosted: Mon Jul 23, 2018 4:52 pm    Post subject: Reply with quote

You tried with LD_LIBRARY_PATH?
Code:
LD_LIBRARY_PATH="/path/to/libs64:$LD_LIBRARY_PATH" ./visplayer

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 234

PostPosted: Tue Jul 24, 2018 9:54 am    Post subject: Reply with quote

@fedeliallalinea

thank you for you suggestion but it still doesn't work:

Code:
~/ZakMcKracken-BTAS $ LD_LIBRARY_PATH="~/ZakMcKracken-BTAS/libs64:$LD_LIBRARY_PATH" ./visplayer
./visplayer: error while loading shared libraries: libavcodec.so.56: cannot open shared object file: No such file or directory


Code:
LD_LIBRARY_PATH="~/ZakMcKracken-BTAS/libs64:$LD_LIBRARY_PATH" ldd ./visplayer
        linux-vdso.so.1 (0x00007ffe93d95000)
        libavcodec.so.56 => not found
        libavformat.so.56 => not found
        libavutil.so.54 => not found
        libswresample.so.1 => not found
        libswscale.so.3 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fdc11e27000)
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007fdc11b83000)
        libopenal.so.1 => /usr/lib64/libopenal.so.1 (0x00007fdc118e8000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fdc116e0000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libstdc++.so.6 (0x00007fdc112db000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fdc10f91000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 (0x00007fdc10d7a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdc10b5a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fdc10798000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdc1202b000)
        libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0 (0x00007fdc10568000)
        libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007fdc1029a000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fdc0ff5d000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fdc0fd4b000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fdc0fb22000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fdc0f91e000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fdc0f718000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fdc0f503000)


Code:
~/ZakMcKracken-BTAS $ ls ~/ZakMcKracken-BTAS/libs64
insgesamt 13384
-rw-r--r-- 1 darfwas darfwas 10782912 24. Jun 2015  libavcodec.so.56
-rw-r--r-- 1 darfwas darfwas    54536 24. Jun 2015  libavdevice.so.56
-rw-r--r-- 1 darfwas darfwas   144592 24. Jun 2015  libavfilter.so.5
-rw-r--r-- 1 darfwas darfwas  1750824 24. Jun 2015  libavformat.so.56
-rw-r--r-- 1 darfwas darfwas   278808 24. Jun 2015  libavutil.so.54
-rw-r--r-- 1 darfwas darfwas    95768 24. Jun 2015  libswresample.so.1
-rw-r--r-- 1 darfwas darfwas   474808 24. Jun 2015  libswscale.so.3
-rw-r--r-- 1 darfwas darfwas   102888 24. Jun 2015  libz.so.1

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19234
Location: here

PostPosted: Tue Jul 24, 2018 10:09 am    Post subject: Reply with quote

With LD_LIBRARY_PATH inline not working
Code:
$ LD_LIBRARY_PATH="libs64:$LD_LIBRARY_PATH"  ldd ./visplayer
        linux-vdso.so.1 (0x00007ffde410a000)
        libavcodec.so.56 => not found
        libavformat.so.56 => not found
        libavutil.so.54 => not found
        libswresample.so.1 => not found
        libswscale.so.3 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5735f42000)
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007f5735c9e000)
        libopenal.so.1 => not found
        librt.so.1 => /lib64/librt.so.1 (0x00007f5735a96000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libstdc++.so.6 (0x00007f5735691000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5735347000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 (0x00007f5735130000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5734f10000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5734b4e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5736146000)
        libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0 (0x00007f573491e000)
        libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007f5734650000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f5734313000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f5734101000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f5733ed8000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f5733cd4000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f5733ace000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f57338b9000)

but with export yes
Code:
$ export LD_LIBRARY_PATH="libs64:$LD_LIBRARY_PATH" 
$ ldd ./visplayer
        linux-vdso.so.1 (0x00007ffe58bf7000)
        libavcodec.so.56 => lib64/libavcodec.so.56 (0x00007f99b1ecb000)
        libavformat.so.56 => lib64/libavformat.so.56 (0x00007f99b1b20000)
        libavutil.so.54 => lib64/libavutil.so.54 (0x00007f99b18cc000)
        libswresample.so.1 => lib64/libswresample.so.1 (0x00007f99b16b5000)
        libswscale.so.3 => lib64/libswscale.so.3 (0x00007f99b1439000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f99b1235000)
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007f99b0f91000)
        libopenal.so.1 => not found
        librt.so.1 => /lib64/librt.so.1 (0x00007f99b0d89000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libstdc++.so.6 (0x00007f99b0984000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f99b063a000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 (0x00007f99b0423000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f99b0203000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f99afe41000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f99b3160000)
        libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0 (0x00007f99afc11000)
        libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007f99af943000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f99af606000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f99af3f4000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f99af1cb000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f99aefc7000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f99aedc1000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f99aebac000)

Only libopenal.so.1 is not found but you can install media-libs/openal package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 234

PostPosted: Tue Jul 24, 2018 5:42 pm    Post subject: Reply with quote

It's working now!
Thank You!
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum