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

Christoph Görn goern at B4mad.Net
Mon Feb 7 21:28:04 GMT 2005


Hello,
  haven't had the problem on 10.3.7, but also only had a --with-python  
and no perl

	Christoph

Am 07.02.2005 um 21:59 schrieb Christopher Schmidt:

> 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
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.gnomehack.com/mailman/listinfo/redland-dev
>
--  
blogging at: http://B4mad.Net/datenbrei
info at: http://B4mad.Net/datenbrei/index.php?author=2/foaf.rdf
gpg key:  
http://pgpkeys.pca.dfn.de:11371/pks/lookup? 
op=get&search=0xB10DFF8D88FD746C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 281 bytes
Desc: Signierter Teil der Nachricht
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20050207/d00ea50a/PGP.pgp


More information about the redland-dev mailing list