[Tcbug] Re: [X-Unix] Re: [PB] Compiling on MacOS X (source was written for winblow...) [moved from PB]

Eric F Crist ecrist at secure-computing.net
Sun Nov 26 16:49:23 PST 2006


On Nov 26, 2006, at 6:44 PM, Stewart C. Russell wrote:

> Just a thought -- do you have the mysql-dev package installed?
>
>  Stewart

No, but I finally installed the Mac OS X package available on the  
MySQL site, and I get the results I saw at the beginning, once all  
the files are put in their right place:

Swordfish:/Applications/World of Warcraft/Interface/AddOns/GTS_Core/ 
apps/src ecrist$ gcc -o test -L/usr/local/mysql/lib -lmysqlclient -I/ 
usr/local/mysql/include *.c
/usr/bin/ld: Undefined symbols:
_mysql_close
_mysql_error
_mysql_fetch_row
_mysql_field_count
_mysql_free_result
_mysql_init
_mysql_num_fields
_mysql_num_rows
_mysql_options
_mysql_query
_mysql_real_connect
_mysql_select_db
_mysql_store_result
_mysql_use_result
collect2: ld returned 1 exit status
Swordfish:/Applications/World of Warcraft/Interface/AddOns/GTS_Core/ 
apps/src ecrist$

This is with the Mac OS X package from MySQL.org installed, with all  
the includes/etc.

-----
Eric F Crist
Secure Computing Networks




More information about the X-Unix mailing list