Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: Building python fails on SLES10.1 (python-2.7.2)
Date: Sat, 8 Oct 2011 15:04:46 +0200
On 08-10-2011 14:24:06 +0200, Moritz Schlarb wrote:
> I've got it now!
> 
> The problem was, that the module-libraries weren't even linked to the
> corresponding system libraries

Can you explain this a bit more?  How do the prefix-built libs look
like?  E.g. what's missing there?

> TL;DR: export LDFLAGS="-L/lib" && emerge python
> 
> On a native gentoo system, I got:
>  $ ldd crypt.so
> ...
> 	libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7690000)
> ...
>  $ equery b /lib/libcrypt.so.1
>  * Searching for /lib/libcrypt.so.1 ...
> sys-libs/glibc-2.12.2 (/lib/libcrypt-2.12.2.so)
> sys-libs/glibc-2.12.2 (/lib/libcrypt.so.1 -> libcrypt-2.12.2.so)
> 
>  $ ldd nis.so
> ...
> 	libnsl.so.1 => /lib/libnsl.so.1 (0xb7713000)
> ...
>  $ equery b /lib/libnsl.so.1
>  * Searching for /lib/libnsl.so.1 ...
> sys-libs/glibc-2.12.2 (/lib/libnsl.so.1 -> libnsl-2.12.2.so)
> sys-libs/glibc-2.12.2 (/lib/libnsl-2.12.2.so)
> 
> But crypt_failed.so and nis_failed.so in the prefix build dir just
> linked to the default libraries (which I excluded up there) and not the
> ones that define the symbols they need esepecially.
> 
> Propably it would be better to do that with -rpath but I haven't figured
> that out yet :D


-- 
Fabian Groffen
Gentoo on a different level
Attachment:
signature.asc (Digital signature)
References:
Building python fails on SLES10.1 (python-2.7.2)
-- Moritz Schlarb
Re: Building python fails on SLES10.1 (python-2.7.2)
-- justin
Re: Building python fails on SLES10.1 (python-2.7.2)
-- Martin Luessi
Re: Building python fails on SLES10.1 (python-2.7.2)
-- Moritz Schlarb
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Building python fails on SLES10.1 (python-2.7.2)
Next by thread:
cups use flag
Previous by date:
Re: Building python fails on SLES10.1 (python-2.7.2)
Next by date:
Re: gentoo prefix: dev-libs/libxml2 tries to link to system zlib


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.