foolfei
04-24-2003, 08:04 AM
i use mysql3.2 belong to RedHat7.3.
my program language is c++.
there are some problem when compile.
$ gcc -o sql sql.cpp -I/usr/include/mysql -L/usr/lib/mysql -lmysql
/usr/bin/ld: cannot find -lmysql
collect2: ld returned 1 exit status
i dont know whats wrong.
help
my program language is c++.
there are some problem when compile.
$ gcc -o sql sql.cpp -I/usr/include/mysql -L/usr/lib/mysql -lmysql
/usr/bin/ld: cannot find -lmysql
collect2: ld returned 1 exit status
i dont know whats wrong.
help