meduketto / iksemel

Automatically exported from code.google.com/p/iksemel
GNU Lesser General Public License v2.1
31 stars 24 forks source link

res_jabber.c not detecting openssl #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use CentOS 5, install iksemel.
2.
3.

What is the expected output? What do you see instead?
If openssl is installed, should not give any error. Instead, it gives,the 
following.
"[Jun 17 13:01:00] ERROR[10136]: res_jabber.c:889 aji_act_hook: OpenSSL not 
installed. You need to install OpenSSL on this system, or disable the TLS 
option in your configuration file
[Jun 17 13:01:00] WARNING[10136]: res_jabber.c:695 aji_recv: Parsing failure: 
Hook returned an error.
[Jun 17 13:01:00] WARNING[10136]: res_jabber.c:1937 aji_recv_loop: JABBER: Got 
hook event."

What version of the product are you using? On what operating system?
1.4

Please provide any additional information below.
Openssl is installed in the system. If I just type openssl, it comes up with 
the openssl terminal
i.e, 
---------------------------------
[root@localhost iksemel]# openssl
OpenSSL>
---------------------------------

This however works on FC8 correctly.

Original issue reported on code.google.com by srinivas...@gmail.com on 17 Jun 2010 at 7:38

GoogleCodeExporter commented 9 years ago
Well, I thought, I should also inform the context in which I am using iksemel.

I am trying to integrate Gtalk with Asterisk. I am following the procedure 
given in the link below.
http://www.voip-info.org/wiki/view/Asterisk+Google+Talk.

Hope this helps.

Original comment by srinivas...@gmail.com on 17 Jun 2010 at 7:55

GoogleCodeExporter commented 9 years ago
I had the same issue on a fresh install of Asterisk 1.8beta on Centos 5.4. It 
disappeared after I installed the following packages: openssl, openssl-devel, 
xmlsec1, 
xmlsec1-openssl, xmlsec1-openssl-devel. Iksemel was also downloaded as a 
package (I'm using standard repos + rpmforge).

Original comment by lewandow...@gmail.com on 31 Jul 2010 at 9:07

GoogleCodeExporter commented 9 years ago
iksemel has not dependency on OpenSSL.  In Asterisk, functionality that had 
been provided by iksemel was added to res_jabber.c, and that links to openssl 
(libcrypto and libssl).  Doing an ldd on the Asterisk binary would probably 
show that it doesn't have an openssl dependency, so the problem is with 
Asterisk's autoconf script.  I was able to make it work by passing 
--with-ssl=/lib to the configure script.

Original comment by minnesot...@gmail.com on 28 Aug 2010 at 2:09