← Back to team overview

maria-discuss team mailing list archive

Re: MariaDB new installation on Centos 6

 

HI Reindl

Thanks for fast response.
I install MariaDB-devel but I still receive error message:

 /usr/bin/ld: cannot find -lmariadb
collect2: ld returned 1 exit status

Best Regards, Romeo


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Jun 17, 2017 at 5:15 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx>
wrote:

>
>
> Am 17.06.2017 um 16:56 schrieb romeo kalebic:
>
>> I'm new user of MariaDB, and I install it on Centos 6.8 64bit.
>> I install it using yum utility , according instruction on MariaDB site:
>> https://mariadb.com/kb/en/mariadb/yum/.
>>
>> yum install MariaDB-server MariaDB-client finished without any problem.
>>
>> I can use mysql client to connect to databases without any problems.
>>
>> Then I try to compile some of my applications.
>> To find out what library to use and where include files are I use
>> mysql_config and mariadb_config.
>>
>> I wrote Makefile and use -I and -L like this in mysql_config.
>>
>> gcc compiler finish with error that there is no mariadb library.
>>
>> What I have missed?
>> Where is libmariadb located?
>>
>
> as for any other software on rpm-based distributions in the devel packages
> - i guess "MariaDB-devel" but looking at the terrible camel-case
> packagename anything is possible :-)
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp
>

References