While ago new version 3.19 of UnReal World RPG was released. It was very smooth release in my part. Everything was working as expected. Packages were build to several platforms that were planned. Those platforms were Ubuntu 10.04, 12.04, 14.04 and openSUSE 12.2,12.3,13.1 all there packages build from openSUSE 13.1 base distribution. Nobody found nothing to complain about binary packages before someone launched them on Arch distribution.
Good, Bad and Ugly CURL
Curl is nice library for transferring anything from anywhere that have some kind of protocol over internet. It’s been stable for ages and have nice programming interface. So we thought this is easy new dependency for URW. We should know better.
User installed Ubuntu deb package and tried to launch URW in Arch received error that was:
/usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found
Ok very nice and constructive error message. What to do? This in the dark side of Linux knowledge. If you search from web what this means you will notice there is plenty of packages that suffers from this. mostly they are proprietary like URW and build to work with Ubuntu and don’t work with Arch. It has something to do with openSSL and how old it is but that is far I debugged it.
So I installed Arch Virtualbox and started to research on this. So how to find it there ‘CURL_OPENSSL_3‘ in libcurl.so.4 or not. use ‘strings’ command (now you should say, “elementary dear Watson”, so you you don’t look stupid).
strings /usr/lib/libcurl.so.4 | grep CURL_OPENSSL_3
And no there is nothing with that name but
strings /usr/lib/libcurl.so.4 | grep CURL_OPENSSL_
Gives a shot. There is ‘CURL_OPENSSL_4‘ so what to do? You can’t do nothing if you don’t get very hazardous. You can sed ‘CURL_OPENSSL_4‘ to ‘CURL_OPENSSL_3‘ but there is no promises it will work and it’s not very convenient.
You can get Ubuntu deb, extract curl.so out of it and use LD_LIBRARY_PATH-variable (how to do that? or use OpenSUSE version of URW that works out-of-the-box.
Nor of them is very elegant. Probably we’ll have to start building Arch package also because that is most elegant version of this.
Both comments and pings are currently closed.