Posted June 16, 2019
For those folks running on Linux, I ran into the following issue when running Toonstruck:
scummvm_x86_64: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory.
It would seem that GOG did not package libjpeg8 with the installer and I needed to build and link this library to get Toonstruck working for me (I'm running Fedora BTW).
Hopefully the following should help:
### Step One ###
# Ensure you have build-essential or your distro's equivalent installed.
# For Ubuntu based distros
$ sudo apt-get update && sudo apt-get install build-essential
# Or in my case Fedora
$ sudo dnf install @development-tools
### Step Two ###
# Download the necessary version of libjpeg source code and extract
$ wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz
$ tar zxvf jpegsrc.v8d.tar.gz
$ cd jpeg-8d
### Step Three ###
# Build the library
$ ./configure
$ make
$ sudo make install
### Step Four ###
# Create a symbolic link so the game can find the missing library
$ sudo ln -s /usr/local/lib/libjpeg.so.8 /usr/lib64/libjpeg.so.8
You should now be able to run the game!
scummvm_x86_64: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory.
It would seem that GOG did not package libjpeg8 with the installer and I needed to build and link this library to get Toonstruck working for me (I'm running Fedora BTW).
Hopefully the following should help:
### Step One ###
# Ensure you have build-essential or your distro's equivalent installed.
# For Ubuntu based distros
$ sudo apt-get update && sudo apt-get install build-essential
# Or in my case Fedora
$ sudo dnf install @development-tools
### Step Two ###
# Download the necessary version of libjpeg source code and extract
$ wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz
$ tar zxvf jpegsrc.v8d.tar.gz
$ cd jpeg-8d
### Step Three ###
# Build the library
$ ./configure
$ make
$ sudo make install
### Step Four ###
# Create a symbolic link so the game can find the missing library
$ sudo ln -s /usr/local/lib/libjpeg.so.8 /usr/lib64/libjpeg.so.8
You should now be able to run the game!