Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psi+ (IM client) compiles fine but can't connect to TLS/SSL (complains about missing libqca-ossl) #1355

Closed
Giova84 opened this issue May 20, 2017 · 5 comments
Labels

Comments

@Giova84
Copy link
Contributor

Giova84 commented May 20, 2017

Hi, some days ago, using HaikuPorter, I attempted to compile Psi+ (https://github.com/haikuports/haikuports/tree/master/net-im/psi_plus)

And I falls in a batch of errors (it was unable to find qmake and then QtCrypto),
after fixing/patching the code, HaikuPorter was still unable to compile Psi+, then I manually compile Psi+, and went fine: all, including plugins, properly run.

But once I started Psi+, it was unable to connect (in particular, couldn't connect to Gtalk, which is the main reason for I compiled Psi+) claiming that it cannot connect to TLS/SSL, because a plugin was missing. I will summarize: by downloading and starting an old version of Psi+ I found that such plugin is called libqca_ossl.so, and was present in the "crypto" folder of Psi+ installation's path: I was able to start this old version of Psi+ by a shell command:
QT_PLUGIN_PATH=/boot/home/config/non-packaged/psi_plus/qtplug /boot/home/config/non-packaged/psi_plus/psi-plus

But this "trick" didn't worked with the new version which I compiled.
Obviously I compiled Psi+ using qca2 (and in facts, qca is marked as required in the Psi+'s recipe, and I didnt' see any error about qca, during compiling), but this seems not enough.

@korli korli changed the title Psi+ (IM client) compile fines but can't connect to TLS/SSL (complains about missing libqca-ossl) Psi+ (IM client) compile fine but can't connect to TLS/SSL (complains about missing libqca-ossl) May 24, 2017
@korli korli changed the title Psi+ (IM client) compile fine but can't connect to TLS/SSL (complains about missing libqca-ossl) Psi+ (IM client) compiles fine but can't connect to TLS/SSL (complains about missing libqca-ossl) May 24, 2017
@diversys
Copy link
Member

diversys commented May 26, 2017

SSL search path is missing in current Qt5 port. To workaround try this:

mkdir -p /usr/local
ln -s /boot/system/data/ssl /usr/local/ssl

@Giova84
Copy link
Contributor Author

Giova84 commented May 26, 2017

As reported in the Psi+'s recipe, it currently relies on Qt 4.8.7 (https://github.com/haikuports/haikuports/blob/master/net-im/psi_plus/psi_plus-0.16.475.recipe) so I've built it using QT 4.8.7

However I've solved for now with a very dirty workaround: I opened with DiskProbe, the libqca_ossl.so file (from the old Psi+) and I changed the entry i386 haiku g++-4 no-pkg-config to i386 haiku g++-4 full-config

@korli
Copy link
Contributor

korli commented May 30, 2017

@diversys any ideas where to fix the SSL search path in Qt5?

@diversys
Copy link
Member

diversys commented May 30, 2017 via email

@threedeyes
Copy link
Member

threedeyes commented Aug 8, 2018

Fixed in 2942715.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants