Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas
Date: Wed, 30 May 2007 17:39:07
Message-Id: 20070530173851.GS1265@gentoo.org
In Reply to: Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas by "Eduardo Mendonça"
1 On 30-05-2007 19:21:21 +0200, Eduardo Mendonça wrote:
2 > darwin-Link-DyLib-action
3 > bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.dylib
4 > /Gentoo/usr/i686-apple-darwin8/binutils-bin/20070412/ld: Undefined symbols:
5 > _PyUnicodeUCS4_AsWideChar
6 > _PyUnicodeUCS4_FromEncodedObject
7 > /Gentoo/usr/bin/libtool: internal link edit command failed
8
9 > ...failed darwin-Link-DyLib-action
10 > bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.dylib...
11 > MkDir1 bin/boost/libs/python/build/libboost_python.a
12 > MkDir1 bin/boost/libs/python/build/libboost_python.a/darwin
13 > MkDir1 bin/boost/libs/python/build/libboost_python.a/darwin/release
14 > darwin-C++-action
15 > bin/boost/libs/python/build/libboost_python.a/darwin/release/numeric.o
16 > $
17 >
18 > seems like I have to compile python with UCS4!?
19 >
20 > And I just now tried boost 1.34_pre and I got the same problem with UCS4
21 > sybmols... any thoughts? Should I compile python with UCS2, being that it
22 > does not have UCS4? (I really don't know what this is...)
23
24 Default is ucs4 IMHO, so don't touch your python. It's just a matter of
25 suppressing the warning.
26 I was looking at the .jam files, and maybe adding in the darwin.jam file
27 somewhere a linkerflag -undefined dynamic_lookup will do it. It isn't
28 elegant for sure.
29
30
31 --
32 Fabian Groffen
33 Gentoo on a different level
34
35 --
36 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas "Eduardo Mendonça" <eduardomendoncapt@×××××.com>