[OpenSIPS-Users] OpenSIPS installation problem

Sandeep Sharma sandeep.s at imimobile.com
Tue Sep 16 12:14:58 CEST 2014


Hi Liviu,

After executing trailing mail option also same problem persists, is there any dependencies of mysql package i.e, 32 bit or 64 bit coz right now mysql 64 bit package is installed.

Thanks & Regards
Sandeep Sharma


From: Liviu Chircu 
Sent: Tuesday, September 16, 2014 2:49 PM
To: users at lists.opensips.org 
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

Hello Sandeep,

Two quick solutions:

a) configure linker to look in /usr/lib/mysql as well
    echo -e '/usr/lib/mysql\n/usr/lib64/mysql' > /etc/ld.so.conf.d/mysql
    ldconfig

b) simply create some additional symbolic links
    ln -s /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so
    ln -s /usr/lib64/mysql/libmysqlclient.so /usr/lib64/libmysqlclient.so

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.comOn 09/16/2014 11:59 AM, Sandeep Sharma wrote:

  Hi,

  I can locate libmysqlclient.so in /usr/lib64/mysql50/mysql/ and /usr/lib/mysql50/mysql/ folder as per below o/p:-


  [root at linux lib64]# locate libmysqlclient.so
  /usr/lib/mysql/libmysqlclient.so.15
  /usr/lib/mysql/libmysqlclient.so.15.0.0
  /usr/lib/mysql/libmysqlclient.so.16
  /usr/lib/mysql/libmysqlclient.so.16.0.0
  /usr/lib/mysql50/mysql/libmysqlclient.so
  /usr/lib/mysql50/mysql/libmysqlclient.so.15
  /usr/lib/mysql50/mysql/libmysqlclient.so.15.0.0
  /usr/lib/mysql51/mysql/libmysqlclient.so
  /usr/lib/mysql51/mysql/libmysqlclient.so.16
  /usr/lib/mysql51/mysql/libmysqlclient.so.16.0.0
  /usr/lib64/mysql/libmysqlclient.so.15
  /usr/lib64/mysql/libmysqlclient.so.15.0.0
  /usr/lib64/mysql/libmysqlclient.so.16
  /usr/lib64/mysql/libmysqlclient.so.16.0.0
  /usr/lib64/mysql50/mysql/libmysqlclient.so
  /usr/lib64/mysql50/mysql/libmysqlclient.so.15
  /usr/lib64/mysql50/mysql/libmysqlclient.so.15.0.0
  /usr/lib64/mysql51/mysql/libmysqlclient.so
  /usr/lib64/mysql51/mysql/libmysqlclient.so.16
  /usr/lib64/mysql51/mysql/libmysqlclient.so.16.0.0

  Thanks & Regards
  Sandeep Sharma


  From: Bogdan-Andrei Iancu 
  Sent: Tuesday, September 16, 2014 1:19 PM
  To: Sandeep Sharma ; OpenSIPS users mailling list 
  Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

  According to "mysql_config", the libmysqlclient library should be under "/usr/lib64". Do you have an "libmysqlclient.so" in there ?

  Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:45, Sandeep Sharma wrote:

    Hi,

    Below are o/p (I am unable to locate lmysqlclient in my system but all mysql related rpm are installed).

    [root at linux db_mysql]# mysql_config --libs
    -L/usr/lib64 -lmysqlclient -lpthread -lm -lrt -ldl

    [root at linux db_mysql]# locate lmysqlclient

    Thanks & Regards
    Sandeep Sharma
    IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
    T +91 9912244250 - Ext: 251
    www.imimobile.com 

    From: Bogdan-Andrei Iancu 
    Sent: Tuesday, September 16, 2014 1:02 PM
    To: Sandeep Sharma ; OpenSIPS users mailling list 
    Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

    As it got the linking part, I suppose you have the mysql devel header files. But the linking failed as the mysqlclient library was not found.
    Could you check where that lib is located on your system ?

    Also, do you have "mysql_config" installed on your system ? if yes, what is the output of "mysql_config --libs"

    Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:24, Sandeep Sharma wrote:

      Hi,

      Below are error if make modules is executed:-

      [root at linux opensips-1.11.2-tls]# make modules
      which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/dialogic/bin:/usr/java/jdk1.6.0_43/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)


      make[1]: Entering directory `/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
      Linking db_mysql.so
      /usr/bin/ld: cannot find -lmysqlclient
      collect2: ld returned 1 exit status
      make[1]: *** [db_mysql.so] Error 1
      make[1]: Leaving directory `/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
      make: *** [modules] Error 2

      Thanks & Regards
      Sandeep Sharma
      IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
      T +91 9912244250 - Ext: 251
      www.imimobile.com 

      From: Bogdan-Andrei Iancu 
      Sent: Tuesday, September 16, 2014 12:44 PM
      To: OpenSIPS users mailling list ; sandeep.s at imimobile.com 
      Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

      Hi,

      And what happens if you run "make modules" from command line ?

      Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 07:10, Sandeep Sharma wrote:

        Hi Team,

        I am facing necessary library generation problem while compiling & below are detail:-

        Opensips version used: opensips-1.11.2-tls
        OS: CentOS 5.8 64 bit

        While Compile And Install OpenSIPS through make menuconfig no files are generated in module folder.

        /usr/local/opensips_proxy/lib64/opensips/modules
        [root at linux modules]# ll
        total 0

        Thanks in advance

        Thanks & Regards
        Sandeep Sharma


         

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users







   

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--------------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140916/04063a5b/attachment.htm>


More information about the Users mailing list