MEX MySQL Database Connector on ubuntu x86_64 - libmysql.so.16: cannot open shared object file
Mostrar comentarios más antiguos
Hi All,
I have been having a problem to compile mysql.cpp on ubuntu x86_64.
I downloaded the libraries and I compile mysql.cpp with the following command:
mex -v -g -Ipath/include -Lpath/lib -lmysqlclient mysql.cpp
It seems it works and creates the file: mysql.mexa64.
However, when I try to run mysql.mexa64 in matlab, I get the following error:
??? Invalid MEX-file 'mysql.mexa64': libmysql.so.16: cannot open shared object file: No such file or directory.
My linux version is: Linux 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux and my matlab version is: MATLAB Version 7.9.0.529 (R2009b)
Can anyone help me?
2 comentarios
Kaustubha Govind
el 17 de Feb. de 2011
Is path to libmysql.so on LD_LIBRARY_PATH?
Antonio
el 17 de Feb. de 2011
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MySQL Native Interface en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!