invalid mex - libmysqlcppconn not finding glibcxx_3.4.15
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi there,
I'm running ubuntu 12.04 and matlab R2012a.
Not sure what the problem is exactly, but I can build my mex file just fine. But when it is run I receive this error
Invalid MEX-file '/home/br/Documents/MATLAB/langmod/rss2mysql/mexUrl2dbSrc.mexa64':
/usr/local/MATLAB/R2012a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.15' not
found (required by /usr/local/lib/libmysqlcppconn.so.5)
which I find particularly strange, becuase if I run the following in the terminal
strings /usr/local/MATLAB/R2012a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6 | grep GLIBC
I see:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
What do i do to fix this? Any help would be appreciated, thanks. Brian
0 Kommentare
Antworten (1)
Kaustubha Govind
am 1 Aug. 2012
I don't understand library dependency resolution completely, but I wonder if libmysqlcppconn.so.5 could be looking at a different version of libstdc++.so? Perhaps you should run mexUrl2dbSrc.mexa64 and /usr/local/lib/libmysqlcppconn.so.5 through the ldd utility to figure out what dependencies they are looking at?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!