Database Security. Database Auditing. Database Caching. Database Masking. Get it nowErrors 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-2-on-mac-os-x-10-5-8-leopard-server)
G
Comments
I really do not know whether
I really do not know whether it is possible to build Green SQL on the Mac platform. One thing you should have taken into account is that making the Green SQL has been never easy for the Windows in the first place. Hence, doing the same on Mac would only further complicate your effort. Macs are the best when it comes to computing but you should also take into account the factor that macs are not known for their generosity in accepting third party applications!
Brown