[redland-dev] Python bindings compile problem (OS X)

Christopher Schmidt crschmidt at crschmidt.net
Mon Feb 7 20:59:47 GMT 2005


On Sun, Feb 06, 2005 at 08:55:49PM +0100, Ren? Puls wrote:
> 
> Compiling the Python bindings fails with a linker error on my OS X 
> 10.3.7:
> 
> >gcc -g -O2  -I/opt/extra/include -I/usr/local/berkeleydb/include  -g 
> >-O2   -Wl,-F. -Wl,-F. -bundle -framework Python Redland_wrap.so 
> >`redland-config --libs` -o Redland.so
> >ld: Redland_wrap.so illegal reference to symbol: 
> >_raptor_unicode_char_to_utf8 defined in indirectly referenced dynamic 
> >library /opt/extra/lib/libraptor.1.dylib
> >make[2]: *** [Redland-stamp] Error 1
> >make[1]: *** [all-recursive] Error 1
> >make: *** [all-recursive] Error 1
> 
> The package was configured with:
> 
> ./configure --prefix=/opt/extra --with-perl --with-python
> 
> If I edit python/Makefile and add `raptor-config --libs` right before 
> it says `redland-config --libs`, it compiles correctly. (That was just 
> a lucky guess. I have no idea why this is necessary...)

I got this error as well, and was able to "solve" it in the same way. I 
will look into the issue deeper when I get a chance: just wanted to 
throw my two cents in (and to get this into my mailbox, so I can mark it 
as a TODO).

-- 
Christopher Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20050207/f360649f/attachment.pgp


More information about the redland-dev mailing list