Errors building GreenSQL 1.2.2 on Mac OS X 10.5.8 Leopard Server
I'm attempting to build GreenSQL 1.2.2 on Mac OS X 10.5.8 Leopard Server, but I get the following errors (which appear to be an ld error?):
cc -g -Wall -I/usr/local/include/ -I/usr/include/mysql/ -I/usr/local/include/mysql/ -DHAVE_MYSQL_CLIENT -fPIC -c -Wall sql_api.c
cc -g -Wall -I/usr/local/include/ -L/usr/lib64/mysql -L/usr/local/lib/mysql -L/usr/lib/mysql -lmysqlclient -shared -Wl,-soname,libgsql-mysql.so.1 -DHAVE_MYSQL_CLIENT -o libgsql-mysql.so.1 sql_api.o
ld: unknown option: -soname
collect2: ld returned 1 exit status
make[2]: *** [api] Error 1
make[1]: *** [greensql-fw] Error 2
cp: greensql-fw: No such file or directory
make: *** [greensql-fw] Error 1
I have already built and installed (into /usr/local) the following prerequisites: pcre 8.01, libevent 1.4.13-stable, as well as the MySQL client binaries & headers (per http://support.apple.com/kb/TA25017, although I installed MySQL-45.binaries.tar.gz as I'm on Mac OS X 10.5.8).
I'm pretty familiar with building open source software on Mac OS X, but I have to admit there are definitely a lot of ins and outs of command line compiling I do not know. I have not run into ld errors before (and didn't see anything in the Makefile that jumped out at me). I could not find mention of a -soname option in the man page for ld.
Any suggestions would be greatly appreciated.
(See also, discussion on http://stackoverflow.com/questions/2412085/errors-building-greensql-1-2-...)
GreenSQL