You are not logged in.

#1 2014-04-26 19:00:22

FenrirAB
Member
Registered: 2014-04-15
Posts: 40

[lib] error while loading shared libraries: libbassflac.so

Hello Community,

I have installed the game called BEAT HAZARD ULTRA... but when i try to run the beathazardultra.desktop the program wouldnt run...

i tried running the .bin file in the Terminal and it says:

/home/fenrirab/.beathazardultra/all/BeatHazard_Linux2:
error while loading shared libraries: libbassflac.so:
cannot open shared object file:
No such file or directory


the game came with a hge_lib directory that contains the necessary lib to run the game
and the libbassflac.so is within the directory...

my question is... this there a way to link it so that the system can recognize that i have the library?

or just anything that would help me run the game...

THANKS IN ADVANCE! ^_^


Then she sighed and squealed and kicked the air,
She sang: my bear so fair and off they went,
The bear, the bear and the maiden fair

Offline

#2 2014-04-26 19:40:50

ondoho
Member
Registered: 2013-04-30
Posts: 307

Re: [lib] error while loading shared libraries: libbassflac.so

is libbassflac.so in the same directory as the .bin? try that.
you can also try copying it to /usr /lib. maybe adjust permissions.
fwiw, the lib seems to originate from here and is available for linux.

Offline

#3 2014-04-27 20:48:31

FenrirAB
Member
Registered: 2014-04-15
Posts: 40

Re: [lib] error while loading shared libraries: libbassflac.so

ondoho.. i tried copying it to the /urs/lib but it seem to messed up my machine... i had to fresh re-install since i cant get into terminal, firefox, or settings...

heres how it looks like:

[fenrirab@xyzcomp .beathazard]$ ls
all  BeatHazard  Linux.README  SmileLogo.png  uninstall-beathazard.sh

[fenrirab@xyzcomp .beathazard]$ cd all
[fenrirab@xyzcomp all]$ ls
BeatHazard_Linux2  data  hge_lib

[fenrirab@xyzcomp all]$ cd hge_lib
[fenrirab@xyzcomp hge_lib]$ ls
liballegro_dialog.so        liballegro_memfile.so.5.0.9  libbasswv.so
liballegro_dialog.so.5.0    liballegro.so                libjpeg.so
liballegro_dialog.so.5.0.9  liballegro.so.5.0            libjpeg.so.8
liballegro_image.so         liballegro.so.5.0.9          libjpeg.so.8.0.2
liballegro_image.so.5.0     libbass_aac.so               libpng12.so.0
liballegro_image.so.5.0.9   libbass_alac.so              libpng12.so.0.46.0
liballegro_memfile.so       libbassflac.so
liballegro_memfile.so.5.0   libbass.so
[fenrirab@xyzcomp hge_lib]$ 

this there a way to link those lib* without messing with /usr/lib?


Then she sighed and squealed and kicked the air,
She sang: my bear so fair and off they went,
The bear, the bear and the maiden fair

Offline

#4 2014-04-28 16:42:12

ondoho
Member
Registered: 2013-04-30
Posts: 307

Re: [lib] error while loading shared libraries: libbassflac.so

FenrirAB wrote:

ondoho.. i tried copying it to the /urs/lib but it seem to messed up my machine... i had to fresh re-install since i cant get into terminal, firefox, or settings...

i am very sorry about this.
the only reason i can see why that would happen is because you already had libbassflac.so in /usr/lib and it was somehow essential to your system and overwriting it broke your system.
i see neither on my system.
i don't have that particular lib, so i created an empty file libbassflac.so in /usr/lib and it doesn't affect my system at all.
you must have done something else, maybe accidentally, to freeze your system.
or it was the game that froze your system, not the copying of the lib.

anyhow, that doesn't seem to have helped with your problem.

other than my other advice, i cannot advise anything else.

Last edited by ondoho (2014-04-28 16:43:04)

Offline

#5 2014-04-28 17:19:01

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 328

Re: [lib] error while loading shared libraries: libbassflac.so

Just cd into the game folder and run the game.

cd /home/fenrirab/.beathazardultra/all/
./BeatHazard_Linux2

That's the problem of packaging executable with library this way.


if it's still not working give it the path this way:

LD_LIBRARY_PATH=/home/fenrirab/.beathazardultra/all/BeatHazard_Linux2/hge_lib ./BeatHazard_Linux2

@obdoho :
I totally agree with the fact that copying a lib into /usr/lib could not have broken it's system, yet it is not a good thing to manually copy lib in /usr/lib, you will easilly lost track of files this way, or get it erased by pacman....

Offline

#6 2014-04-28 18:23:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [lib] error while loading shared libraries: libbassflac.so

Are you aware that beathazardultra is in the AUR? The maintainer may have solved your library issues for you.

Offline

#7 2014-05-04 18:30:12

FenrirAB
Member
Registered: 2014-04-15
Posts: 40

Re: [lib] error while loading shared libraries: libbassflac.so

@tomk yea.. at first it didnt work and its asking for the libbassflac.so... but thanks! i emailed the maintainer and hope he fix it..


Then she sighed and squealed and kicked the air,
She sang: my bear so fair and off they went,
The bear, the bear and the maiden fair

Offline

Board footer

Powered by FluxBB