zahid, that last advice made the trick. Thank you very much
Fabian





Subject: RE: [Kamailio-Users] errors installing on centos 5 64 bits
Date: Fri, 6 Feb 2009 09:38:52 -0500
From: zm23@columbia.edu
To: fborot@hotmail.com; users@lists.kamailio.org

Also, make sure that you have the 64bit openssl-devel package installed.  

 

--

Zahid

 

 


From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Zahid Mehmood
Sent: Friday, February 06, 2009 9:29 AM
To: Fabian Borot; Kamailio UserList
Subject: Re: [Kamailio-Users] errors installing on centos 5 64 bits

 

Hi,

   I have used the following on RHEL5 64bit and seems to work.  See if  this helps.  This was originally taken from one of the rhel openser rpm package.

 

 

% cat openser--openssl-paths.diff

--- Makefile.defs 2007-08-16 18:23:20.000000000 +0400

+++ Makefile.defs          2007-08-26 11:07:20.000000000 +0400

@@ -1205,8 +1205,8 @@

 

 #add libssl if needed

 ifneq ($(TLS),)

-DEFS+= -I$(LOCALBASE)/ssl/include -I$(LOCALBASE)/include

-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl  -lcrypto

+DEFS+=

+LIBS+= -L$(LOCALBASE)/lib64 -lssl  -lcrypto

 endif

 

 ifneq ($(found_lock_method), yes)

--- modules/tlsops/Makefile         2007-08-16 18:22:38.000000000 +0400

+++ modules/tlsops/Makefile      2007-08-26 11:09:18.000000000 +0400

@@ -7,8 +7,8 @@

 NAME=tlsops.so

 LIBS=

 

-DEFS+= -I$(LOCALBASE)/ssl/include

-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl  -lcrypto

+DEFS+=

+LIBS+= -L$(LOCALBASE)/lib64 -lssl  -lcrypto

 

 include ../../Makefile.modules

 

 

 

HTH.

 

--

Zahid

 


From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Fabian Borot
Sent: Friday, February 06, 2009 9:22 AM
To: Kamailio UserList
Subject: [Kamailio-Users] errors installing on centos 5 64 bits

 

Hello

I am trying to install it on Centos 5 64 bits using this command:

NICER=1 make prefix=/usr/local/kamailio-install-dir all

and it fails with this message:

 make[1]: Entering directory `/usr/src/kamailio-1.4.3-notls/modules/db_mysql'
Linking db_mysql.so
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [db_mysql.so] Error 1
make[1]: Leaving directory `/usr/src/kamailio-1.4.3-notls/modules/db_mysql'
make: *** [modules] Error 2

I think that somehow it is trying to use the lib for 32 bits or that my specific lib file is not what it should be or it is not on my system.
I have the folders /usr/lib and usr/lib64 with its respective library files.

Is this "libssl" related to openssl?

I have these installed on my system already:

[root@proxy1 lib64]# yum install openssl
Setting up Install Process
Parsing package install arguments
Package openssl - 0.9.8b-10.el5_2.1.x86_64 is already installed.
Package openssl - 0.9.8b-10.el5_2.1.i686 is already installed.
Nothing to do
[root@proxy1 lib64]#


I also looked for "libssl" and this is what I see, it was only found in the folder for 32 bits libs if I am not mistaken. if that is the case how can i get the 64 bits equivalent?

[root@proxy1 lib64]# find / -name "libssl.so"
/usr/lib/libssl.so
[root@proxy1 lib64]#


thank you very much

Fabian

 


Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it out.



Windows Live™: E-mail. Chat. Share. Get more ways to connect. See how it works.