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.
Post Reply
User avatar
funduke re-regist
Posts: 28
Joined: Mon Aug 08, 2016 5:07 pm

zmusic missing for Raze in Linux?

Post by funduke re-regist »

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
Last edited by funduke re-regist on Tue Aug 18, 2020 4:12 am, edited 1 time in total.
User avatar
Rachael
Posts: 13956
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: zmusic missing for Zaze in Linux?

Post by Rachael »

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.
User avatar
funduke re-regist
Posts: 28
Joined: Mon Aug 08, 2016 5:07 pm

Re: zmusic missing for Raze in Linux?

Post by funduke re-regist »

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.
I am not experienced enough to do this on my own just by typing the commands that are provided on that homepage.
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
User avatar
Rachael
Posts: 13956
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: zmusic missing for Raze in Linux?

Post by Rachael »

I'll go with something simpler, instead, then. Open a terminal and type the following:

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
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.
User avatar
funduke re-regist
Posts: 28
Joined: Mon Aug 08, 2016 5:07 pm

Re: zmusic missing for Raze in Linux?

Post by funduke re-regist »

I followed your instructions (although that version was already installed).

But it did not help.
I do still get that error message.

Greetings
Funduke
User avatar
Rachael
Posts: 13956
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: zmusic missing for Raze in Linux?

Post by Rachael »

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.
User avatar
funduke re-regist
Posts: 28
Joined: Mon Aug 08, 2016 5:07 pm

Re: zmusic missing for Raze in Linux?

Post by funduke re-regist »

Thanks for your help.
I will be patient.
Please post it here, when i can try it again.

Greetings
Funduke
User avatar
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?

Post by Chris »

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.
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.
Post Reply

Return to “Closed Bugs [Raze]”