[SR-Users] Installation issue

Igor Olhovskiy igorolhovskiy at gmail.com
Mon Jan 6 12:24:54 CET 2020


Hi!

Do you have libmysqld-devel package installed?

If no,

zypper in libmysqld-devel

On 06.01.2020 11:11, Hassen Bencheikh wrote:
> Good morning,
> I am a telecommunication engineer from the National Establishment of 
> Aerial Navigation (Algeria). First of all i would like to thank you 
> for making the SIP sever Kamailio available.
> But actually i have got issues during the installation process. I was 
> using the steps described on the link below :
> https://www.kamailio.org/wiki/install/devel/git
> The issue was encountered at the step #make all, an error was found, 
> and here is what was displayed on the terminal:
> /*linux-vd3w:/usr/local/src/kamailio-devel/kamailio # make all
> make -C src/ all
> make[1]: Entering directory '/usr/local/src/kamailio-devel/kamailio/src'
> generating core/autover.h ...
> CC (gcc) [kamailio]             core/ver.o
> LD (gcc) [kamailio]             kamailio
> which: no mysql_config in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no mysql_config5 in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no mariadb_config in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no mysql_config in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no mysql_config5 in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no mariadb_config in 
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> CC (gcc) [M db_mysql.so]                my_res.o
> In file included from my_res.c:24:0:
> my_cmd.h:27:10: fatal error: mysql.h: No such file or directory
>  #include <mysql.h>
>           ^~~~~~~~~
> compilation terminated.
> make[2]: *** [../../Makefile.rules:100: my_res.o] Error 1
> make[1]: *** [Makefile:511: modules] Error 1
> make[1]: Leaving directory '/usr/local/src/kamailio-devel/kamailio/src'
> make: *** [Makefile:30: all] Error 2
> linux-vd3w:/usr/local/src/kamailio-devel/kamailio #*/
> /*
> */
> Actually my knowledge on linux (opensuse leap) that i am using is very 
> limited. Hopefully i will be able to use the server once installed and 
> it will be used for ip recording tests purpose.
> Thank you for reading this email.
> Good bye.
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Regards, Igor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200106/29a51e96/attachment.html>


More information about the sr-users mailing list