Getting Error while compiling Asterisk 16 installation with Maria DB 10.5.5

I am installing Asterisk 16 on centos 7 having Maria DB 10.5.5. But while compiling Asterisk ,I am getting below compilation error .

pp_mysql.o ->
/usr/bin/ld: cannot find -lmariadb
collect2: error: ld returned 1 exit status
make[1]: *** [] Error 1
make: *** [addons] Error 2

If any one encounter this issues and resolve this .Please help me out with issues to resolve it asap.

yum -y install mariadb-server mariadb mariadb-devel

more info you can take from here ( asterisk 15 and 16 have mostly same dependences )

Thank you so much for your help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.