blt4linux / blt4l

PAYDAY 2 SteamOS/Linux LUA loader.
Other
57 stars 14 forks source link

/usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found #109

Open florensie opened 6 years ago

florensie commented 6 years ago

https://pastebin.com/nBrSL7rq

I have installed blt4l using the AUR package but it could be that it's messed up because I also tried installing and uninstalling a couple of times and different types of installs because it wasn't working. In the end I found out I should add the launch command but then I get this. The output is from running steam in the command line and then launching payday.

When I run steam-native instead it just launches runtime anyways and the game is able to launch but mods aren't there.

RomanHargrave commented 6 years ago

@florensie to elimate the possibility that the game/BLT is faulty, please launch PAYDAY 2 in the following manner

Change your working directory to the PAYDAY 2 install location, and run the following command. This will output the actual game debug logs.

env SteamAppId=218620 SteamAppUser=(your steam username) SteamGameId=218620 SteamUser=(your steam username) suppress_restart=1 LD_PRELOAD=(path to libblt_loader.so - cannot have spaces) ./payday2_release
florensie commented 6 years ago

With those settings the game launches fine with blt working. Can you confirm that the correct launch option for steam is blt4l %command%? Also, the game asked me to install beardlib but after the in-game download ended it got stuck on extracting.

https://pastebin.com/2Q53zTr7

ZNixian commented 6 years ago

Can you confirm that the correct launch option for steam is blt4l %command%

No, it's LD_PRELOAD="$LD_PRELOAD libblt_loader.so" %command%.

After ensuring that libblt_loader.so has been copied to your PAYDAY 2 directory.

florensie commented 6 years ago

I'm using the AUR package with has its own little command to run it and the AUR install log gave me the launch option I mentioned. With the option you have given me the game crashes after the intro.

ZNixian commented 6 years ago

Can you check the contents of mods/logs, in particular is there a crash.txt file and if so, what's it's contents?

florensie commented 6 years ago

there is no crash.txt

ZNixian commented 6 years ago

That's bizarre. No idea what might be causing it, sorry.

florensie commented 6 years ago

When I use /usr/lib/blt4l/libblt_loader.so for LD_PRELOAD it works but I still get the beardlib issue. Which is what I used in @RomanHargrave his command as well.

ZNixian commented 6 years ago

In that case, you probably had an outdated version of BLT in your PAYDAY 2 directory. No problem if it's working now.

RE BeardLib - that's HoloHUD asking to install it. I'd suggest downloading and installing it manually.

RomanHargrave commented 6 years ago

Please try compiling blt4l @florensie

florensie commented 6 years ago

@ZNixian Installing manually doesn't seem to work. It still asks to install it when I launch the game and the game crashes.

killstrelok commented 5 years ago

I think I've found out the cause of this error. I'm running Ubuntu 18.04.

So I couldn't get the game working with the command posted above (env SteamAppId=218620 SteamAppUser=(your steam username) SteamGameId=218620 SteamUser=(your steam username) suppress_restart=1 LD_PRELOAD=(path to libblt_loader.so - cannot have spaces) ./payday2_release) as I'd get the error regarding CURL_OPENSSL_3.

Here's what "fixes" it: There's a problem with dependencies. Ubuntu 18.04 will refuse to install libcurl3 if libcurl4 is installed. BLT4L will NOT start with libcurl4 installed. To start it, I had to install libcurl3 (I don't recommend doing this, it uninstalled cmake, playonlinux and libcurl4). Then I wouldn't get the error message again.

It's quite a big problem as installing libcurl3, for some strange reason, tanked my FPS by A LOT. We're talking about going down from 100 fps to 10-15. Absolutely crazy. But the mods would work, though.

Is there any chance to make the blt4l depend on libcurl4 instead of 3?

dribbleondo commented 5 years ago

These days I have moved onto recommending @ZNixian 's https://superblt.znix.xyz/ as that uses Libcurl4 for pretty much that exact reason.

RomanHargrave commented 5 years ago

@dribbleondo @killstrelok I haven't been playing much Payday 2 lately. I have commit access to ZuperBLT, so I may continue work there if I get back in to it - or alternatively may overhall BLT4L.