|
From: | Kristian Lein-Mathisen |
Subject: | Re: [Chicken-users] How to compile with openssl? |
Date: | Tue, 7 Oct 2014 14:28:46 +0200 |
Sascha, putting (use openssl) in your code makes any difference?Best wishes,
Arthur2014-10-07 9:16 GMT-03:00 Sascha Ziemann <address@hidden>:_______________________________________________2014-10-07 13:48 GMT+02:00 Peter Bex <address@hidden>:$ grep /usr/lib/i386-linux-gnu/i586/libssl.so.1.0.0 *.trace
You'll need to ensure that openssl is available to the application.
Like the error message says, all you need to do is ensure that it's
installed and it'll work. If you're using -deploy, make sure that you
add the egg to your application bundle. If you're using a custom egg
repository, ensure that openssl is in there.
I run the interpreted and compiled version on the same system. How can the egg not being there for the compiled version, if it is there for the interpreted version?I tried strace on the interpreted and the compiled version. The funny thing is, that the compiled version opens libssl and after that reports the error that openssl is not available.$ strace ./domrobot 127.0.0.1 2>&1|grep sslstat64("/var/lib//chicken/6/openssl.so", {st_mode=S_IFREG|0755, st_size=251089, ...}) = 0
stat64("/var/lib//chicken/6/openssl", 0xbff9239c) = -1 ENOENT (No such file or directory)
stat64("/var/lib//chicken/6/openssl.so", {st_mode=S_IFREG|0755, st_size=251089, ...}) = 0
open("/var/lib//chicken/6/openssl.so", O_RDONLY) = 3
open("/usr/lib/i586/libssl.so.1.0.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.1.0.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i586/libssl.so.1.0.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.1.0.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i586/libssl.so.1.0.0", O_RDONLY) = 3
write(2, "(ssl-connect) Unable to connect "..., 94(ssl-connect) Unable to connect over HTTPS. To fix this, install the openssl egg and try again) = 94csi opens just the same lib:
csc.trace:open("/usr/lib/i386-linux-gnu/i586/libssl.so.1.0.0", O_RDONLY) = 3
csi.trace:open("/usr/lib/i386-linux-gnu/i586/libssl.so.1.0.0", O_RDONLY) = 4I do not think that my system installation is broken. I think csi and csc do different things with libssl.Regards,
Sascha
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users
_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |