You are not logged in.

#1 2014-10-07 04:06:09

redneckdrow
Member
Registered: 2014-10-07
Posts: 2

Baldur's Gate Enhanced Edition missing libjson.so.0

Hi guys, I just installed the beta of BGEE from Steam and I noticed that it won't start. I figured out it was missing libjson.so.0 by running it from the terminal.

Knowing good and well I had json-c and lib32-json-c installed, I was stumped. 

So I turned to the wiki: https://wiki.archlinux.org/index.php/St … leshooting

and as it suggested I ran

ldd baldursgate

and I got:

       ./baldursgate: /usr/lib32/libcrypto.so.1.0.0: no version information available (required by ./baldursgate)
./baldursgate: /usr/lib32/libssl.so.1.0.0: no version information available (required by ./baldursgate)
./baldursgate: /usr/lib32/libssl.so.1.0.0: no version information available (required by ./baldursgate)

        linux-gate.so.1 (0xf77dc000)
	libjson.so.0 => not found
	libopenal.so.1 => /usr/lib32/libopenal.so.1 (0xf7708000)
	libGL.so.1 => /usr/lib32/libGL.so.1 (0xf75f0000)
	libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf75d0000)
	librt.so.1 => /usr/lib32/librt.so.1 (0xf75c0000)
	libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf7550000)
	libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf7358000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf7328000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf71f0000)
	libdl.so.2 => /usr/lib32/libdl.so.2 (0xf71e8000)
	libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf70f0000)
	libm.so.6 => /usr/lib32/libm.so.6 (0xf70a0000)
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7080000)
	libc.so.6 => /usr/lib32/libc.so.6 (0xf6ec8000)
	libnvidia-tls.so.340.32 => /usr/lib32/libnvidia-tls.so.340.32 (0xf6ec0000)
	libnvidia-glcore.so.340.32 => /usr/lib32/libnvidia-glcore.so.340.32 (0xf4928000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf4910000)
	/lib/ld-linux.so.2 (0xf77b8000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf48f8000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf48d0000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf48c8000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf48c0000)

any help here?

Last edited by redneckdrow (2014-10-07 04:06:43)

Offline

#2 2014-10-07 10:51:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

the comments here https://aur.archlinux.org/packages/grive/ indicate json-c has changed the library name with version 12.

If you downgrade to json-c / lib32-json-c 11.x , does it work ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2014-10-07 17:47:11

redneckdrow
Member
Registered: 2014-10-07
Posts: 2

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

Well, that almost worked. Now I get a segfault.

/baldursgate: /usr/lib32/libcrypto.so.1.0.0: no version information available (required by /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/baldursgate)
/home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/baldursgate: /usr/lib32/libssl.so.1.0.0: no version information available (required by /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/baldursgate)
/home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/baldursgate: /usr/lib32/libssl.so.1.0.0: no version information available (required by /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/baldursgate)
INFO: Creating DPWrapper
INFO: scanning:(18) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/override
INFO: scanning:(16) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/scripts
INFO: scanning:(15) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/sounds
INFO: scanning:(13) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/lang/en_US/sounds
INFO: scanning:(11) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/portraits
INFO: scanning:(10) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/characters
INFO: scanning:(9) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/movies
INFO: scanning:(8) /home/khelben/.local/share/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/lang/en_US/movies
INFO: scanning:(6) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(5) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(4) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(3) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(2) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(1) /home/khelben/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: gl.useShaders: 1
gl.has_s3tc: 1
gl.has_pvrtc: 0
gl.has_atc: 0
gl.postprocessing: 1
gl.uploadFormat: 0x80E1
gl.uploadType: 0x8367
Segmentation fault (core dumped)

Now, I have to tell you, I got the same error when I had the idea of symlinking the newer library with the older filename too. I undid that before I tried this.

I'm guessing it's some problem with opengl or my nvidia driver.

Now, how do I continue troubleshooting?

Last edited by redneckdrow (2014-10-07 18:16:29)

Offline

#4 2014-11-23 14:25:47

wootsgoinon
Member
Registered: 2013-10-30
Posts: 44

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

same here. "libjson.so.0: cannot open shared object file: No such file or directory"

Offline

#5 2015-01-18 02:36:47

Lazarus555
Member
Registered: 2013-07-22
Posts: 22

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

Hey everyone,

i hope this is not considered "necrobumping".:-D

I solved the issues discribed in the first post.
Just add the path to the steam runtimes, which are located under ~/.steam/root/ubuntu12_32/steam-runtime/(amd64 and i386)/usr/lib/(x86_64-linux-gnu and i386-linux-gnu)
to the ld.so.conf and the loader will find all the right libraries even without running the steam runtime explicitly.

Have a nice day,
Lazarus

Offline

#6 2015-01-28 08:42:36

Dante_C
Member
Registered: 2015-01-28
Posts: 1

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

Thank you so much, Lazarus555!

I ran into the same problem and I'm glad I found your answer.

I had to add both:
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
/home/username/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/
... to /etc/ld.so.conf , since I was missing other libraries also.
After that ran "ldconfig" and all good.

Offline

#7 2015-03-05 21:56:24

quandasim
Member
Registered: 2015-03-05
Posts: 5

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

hi
baldurs gate can be obtained without steam i think, i tried folowing solution and it worked for me

cd /usr/lib32/
sudo ln -s libjson-c.so libjson.so.0

now the game works without problem;)

Offline

#8 2016-05-15 18:22:49

dkremer
Member
Registered: 2011-08-10
Posts: 15

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

Hi.

I had to make the game working as well.

It was really super easy to make it work.

The first step is to install all the lib32 libraries needed. https://wiki.archlinux.org/index.php/Multilib

The second step is to replace in ./start.sh the location of the shared libraries :

 local lib_path32="/usr/lib32/"                                                                                                                                                                                                               
 local lib_path64="/usr/lib32/"  

Then do as the previous msg is saying :

cd /usr/lib32/
sudo ln -s libjson-c.so libjson.so.0

Last edited by dkremer (2016-05-15 18:25:28)

Offline

#9 2016-05-16 08:42:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Baldur's Gate Enhanced Edition missing libjson.so.0

Thanks for sharing, dkremer. I'm going to take the opportunity to close this old thread now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB