[Kamailio-Users] errors installing on centos 5 64 bits

Fabian Borot fborot at hotmail.com
Fri Feb 6 23:16:24 CET 2009


well, actually I do not know whether it was a bug or not but I think that it was not a bug.
This is why:

1- I tried the first solution provided and it did not work for me [change the lib to lib64 approach etc ]. So I reverted the changes.

2- Then Zahid told me to check whether I had openssl-devel for 64 bits and I did not have it, so I installed it and the compilation went smoothly.

before installing openssl-devel for 64 bits I had:

[root at proxy1 ~]# find / -name "libssl.so"
/usr/lib/libssl.so
[root at proxy1 ~]#

after installing it I have the 2 versions:

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

thank you very much for your help

 Fabian



> From: zm23 at columbia.edu
> To: miconda at gmail.com
> Date: Fri, 6 Feb 2009 15:18:33 -0500
> CC: users at lists.kamailio.org
> Subject: Re: [Kamailio-Users] errors installing on centos 5 64 bits
> 
> No, it may not be an issue now.  This was used for a  pre 1.4  
> release.    I just built from 1.4.3-tls, on RHEL5/64bit without any  
> errors.
> 
> Thanks
> -- 
> Zahid
> 
> On Feb 6, 2009, at 11:29 AM, Daniel-Constantin Mierla wrote:
> 
> > Hello,
> >
> > so practically there is a problem with lib directory on 64b, right?  
> > It has to be fixed on SVN, it shouuld be lib64 instead of lib...
> >
> > Cheers,
> > Daniel
> >
> >
> > On 02/06/2009 04:29 PM, Zahid Mehmood wrote:
> >>
> >> 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 at lists.kamailio.org [mailto:users-bounces at 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 at 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 at 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 at proxy1 lib64]# find / -name "libssl.so"
> >> /usr/lib/libssl.so
> >> [root at proxy1 lib64]#
> >>
> >>
> >> thank you very much
> >>
> >> Fabian
> >>
> >> ------------------------------------------------------------------------
> >>
> >> Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check  
> >> it out. <http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009 
> >> >
> >>
> >> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Kamailio (OpenSER) - Users mailing list
> >> Users at lists.kamailio.org
> >> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> >> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> >
> > -- 
> > Daniel-Constantin Mierla
> > http://www.asipto.com
> >
> >
> 
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090206/09ed96c3/attachment.htm>


More information about the sr-users mailing list