Closed ryzom-pipeline closed 5 years ago
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
The openURL is fixed, thanks.
OpenSSL 1.1 issue does not happen for me on clean ubuntu 18.04 and self compiled client (libssl-dev 1.1.0g, libcurl4-openssl-dev 7.58.0). There is libssl1.0.0 (1.0.2n) installed too, but client is linked to libssl.so.1.1 (as is curl)
Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).
Well done @nimetu for the fix about openDocWithExtension, indeed I the LD_LIBRARY_PATH environment variable wasn't defined to it returned NULL.
About SSL problem, I didn't try but perhaps OpenSSL calls were made in different threads, someone had the same issue :
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
Quick check into debian9/i386 shows libcurl.so is linked against libssl1.0.2 while libssl-dev gives 1.1.0
You need to use libssl1.0-dev package
Using libssl-dev, final linking gives this warning
[100%] Linking CXX executable ../../../bin/ryzom_client_dev
/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/gcc/i686-linux-gnu/6/../../../i386-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/gcc/i686-linux-gnu/6/../../../i386-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
[100%] Built target ryzom_client
Original comment by emorrp1 (Bitbucket: emorrp1, GitHub: emorrp1).
@nimetu firstly, I can confirm your openURL patch works for me, thanks
And secondly thanks for the diagnosis (my build log didn't show the warnings), I see now that using 1.1 requires the libcurl4
package, which is available in bionic
, but not stretch
, so that's why it works on Ubuntu.
Original report by emorrp1 (Bitbucket: emorrp1, GitHub: emorrp1).
I believe this is related to #312, or at least the code around the fix efa3ac83949d.
Rebuilding against libssl1.0-dev resolves the first issue and I am able to play Ryzom. You can even get to the Create Account screen, but clicking on the "terms of use" link crashes with in
openDocWithExtension
(but the page does open in the browser):Thank you and let me know if there's anything I can do to help test, this is 100% reproducible on two of my machines.
edit: the 1.1 build requires the
libcurl4
package, so this is not relevantIt does build successfully with
libssl-dev
(i.e. openssl 1.1), see attached build log & version info. After data patching and after the loading screen completes but before it shows the character selection, the client crashes with this stacktrace inX509_STORE_add_cert
. Actually, it's even easier to trigger a crash, just click Create Account, see also gdb.txt: