problem resolving foreign function (I think)
OK - I'm in over my head here. I did search the archives for help on
this, but I am not that sure what I am looking for.
I can connect to a mysql database, but when I do any query with
(clsql:query...) I get:
Can't resolve foreign symbol "clsql_mysql_field_flags"
So, here is the setup. I am running:
Linux Mint 17 64-bit
Clozure CL Version 1.10-r16196 64-bit
I do NOT have the debian clsql packages installed. When I had them
installed, doing (ql:quickload :clsql-mysql) caused a compile error.
Some of the uffi stuff did not compile. I do not have the specifics
of that right now because I uninstalled the clsql packages on the
assumption that I could use the shared libraries within the
quicklisp distribution, and so would not need to install the debian
packages. (Let me know if that's wrong.)
Anyway, I did a "make" in the db-mysql directory of the the
quicklisp distro of clsql. This made a 64-bit version of
clsql_mysql64.so but crapped out on the 32-bit version. I don't know
how to set up 32-bit development on my Linux MInt box, but I am not
sure that's the real problem anyway.
I jthen did "readelf -Ws clsql_mysql64.so" and saw that the library
As I understand it this should make the shared library available to
clsql, which I would have thought would allow resolution of
At one point I also pushed the path to the uffi stuff also:
but this made no difference.
I have had no trouble running clsql on two of my OS X machines, but
cannot get it going on Linux Mint.
Any help will be deeply appreciated.
- DJ -
CLSQL mailing list