Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] linking against gdbm fails when emerging python
Date: Tue, 27 Dec 2005 09:34:17
Message-Id: 1135676007.29642.146.camel@nc
In Reply to: Re: [gentoo-embedded] linking against gdbm fails when emerging python by Mike Frysinger
1 On tir, 2005-12-27 at 03:33 -0500, Mike Frysinger wrote:
2 > On Monday 26 September 2005 03:32, Natanael Copa wrote:
3 > > Mike Frysinger wrote:
4 > > >On Thursday 22 September 2005 05:33 am, Natanael Copa wrote:
5 > > >>i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe
6 > > >>-fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I.
7 > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/./Include
8 > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Include
9 > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5 -c
10 > > >>/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Modules/dbmmodule.c
11 > > >>-o build/temp.linux-i686-2.3/dbmmodule.o
12 > > >>i386-gentoo-linux-uclibc-gcc -pthread -shared
13 > > >>build/temp.linux-i686-2.3/dbmmodule.o -L/usr/local/lib -lgdbm -o
14 > > >>build/lib.linux-i686-2.3/dbm.so
15 > > >>./python: can't resolve symbol 'dbm_firstkey'
16 > > >>make: *** [sharedmods] Error 1
17 > > >
18 > > >so you're still hitting this linker bug ? just wondering whether i should
19 > > >start poking at it or assume that it's been resolved one way or another
20 > > > ...
21 > >
22 > > Yes. It still fails whenever berkdb are in useflags. It looks like it
23 > > works with or without gdbm in useflags (as long berkdb is disabled)
24 >
25 > just for python-2.3.x ? using uclibc-0.9.28 / python-2.4.x over here and it
26 > emerges fine with USE=berkdb ...
27
28 [ebuild R ] dev-lang/python-2.4.2 -X +berkdb* -bootstrap -build
29 -doc -gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB
30
31
32 i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing
33 -DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer
34 build/temp.linux-i686-2.4/_bsddb.o -L/usr/lib -L/usr/local/lib
35 -R/usr/lib -ldb-4.2 -o build/lib.linux-i686-2.4/_bsddb.so
36 i386-gentoo-linux-uclibc-gcc: unrecognized option `-R/usr/lib'
37 building 'dbm' extension
38 i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe
39 -fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I.
40 -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/./Include
41 -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Include
42 -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2
43 -c /var/tmp/portage/python-2.4.2/work/Python-2.4.2/Modules/dbmmodule.c
44 -o build/temp.linux-i686-2.4/dbmmodule.o
45 i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing
46 -DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer
47 build/temp.linux-i686-2.4/dbmmodule.o -L/usr/local/lib -lgdbm -o
48 build/lib.linux-i686-2.4/dbm.so
49 ./python: can't resolve symbol 'dbm_firstkey'
50 make: *** [sharedmods] Error 1
51
52 using uclibc-0.9.27-r1.
53
54 I have turned of berkdb in useflags, so you don't need to spend time on
55 this for me.
56
57 btw... any idea on when 0.9.28 will go stable?
58
59 Thanks!
60
61
62 --
63 Natanael Copa
64
65 --
66 gentoo-embedded@g.o mailing list

Replies