Can you do a "emerge -upv dev-libs/cyrus-sasl" and post?

I'd like to see your use flags.


Leandro Melo de Sales wrote:
Hi,

I'm trying to update openldap and one of package dependency is cyrus-sasl, but when emerge compile cyrus-sasl package, it shows the following message:

# emerge cyrus-sasl
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to /
* cyrus-sasl-2.1.22.tar.gz MD5 ;-) ... ...
...
...
x86_64-pc-linux-gnu-gcc -shared .libs/sasldb.o .libs/sasldb_init.o .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a -Wl,--no-whole-archive /usr/lib64/libdb- 4.2.so <http://4.2.so> -lresolv -march=athlon64 -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libsasldb.la <http://libsasldb.la>] Error 1
make[2]: Leaving directory `/var/tmp/portage/cyrus- sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus- sasl-2.1.22 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  cyrus-sasl-2.1.22.ebuild, line 166:   Called die


Any clue/suggestion will be greatfully accepted. Thank you.

Leandro


--
gentoo-user@gentoo.org mailing list

Reply via email to