[redland-dev] ruby interface on mac os x

Seth Ladd seth at brivo.net
Mon Apr 7 01:33:50 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I thought I'd give the ruby interface a whirl, and ran into a small 
snag.  I'm on a OS X box (latest and greatest version).

When running make build-ruby, I encounter:

gcc -shared Redland_wrap.o -o Redland.so `../redland-src-config --libs`
gcc: unrecognized option `-shared'
ld: Undefined symbols:
_main
_rb_cFalseClass
_rb_cFixnum
_rb_cNilClass
_rb_cObject
.... more ....

The bundled gcc3 compiler w/ OS X does not support -shared.

Is the proper way to solve this to wrap w/ libtool?

Thanks very much,
Seth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+kP+xNx3GJTf/82URAt85AJ0QLIMvj/uDVN30eOdKZtLIM6ahGACcD8nF
7XdkF6+HBnPmJlYml58AcbM=
=iGzQ
-----END PGP SIGNATURE-----




More information about the redland-dev mailing list