Thank you for uploading an autobuild in the raze/linux directory.
I tried it and got this error message:
./raze: error while loading shared libraries: libzmusiclite.so.1: cannot open shared object file: No such file or directory
Is there a solution for this problem?
Greetings
Funduke
zmusic missing for Raze in Linux?
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- funduke re-regist
- Posts: 28
- Joined: Mon Aug 08, 2016 5:07 pm
zmusic missing for Raze in Linux?
Last edited by funduke re-regist on Tue Aug 18, 2020 4:12 am, edited 1 time in total.
Re: zmusic missing for Zaze in Linux?
I am really not too sure how to fix this short of providing my own prepackaged library, which will require root access to install. You can try and install the latest release of GZDoom from http://debian.drdteam.org/ and see if that overall affects anything, since that package should have the dependencies.
- funduke re-regist
- Posts: 28
- Joined: Mon Aug 08, 2016 5:07 pm
Re: zmusic missing for Raze in Linux?
I am not experienced enough to do this on my own just by typing the commands that are provided on that homepage.Rachael wrote:You can try and install the latest release of GZDoom from http://debian.drdteam.org/ and see if that overall affects anything, since that package should have the dependencies.
Would you please tell me step by step how to do this?
Greetings
Funduke
Edit:
The problem is the same wth the gzdoom linux autobuild.
But the official Ubuntu DEB file, that you provide in the Downloads page of the zdoom webpage works fine.
Greetings
Funduke
Re: zmusic missing for Raze in Linux?
I'll go with something simpler, instead, then. Open a terminal and type the following:
This should install GZDoom and automatically grab its dependencies.
If you get an error with wget not being found on your system, it should tell you how to quickly fix that using 'sudo apt install wget'. Once wget is installed continue like normal.
Note that I am not absolutely sure that this will install the correct ZMusic, since Raze uses zmusiclite. If it doesn't, then obviously I will have to provide my own package - and that'll take some time. At the very least though it'll make sure the other important stuff like zlib and libjpeg are correctly in place though.
Code: Select all
cd ~
wget https://github.com/coelckers/gzdoom/releases/download/g4.4.2/gzdoom_4.4.2_amd64.deb
sudo dpkg -i gzdoom_4.4.2_amd64.deb
If you get an error with wget not being found on your system, it should tell you how to quickly fix that using 'sudo apt install wget'. Once wget is installed continue like normal.
Note that I am not absolutely sure that this will install the correct ZMusic, since Raze uses zmusiclite. If it doesn't, then obviously I will have to provide my own package - and that'll take some time. At the very least though it'll make sure the other important stuff like zlib and libjpeg are correctly in place though.
- funduke re-regist
- Posts: 28
- Joined: Mon Aug 08, 2016 5:07 pm
Re: zmusic missing for Raze in Linux?
I followed your instructions (although that version was already installed).
But it did not help.
I do still get that error message.
Greetings
Funduke
But it did not help.
I do still get that error message.
Greetings
Funduke
Re: zmusic missing for Raze in Linux?
Then I will have to supply a specific ZMusic package. It will have to wait though, Debian's package building takes a special setup to do correctly.
- funduke re-regist
- Posts: 28
- Joined: Mon Aug 08, 2016 5:07 pm
Re: zmusic missing for Raze in Linux?
Thanks for your help.
I will be patient.
Please post it here, when i can try it again.
Greetings
Funduke
I will be patient.
Please post it here, when i can try it again.
Greetings
Funduke
- Chris
- Posts: 2978
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: zmusic missing for Zaze in Linux?
If you link the executable with '-Wl,-rpath=$ORIGIN', the system will look in the same directory as the executable for shared libs (be careful that the $ORIGIN part doesn't get clobbered by the shell thinking it's an env var; might need to add as backlashes or something). Alternatively, you can do '-Wl,-rpath=$ORIGIN/libs' to have it look in the libs/ subdirectory of the executable's directory.Rachael wrote:I am really not too sure how to fix this short of providing my own prepackaged library, which will require root access to install.