Gentoo Archives: gentoo-user

From: Bryan Whitehead <driver@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cyrus-sasl error.
Date: Thu, 26 Oct 2006 00:35:21
Message-Id: 454001D9.5000409@megahappy.net
In Reply to: [gentoo-user] cyrus-sasl error. by Leandro Melo de Sales
1 Can you do a "emerge -upv dev-libs/cyrus-sasl" and post?
2
3 I'd like to see your use flags.
4
5
6 Leandro Melo de Sales wrote:
7 > Hi,
8 >
9 > I'm trying to update openldap and one of package dependency is
10 > cyrus-sasl, but when emerge compile cyrus-sasl package, it shows the
11 > following message:
12 >
13 > # emerge cyrus-sasl
14 > Calculating dependencies... done!
15 >
16 > >>> Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to /
17 > * cyrus-sasl-2.1.22.tar.gz MD5 ;-)
18 > ...
19 > ...
20 > ...
21 > ...
22 > x86_64-pc-linux-gnu-gcc -shared .libs/sasldb.o .libs/sasldb_init.o
23 > .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a
24 > -Wl,--no-whole-archive /usr/lib64/libdb- 4.2.so <http://4.2.so>
25 > -lresolv -march=athlon64 -Wl,-soname -Wl,libsasldb.so.2 -o
26 > .libs/libsasldb.so.2.0.22
27 > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
28 > ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S
29 > against `a local symbol' can not be used when making a shared object;
30 > recompile with -fPIC
31 > ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
32 > collect2: ld returned 1 exit status
33 > make[2]: *** [libsasldb.la <http://libsasldb.la>] Error 1
34 > make[2]: Leaving directory `/var/tmp/portage/cyrus-
35 > sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'
36 > make[1]: *** [all-recursive] Error 1
37 > make[1]: Leaving directory
38 > `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'
39 > make: *** [all] Error 2
40 >
41 > !!! ERROR: dev-libs/cyrus- sasl-2.1.22 failed.
42 > Call stack:
43 > ebuild.sh, line 1546: Called dyn_compile
44 > ebuild.sh, line 937: Called src_compile
45 > cyrus-sasl-2.1.22.ebuild, line 166: Called die
46 >
47 >
48 > Any clue/suggestion will be greatfully accepted. Thank you.
49 >
50 > Leandro
51 >
52
53 --
54 gentoo-user@g.o mailing list