OS: Linux
xampp version: 7.4.5
I am trying to install perl module DBD::mysql to be used by a CGI script. The module uses mysql_config --cflags to determine the location of the include file mysql.h. The problem is that mysql_config seems to be giving wrong paths:
$ /opt/lampp/bin/mysql_config --cflags
-I/opt/lampp/include/mysql -I/opt/lampp/include/mysql/mysql
But there is no directory /opt/lampp/include/mysql :
$ ls /opt/lampp/include/mysql
ls: cannot access '/opt/lampp/include/mysql': No such file or directory
However the header file is located here:
$ file /opt/lampp/include/mysql.h
/opt/lampp/include/mysql.h: C source, ASCII text