[redland-dev] ruby interface on mac os x

Seth Ladd seth at brivo.net
Mon Apr 7 22:31:29 BST 2003


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

My apologies if this shows up on the list twice.  I never saw it send 
the first time.

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+kiZ0Nx3GJTf/82URAjn9AJ41sApG5sdmJkPXBQeD303494QNBACghq4x
sUUBGvZIkQPbuPBepObQ3qw=
=Try2
-----END PGP SIGNATURE-----




More information about the redland-dev mailing list