Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] /usr/lib/libgdbm_compat.so.3: undefined symbol: __guard
Date: Wed, 01 Feb 2012 16:03:29
Message-Id: CAN0CFw1MsRxRK243Z2xWUUO=oQR3AS-R9f5RhdaxcAhPpvH5zg@mail.gmail.com
1 I get this when emerging python on a system I'm bringing up to date
2 after 3 years of non-use:
3
4 *** WARNING: renaming "dbm" since importing it failed:
5 /usr/lib/libgdbm_compat.so.3: undefined symbol: __guard
6
7 The compile eventually fails with:
8
9 Failed to find the necessary bits to build these modules:
10 _bsddb _tkinter bsddb185
11 sunaudiodev
12 To find the necessary bits, look in setup.py in detect_modules() for
13 the module's name.
14
15 Failed to build these modules:
16 dbm
17
18 running build_scripts
19 creating build/scripts-2.6
20 copying and adjusting
21 /var/tmp/portage/dev-lang/python-2.6.7-r2/work/Python-2.6.7/Tools/scripts/pydoc
22 -> build/scripts-2.6
23 copying and adjusting
24 /var/tmp/portage/dev-lang/python-2.6.7-r2/work/Python-2.6.7/Tools/scripts/idle
25 -> build/scripts-2.6
26 copying and adjusting
27 /var/tmp/portage/dev-lang/python-2.6.7-r2/work/Python-2.6.7/Tools/scripts/2to3
28 -> build/scripts-2.6
29 copying and adjusting
30 /var/tmp/portage/dev-lang/python-2.6.7-r2/work/Python-2.6.7/Lib/smtpd.py
31 -> build/scripts-2.6
32 changing mode of build/scripts-2.6/pydoc from 644 to 755
33 changing mode of build/scripts-2.6/idle from 644 to 755
34 changing mode of build/scripts-2.6/2to3 from 644 to 755
35 changing mode of build/scripts-2.6/smtpd.py from 644 to 755
36 make: *** [sharedmods] Error 1
37
38 This is python-2.6 but I get the same from 2.7 and 3.1. I was able to
39 emerge python-2.6 earlier in the updating process so I'm not sure why
40 it's failing now. I'm halfway through an emerge -e world to see if
41 that helps. The system is up-to-date now and working fine although I
42 still need to update the kernel, gcc won't compile above 4.3.4, and
43 udev gets crazy above 141. I'm on this profile:
44
45 hardened/linux/x86
46
47 Any ideas?
48
49 - Grant

Replies