Hi i have just gotten the simulinux-111-2-2.zip un packed it but when i run it via the terminal i get the error message
Quote./simutrans: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
now i looked at other forum posts and found some people had the same problem, but i tried the instructions that they were given i.e
Quoteln -s /usr/libs/libbz2.so.1 /usr/libs/libbz2.1.0
etc but to no avail.
i have checked opensuse's repositories and all the libbz2 libraries are installed both 32 and 64 bit versions. i have also checked about simutrans in the repositories but they only have the version 0.88.10.5-112.1 which is quite old.
has someone found a solution to the above problem?
Thanks :)
Try to rename or soft link your installed libbz2 library to libbz2.so.1.0
something like:
ln -s /usr/libs/libbz2.so.1 /usr/libs/libbz2.so.1.0
Dont rename, just copy it, worked for me ;)
Edit: Vonjo, giving him the solution that didnt work isnt helping
so, basically im suggesting cp /usr/lib/libbz2.so.1 /usr/lib/libbz2.so.1.0
(why is it libs and not lib?!)
Quote from: dom700 on April 11, 2012, 07:07:26 AM
Dont rename, just copy it, worked for me ;)
Yes, I'm sorry. Don't rename it, as it can break some applications.
Just (soft) link, like I said before:
ln -s /usr/libs/libbz2.so.1 /usr/libs/libbz2.so.1.0
You can also copy, but it won't be automatically updated on system update.
Well i managed to get simutrans to work
the libbz2.so.1 file was located in /lib and not /usr/lib so all i did was
Quotecp /lib/libbz2.so.1 /lib/libbz2.so.1.0 (as root)
the above command worked but i think i should have created a static link rather than doing a copy as it may not get updated the next time the package is updated. ;:)
Seriously, dont worry about this, I had to do this for some program in 11.2 (I think) and nothing got ever updated.