Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96109 - pear-mdb-1.3.0 fails to emerge
Summary: pear-mdb-1.3.0 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 11:49 UTC by Matt M
Modified: 2005-06-14 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt M 2005-06-14 11:49:31 UTC
Here is the straight output from emerge: 

hydra ~ # ACCEPT_KEYWORDS="~sparc" emerge -v ">PEAR-MDB-1.2"
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/PEAR-MDB-1.3.0 to /
>>> md5 files   ;-) PEAR-MDB-1.2.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) PEAR-MDB-1.3.0.ebuild
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-PEAR-MDB-1.2
>>> md5 files   ;-) files/digest-PEAR-MDB-1.3.0
>>> md5 src_uri ;-) MDB-1.3.0.tgz
>>> Unpacking source...
>>> Unpacking MDB-1.3.0.tgz to /var/tmp/portage/PEAR-MDB-1.3.0/work
tar: A lone zero block at 2670
>>> Source unpacked.
>>> Test phase [not enabled]: dev-php/PEAR-MDB-1.3.0
 
>>> Install PEAR-MDB-1.3.0 into /var/tmp/portage/PEAR-MDB-1.3.0/image/ category
dev-php
/usr/bin/php: error while loading shared libraries: libhistory.so.4: cannot open
shared object file: No such file or directory

Troublesome things are that error message from tar, but that php can't find that
library. I do have libhistory.so.5 on my system, but haven't yet tested if I can
work around this by symlinking libhistory.so.4 to it. 

Program versions: 
 
*  dev-php/mod_php
      Latest version available: 4.3.11
      Latest version installed: 4.3.11
      Size of downloaded files: 3,941 kB
      Homepage:    http://www.php.net/
      Description: Apache module for PHP
      License:     PHP-3
 
*  dev-php/php
      Latest version available: 4.3.11
      Latest version installed: 4.3.11
      Size of downloaded files: 3,941 kB
      Homepage:    http://www.php.net/
      Description: PHP Shell Interpreter
      License:     PHP-3


Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~sparc" emerge -v ">PEAR-MDB-1.2"
2.
3.

Actual Results:  
PEAR-MDB fails to emerge because of an error thrown by /usr/bin/php about not
being able to find libhistory.so.4

Expected Results:  
Correctly emerge PEAR-MDB. 

hydra ~ # emerge info
Portage 2.0.51.19 (default-linux/sparc/sparc64/2005.0, gcc-3.3.5-20050130,
glibc-2.3.3.20040420-r2, 2.4.29-sparc sparc64)
=================================================================
System uname: 2.4.29-sparc sparc64 sun4u
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 05:09:56)]
distcc 2.16 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts cdr crypt cups curl dlloader
dvdr eds encode esd fam fbcon flac foomaticdb fortran gcc64 gd gdbm gif gnome
gstreamer gtk imap imlib java jpeg jpeg2k kde ldap libwww mad mikmod motif
mozilla mozsvg mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib
perl png python qt readline samba sasl sdl snmp spell ssl tcpd threads tiff
truetype truetype-fonts type1-fonts vorbis xml2 xmms xpm xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Matt M 2005-06-14 11:55:14 UTC
Symlinking libhistory.so.5.0 -> libhistory.so.4 fixes this and allows the emerge
to continue, apparently successfully. Bit hackish, though. :(

Matt M
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-14 11:58:25 UTC
You should run revdep-rebuild after upgrading readline - as the ebuild
instructed you.