[Serusers] Compile problems on Mac OS X Tiger

Hans Eriksson hans at hecc.se
Fri Sep 2 19:16:38 CEST 2005


Hi, I am trying to compile ser on my Mac OS X but it fails with:


...
gcc -bundle -bundle_loader ../../ser db_con.o db_mod.o dbase.o  
my_con.o my_id.o my_pool.o res.o row.o utils.o val.o   -L/usr/lib/ 
mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/ 
mysql/ -L/usr/local/mysql/lib -L/usr/lib64/mysql -lmysqlclient -lz -o  
mysql.so
ld: warning -L: directory name (/usr/lib/mysql) does not exist
ld: warning -L: directory name (/usr/local/mysql/lib/mysql/) does not  
exist
ld: warning -L: directory name (/usr/lib64/mysql) does not exist
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_printf$LDBLStub
_vsprintf$LDBLStub
make[1]: *** [mysql.so] Error 1
...

All the other modules compile and link fine. Anyone got any ideas?

/hans

[kuben:~/ser2] hans% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
...
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 450 to server version: 4.1.14-standard




More information about the sr-users mailing list