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-osx
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-osx@g.o
From: Tobias Hahn <tobhahn@...>
Subject: ld+readline issue
Date: Sun, 9 Apr 2006 20:02:58 +0200
I can almost emerge system now :-) The only thing missing is  
readline. readline contains rlfe, which links to readline. When  
trying to do the actual link, my portage ld tries to link both /usr/ 
lib/readline and $PREFIX/usr/lib/readline, and complains about  
duplicate symbols. I suspect that somehow, /usr/lib is hardcoded into  
ld. I tried to remerge odcctools, but that didn't help either.

Can someone please help? Thanx!

This is (part of the) output from emerge:

powerpc-apple-darwin8-gcc -L../.. -o rlfe rlfe.o pty.o -lreadline - 
lhistory -lcurses
/Volumes/portage/prefix/usr/bin/ld: multiple definitions of symbol  
_read_history
/usr/lib/libreadline.dylib(readline.o_s) definition of _read_history
../../libhistory.a(histfile.o) definition of _read_history in section  
(__TEXT,__text)

[... about 20 more symbols ...]

/Volumes/portage/prefix/usr/bin/ld: multiple definitions of symbol  
_history_search_prefix
/usr/lib/libreadline.dylib(readline.o_s) definition of  
_history_search_prefix
../../libhistory.a(histsearch.o) definition of _history_search_prefix  
in section (__TEXT,__text)
collect2: ld returned 1 exit status
make: *** [rlfe] Error 1

!!! ERROR: sys-libs/readline-5.1_p2 failed.
Call stack:
   ebuild.sh, line 1660:   Called dyn_compile
   ebuild.sh, line 1057:   Called src_compile
   readline-5.1_p2.ebuild, line 70:   Called die

!!! make rlfe failed

Here's my emerge --info --verbose
emerge: wheel group use is being deprecated. Please update group and  
passwd to
         include the portage user as noted above, and then use group  
portage.
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.1.13 (default-darwin/macos/10.4/ppc, gcc-4.0.1,  
libsystem-7.1-r0, 8.6.0 Power Macintosh)
=================================================================
System uname: 8.6.0 Power Macintosh powerpc
Unknown Host Operating System
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2)  
(default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   1.5.22
sys-devel/odcctools: 20060123
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
ACCEPT_LICENSE=""
ARCH="ppc"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="powerpc-apple-darwin8"
CCACHE_DIR="/var/root/.ccache"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CLEAN_DELAY="5"
CONFIG_PROTECT="/Volumes/portage/prefix/etc /etc /usr/kde/2/share/ 
config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /Volumes/portage/prefix/etc/env.d"
CXXFLAGS="-O2 -pipe"
DEFAULT_PATH="Volumes/portage/prefix/sbin:/Volumes/portage/prefix/usr/ 
sbin:/Volumes/portage/prefix/bin:/Volumes/portage/prefix/usr/bin:/ 
Volumes/portage/prefix/usr/lib/portage/bin"
DISTDIR="/Volumes/portage/prefix/usr/portage/distfiles"
ELIBC="Darwin"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig collision-protect distlocks metadata-transfer  
sfperms strict"
FETCHCOMMAND="/usr/bin/curl --connect-timeout 15 -# -f -o ${DISTDIR}/$ 
{FILE} ${URI}"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/ 
pub/linux/distributions/gentoo"
HOME="/Volumes/portage"
KERNEL="Darwin"
MACOSX_DEPLOYMENT_TARGET="10.4"
MAKEOPTS="-j2"
OLDPWD="/Volumes/portage/prefix/etc"
PATH="Volumes/portage/prefix/sbin:/Volumes/portage/prefix/usr/sbin:/ 
Volumes/portage/prefix/bin:/Volumes/portage/prefix/usr/bin:/Volumes/ 
portage/prefix/usr/lib/portage/bin"
PKGDIR="/Volumes/portage/prefix/usr/portage/packages"
PLATFORM="Darwin"
PORTAGE_ARCHLIST="ppc s390 amd64 x86-macos ppc64 m68k arm sparc sh  
mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="601"
PORTAGE_GROUP="portage"
PORTAGE_INST_GID="601"
PORTAGE_INST_UID="601"
PORTAGE_INST_USER="portage"
PORTAGE_MASTER_PID="20104"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times  
--compress --force --whole-file --delete --delete-after --stats -- 
timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/ 
packages'"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/Volumes/portage/prefix/var/tmp"
PORTAGE_USER="portage"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/Volumes/portage/prefix/usr/portage"
PORTDIR_OVERLAY="/Volumes/portage/local/portage"
PREFIX="/Volumes/portage/prefix"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/Volumes/portage/prefix"
RESUMECOMMAND="/usr/bin/curl --connect-timeout 15 -# -f -C - -o $ 
{DISTDIR}/${FILE} ${URI}"
RPMDIR="/Volumes/portage/prefix/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm-color"
USE="ppc berkdb bzip2 emboss python zlib elibc_Darwin kernel_Darwin  
platform_Darwin userland_Darwin"
USER="portage"
USERLAND="Darwin"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES  
KERNEL LINGUAS PLATFORM USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
XARGS="xargs"
_="/Volumes/portage/prefix/usr/bin/emerge"

-- 
gentoo-osx@g.o mailing list


Replies:
Re: ld+readline issue
-- exg
References:
bootstrap gcc-apple fails
-- Tobias Hahn
Re: bootstrap gcc-apple fails
-- Grobian
Re: bootstrap gcc-apple fails
-- Tobias Hahn
Re: bootstrap gcc-apple fails
-- Tobias Hahn
Re: bootstrap gcc-apple fails
-- Grobian
Re: bootstrap gcc-apple fails
-- Tobias Hahn
Re: bootstrap gcc-apple fails
-- Grobian
Re: bootstrap gcc-apple fails
-- Tobias Hahn
Re: bootstrap gcc-apple fails
-- Grobian
bootstrap
-- Tobias Hahn
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
bootstrap
Next by thread:
Re: ld+readline issue
Previous by date:
bootstrap
Next by date:
Re: ld+readline issue


Updated Jun 17, 2009

Summary: Archive of the gentoo-osx mailing list.

Donate to support our development efforts.

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