ancruna / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

"load_dll: cannot load libssl.so" #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile mongoose
2. run with ./mongoose -s example/ssl_cert.pem -r example/ -e error.txt
3. it will instantly fail and in error.txt it says "load_dll: cannot load 
libssl.so"

What is the expected output? What do you see instead?
Starting. Possibly just a warning saying SSL isn't usable at this time.

What version of the product are you using? On what operating system?
Not sure what version. This is on AIX 5.3 using xlc.

Original issue reported on code.google.com by meyer.ke...@gmail.com on 1 Jul 2011 at 8:13

GoogleCodeExporter commented 9 years ago
You shouldn't use -s flag if there is no SSL

Original comment by valenok on 1 Jul 2011 at 11:00

GoogleCodeExporter commented 9 years ago
But I have compiled it in and pointed to the example certificate. It still 
fails. SSL is required for what I am doing.

Original comment by meyer.ke...@gmail.com on 11 Jul 2011 at 4:52

GoogleCodeExporter commented 9 years ago
Mongoose loads SSL library dynamically. If your system does not have libssl.so, 
Mongoose will fail to initialize HTTPS socket.
Make sure your AIX has "libssl.so" library installed. Create a symlink if it is 
installed with different name.
Alternatively, you can compile Mongoose directly against SSL, use -DNO_SSL_DL 
compilation flag for that.

Original comment by valenok on 26 Aug 2011 at 9:24