Running Raze on Chromebook Debian

Running Raze on Chromebook Debian

Postby Dwailing » Tue Mar 03, 2020 10:38 pm

Hey folks, so I'm currently trying to get Raze to work on my Chromebook in the Debian shell and it's... not going well. The GZDoom package that's available for download on zdoom.org works just fine, so I'm assuming Raze should work and I'm just missing a few of the in-between steps that ChromeOS's Linux installer would do automatically.

First off, I've put all the files in the /opt/raze directory, mirroring what the installer did with GZDoom. Then I set the included "raze" file to be an executable via:

sudo chmod +x raze

Now when I try to run this executable using the ./raze command I get:

./raze: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

Naturally, this sent me to search for libjpeg, and I didn't find libjpeg8 but I did find a package called "libjpeg62-turbo" which is already installed on my system. I'm stumped at this point because I'm still fairly new to the Linux shell, but I'd like to be able to make this work and I'd appreciate any help you can give me.
Dwailing
 
Joined: 28 Jun 2017
Discord: 5896
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Running Raze on Chromebook Debian

Postby Manuel-K » Wed Mar 04, 2020 12:24 am

"libjpeg62-turbo" contains libjpeg.so.62 and that has a different ABI than libjpeg.so.8, so they are incompatible. Since raze should automatically search for libraries in the folder that contains its binary, you can probably take the library from the debian package (https://packages.debian.org/sid/libjpeg8) and just extract the so file. Debian packages are compressed archives that contain several archives. One of them is called data.* and that contains what you want.

Edit: That package seems to be ARM only, that's unfortunate.

The Arch version (https://www.archlinux.org/packages/extr ... peg-turbo/) should work as well, although that one might be too new.
Manuel-K
 
Joined: 15 Mar 2017

Re: Running Raze on Chromebook Debian

Postby Graf Zahl » Wed Mar 04, 2020 12:57 am

If you got problems with libjpeg, activate the one provided with the source in the CMake project.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Running Raze on Chromebook Debian

Postby Rachael » Wed Mar 04, 2020 1:16 am

I think he might be using my precompiled binary - and if he is, then yeah you'd need a systemwide libjpeg8 because my cmake finds mine and will use it.

Needless to say, using Chrome OS is such an esoteric setup that I had not considered it in building the binary, and therefore should be considered unsupported as far as the binary goes. I don't know what kind of help I can offer you short of forcing CMake to use the internal library in future builds.

TBH I would just find a system that has the horsepower to compile the binary completely for ChromeOS or ... just let it sit while you're away from the system for an hour or two while it builds on that one. I'm not quite sure how to build it, my best guess is it would be similar to Debian.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Running Raze on Chromebook Debian

Postby Graf Zahl » Wed Mar 04, 2020 1:46 am

I wouldn't even consider compiling a binary Linux release against the system's libjpeg - the library is far too unreliable. You can do that when solely building for your own setup.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Running Raze on Chromebook Debian

Postby Dwailing » Wed Mar 04, 2020 3:53 pm

I ended up compiling from source. That seems to work just fine. I'm wondering what the package for GZDoom does when it's installing that's different from Raze...

Edit: Yes, to confirm, I was trying to use Rachel's precompiled binaries.
Dwailing
 
Joined: 28 Jun 2017
Discord: 5896
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Running Raze on Chromebook Debian

Postby Rachael » Wed Mar 04, 2020 3:56 pm

When the next version comes out I'll force it to use all internal libraries.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Running Raze on Chromebook Debian

Postby Dwailing » Wed Mar 04, 2020 4:00 pm

Rachael wrote:I think he might be using my precompiled binary - and if he is, then yeah you'd need a systemwide libjpeg8 because my cmake finds mine and will use it.

Needless to say, using Chrome OS is such an esoteric setup that I had not considered it in building the binary, and therefore should be considered unsupported as far as the binary goes. I don't know what kind of help I can offer you short of forcing CMake to use the internal library in future builds.

TBH I would just find a system that has the horsepower to compile the binary completely for ChromeOS or ... just let it sit while you're away from the system for an hour or two while it builds on that one. I'm not quite sure how to build it, my best guess is it would be similar to Debian.


I followed your guide for compiling on Raspberry Pi and it worked that way.
Dwailing
 
Joined: 28 Jun 2017
Discord: 5896
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Running Raze on Chromebook Debian

Postby Rachael » Wed Mar 04, 2020 4:02 pm

Cool, thanks for letting me know. That is useful information. :)
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests