Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] linking against gdbm fails when emerging python
Date: Thu, 22 Sep 2005 09:33:56
Message-Id: 43327A5D.9090807@tanael.org
1 I am trying to upgrade to python 2.3.5-r2 but I get this error:
2
3
4 i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe
5 -fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I.
6 -I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/./Include
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 -c
9 /var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Modules/dbmmodule.c
10 -o build/temp.linux-i686-2.3/dbmmodule.o
11 i386-gentoo-linux-uclibc-gcc -pthread -shared
12 build/temp.linux-i686-2.3/dbmmodule.o -L/usr/local/lib -lgdbm -o
13 build/lib.linux-i686-2.3/dbm.so
14 ./python: can't resolve symbol 'dbm_firstkey'
15 make: *** [sharedmods] Error 1
16
17 I dont have gdbm in the useflags.
18
19 I tried to reemerge gdbm, same thing happens.
20
21 I tried to enable gdbm in the useflags but same thing happens.
22
23 So I tried to re-emerge the current python with emerge
24 =dev-lang/python-2.3.5 but the same thing happens.
25
26 So I suspect that my build environment is broken somwhere somehow.
27
28 Maybe I used to have gdbm in the useflags but it have been removed?
29
30 Anyone experienced the same thing?
31 Shouldn't there be a -L/usr/lib instead of -L/usr/local/lib?
32 Does anyone have a suggestion how to bypass?
33
34 -- Natanael Copa
35
36 --
37 gentoo-embedded@g.o mailing list

Replies