Compile Problem with MySQL C API on MAC OS X 10.6
- by Dennis
Hi guys,
i've a Problem with MySQL C API and Mac OS X 10.6. When i want to compile a SQL Client Program, it aborts with this Error Message
ld: library not found for -lmysqlclient
collect2: ld returned 1 exit status
I compile with this command:
g++ -I /usr/local/mysql/include/ -L /usr/local/mysql/lib/ -lmysqlclient main.cpp
I've tried the Headers and Librarys in different locations - no effect
I've downloaded the headers and the Library from an other Destination - Same effect as before
Any Ideas what i am doing wrong?
If there is a thread allready i want to excuse (nothing found in search)!
Greeting, Dennis