0

I am try to compile an old project at a new machine (CentOS 7) with gcc. The last the linker is missing is libmysqlclient.

But I can not find it in my CentOS Repos (base, updates, extras).

Anyone have an idea in which package it is? I already have installed mysql, mysql-devel and mysql-libs.

Thanks!

Cheers, Chris

edit:

rpm -Uhv updates/*.rpm
Fehler: Datei von "glob" nicht gefunden: updates/*.rpm

means: error: file not found

yum whatprovides libmysqlclient.so.15
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror2.hs-esslingen.de
 * extras: mirror.nextlayer.at
 * updates: mirror.softaculous.com
No matches found
chris01
  • 10,921
  • 9
  • 54
  • 93

1 Answers1

0

I am not sure what of the following 2 actions did the trick.

  • yum install mysqlclient.so.18

  • I corrected the link from /usr/lib64/mysql/mysqlclient.so to /usr/lib64/mysqlclient.so

But I can compile now :-) Thanks for help!

chris01
  • 10,921
  • 9
  • 54
  • 93