Q&A 에서 왠만한 자료는 다 봤는데여..
주로 /etc/ld.so.conf 에 mysql lib 디렉토리를 넣고..
ldconfig 를 실행하라고 하시더군요.
제 경우에는 다 되어있거든여..
그리고 ldconfig 도 실행했는데.. 여전히 안됩니다,
gcc -o test dbmanage_mysql.o -I/usr/include/mysql -L/usr/lib
-lmysqlclient
이렇게 실행하면..
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
이렇게 에러가 나와여
에고... 누구 좀 도와주세요.. 급합니다.. T.T
|