It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Running BGEE results in:
./BaldursGate: symbol lookup error: ./BaldursGate: undefined symbol: SSL_export_keying_material, version OPENSSL_1.0.1


I've already tried using the steam libcrypto and libssl.

Any idea how to solve this?
What version of OpenSSL did you obtain from Steam? Baldur's Gate is well-known for using an ancient and unsupported version of OpenSSL, which the developer should have migrated away from years ago. It's likely that Steam gave you something relatively modern, which is too new for what Baldur's Gate uses.
avatar
advowson: What version of OpenSSL did you obtain from Steam? Baldur's Gate is well-known for using an ancient and unsupported version of OpenSSL, which the developer should have migrated away from years ago. It's likely that Steam gave you something relatively modern, which is too new for what Baldur's Gate uses.
~/.steam/bin/steam-runtime/i386/lib/i386-linux-gnu> strings libssl.so.1.0.0 | grep "1\.0"
libcrypto.so.1.0.0
libssl.so.1.0.0
OPENSSL_1.0.0
OPENSSL_1.0.1
SSLv3 part of OpenSSL 1.0.1 14 Mar 2012
TLSv1 part of OpenSSL 1.0.1 14 Mar 2012
DTLSv1 part of OpenSSL 1.0.1 14 Mar 2012
OpenSSL 1.0.1 14 Mar 2012
libssl.so.1.0.0

I don't know, but this looks pretty old too :D
Are you sure that library is even used? You ran in an i386 directory, which would be for 32-bit libraries. The latest version of Baldur's Gate is a 64-bit program, and would need a 64-bit library. What version of Baldur's Gate are you trying to run? v2.6.6.0? How exactly did you direct the game to use the Steam openssl? Did your attempt change the game's output in any way?
related post on the suse forms: https://forums.opensuse.org/showthread.php/576577-Running-BaldursGateII-Gives-an-OPENSSL_1-0-1-error?p=3166018#post3166018

Short answer is LD_PRELOAD=~/.steam/bin/steam-runtime/lib/x86_64-linux-gnu/libssl.so.1.0.0 %command% in the steam client, also confirmed the LD_PRELOAD works for the GOG version.
Post edited October 14, 2022 by pageround