-
1. I wrote c code using
mysql.h
, and command below.
$ gcc -shared mysqlrust.c -o libmysqlrust.so $(mysql_config --cflags) $(mysql_config --libs) $(mysql_config --cflags)
$ cp libmysqlrust.so /usr/local/lib/rustc/i686-unknown-linux-gnu/lib/
2. I wrote Rust code, that calls libmysqlrust.so
.
Let's see the code you have written and the exact error messages