LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 03-06-2024, 04:38 PM   #1
6502
Member
 
Registered: Aug 2021
Distribution: MX-21.2.1 Wildflower
Posts: 54

Rep: Reputation: Disabled
MX-23.2 Linux, missing shared libraries


I have successfully installed wine. When trying to start =>

Heroes of Might & Magic II raises a message:
Quote:
error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory
Is there any way to run the game without errors ?

Last edited by 6502; 03-07-2024 at 04:52 AM.
 
Old 03-06-2024, 08:48 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,137
Blog Entries: 21

Rep: Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479Reputation: 3479
Quote:
I have successfully installed wine.
How?
 
Old 03-06-2024, 10:06 PM   #3
6502
Member
 
Registered: Aug 2021
Distribution: MX-21.2.1 Wildflower
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
How?
Really it is not easy to choose which of many possible apps related to wine to install for achieving of a working wine I decide to install application Play on Linux (from section Games of MX Package Installer). I checked option 'Also install "Recommended" Packages'. Because Play on Linux needs an installed wine about self successful working it installed for me wine. I tested wine by playing another game - LODERUNNER the Legend Returns (Sierra) - it works!

Last edited by 6502; 03-06-2024 at 10:12 PM.
 
Old 03-06-2024, 10:11 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
For the missing library, find the package containing libFLAC.so.8 and install it, or something close and simlink it.

To find which package contains a file, use apt-file. If you don't have apt-file installed already, install it and update its database before using it to search.

Code:
sudo apt install apt-file  
sudo apt-file update
apt-file search libFLAC.so
Then install the appropriate package. If it doesn't find it, then its not in your distros repositories.
 
1 members found this post helpful.
Old 03-06-2024, 10:19 PM   #5
6502
Member
 
Registered: Aug 2021
Distribution: MX-21.2.1 Wildflower
Posts: 54

Original Poster
Rep: Reputation: Disabled
Code:
~
$ apt-file search libFLAC.so
libflac-dev: /usr/lib/x86_64-linux-gnu/libFLAC.so
libflac12: /usr/lib/x86_64-linux-gnu/libFLAC.so.12
libflac12: /usr/lib/x86_64-linux-gnu/libFLAC.so.12.0.0
 
Old 03-06-2024, 10:21 PM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
So you have a much newer version available in your repo. You could install that (libflac12) and then create a simlink to it called libFLAC.so.8 and cross your fingers that 12 is backwards compatible with 8, it might be.

Code:
sudo apt install libflac12
ln -s /usr/lib/x86_64-linux-gnu/libFLAC.so.12 /path/to/your/game/libFLAC.so.8
 
1 members found this post helpful.
Old 03-06-2024, 10:35 PM   #7
6502
Member
 
Registered: Aug 2021
Distribution: MX-21.2.1 Wildflower
Posts: 54

Original Poster
Rep: Reputation: Disabled
enigma9o7, thanks!
Now HoMAM II works fine using just installed and copied to game path libFLAC.so.8
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with Shared Libraries Even Though Libraries Exist Mooncakes Linux - Software 4 11-07-2023 07:12 PM
Static libraries vs shared Libraries catallergy Linux - Newbie 2 03-16-2010 01:30 PM
linux init error in loading shared shared libraries akaran Linux - Software 1 05-28-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration