[Serusers] Compile problems on Mac OS X Tiger
Nils Ohlmeier
lists at ohlmeier.org
Sat Sep 3 02:52:05 CEST 2005
Hi Hans,
I never tried to compile the mysql module on OS X before. In my case it even
does not compile, because the mysql headers can not be found (because of
completely different paths then on other OS).
But after fixing the headers paths the mysql module links fine on my system.
From where, how and to which location did you installed MySQL?
BTW are you running the old gcc compiler version on Tiger by intention?
Nils
On Friday 02 September 2005 19:16, Hans Eriksson wrote:
> 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
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list