Summary: | php build fails with configure: error: readline library not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Don Park <don.park> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | don.park, loki_val |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Don Park
2007-03-01 17:15:15 UTC
Reopen with config.log attached, emerge --info and emerge -pv php output. Created attachment 111745 [details]
config.log
this is the config.log from 5.1.6-r6 which gave the same error as -r8 (masked)
tower php-5.1.6 # emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6 .20-via i686) ================================================================= System uname: 2.6.20-via i686 VIA Samuel 2 Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 27 Feb 2007 22:30:01 +0000 ccache version 2.4 [disabled] dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=c3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=c3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di stfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 qui cktime readline reflection sdl session spell spl ssl tcpd truetype truetype-font s type1-fonts vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als40 00 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es19 38 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi nu ll plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mous e evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 l cdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s 3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via v mware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS tower php-5.1.6 # emerge -pv php These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD] dev-lang/php-5.1.6-r6 [5.1.6-r8] USE="apache2 berkdb bzip2* cgi* cli crypt curl* ftp* gd* gdbm iconv ipv6 ldap mysql* mysqli* ncurses nls pcre postgres* readline reflection session snmp* soap* sockets* spell spl sqlite* ssl sysvipc* threads* tidy* truetype xml xmlreader* xmlrpc* xmlwriter* zip* zlib -adabas -apache -bcmath -birdstep -calendar -cdb -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hardenedphp -hash -hyperwave-api -imap -informix -inifile -interbase -iodbc -java-external -kerberos -libedit -mcve -memlimit -mhash -ming -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -qdbm -recode -sapdb -sasl -sharedext -sharedmem -simplexml -solid -sybase -sybase-ct -tokenizer -unicode -vm-goto -vm-switch -wddx -xpm -xsl -yaz" 0 kB [ebuild N ] dev-php5/pecl-zip-1.0 5 kB Total: 2 packages (1 downgrade, 1 new), Size of downloads: 5 kB tower php-5.1.6 # The build log produces some interesting output relating to the crypto libraries. Since it's not so long since we had an ABI upgrade, I would like to know whether revdep-rebuild produces any output? (In reply to comment #5) > The build log produces some interesting output relating to the crypto > libraries. Since it's not so long since we had an ABI upgrade, I would like to > know whether revdep-rebuild produces any output? I recently did a gcc 3.3 -> 4.1 upgrade. i rebuilt 'system' but havent rebuilt 'world. could that be related? (In reply to comment #6) > I recently did a gcc 3.3 -> 4.1 upgrade. i rebuilt 'system' but havent rebuilt > 'world. could that be related? Are you serious? Yes. That might have everything to do with it. http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-general <--- Please follow. Close this bug as invalid, please. And your penance shall be to emerge world TWICE while slavishly following the instructions in that manual. :-) im not entirely sure what ABI compatibility has to do with finding libreadline but thanks for the info. it took 36 hours to rebuild system on this 600mhz proc and i didnt want to wait a week for 'world' before getting my desktop back. (In reply to comment #8) > im not entirely sure what ABI compatibility has to do with finding libreadline > but thanks for the info. it took 36 hours to rebuild system on this 600mhz proc > and i didnt want to wait a week for 'world' before getting my desktop back. > php DID find libreadline. It was just that the test it did, which should be possible on any sane system, broke because of the changed ABI. You know, if you have other computers, check out distcc. <snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libpspell.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libssl.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libssl.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libcrypto.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libcrypto.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libcrypto.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libcrypto.so.0.9.8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.7, needed by /usr/lib/libmysqlclient.so, may conflict with libcrypto.so.0.9.8 /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::_S_refill(unsigned int)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `operator delete[](void*)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `__cxa_bad_typeid@CXXABI_1.2' /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new@GLIBCPP_3.2.2' /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `__cxa_pure_virtual@CXXABI_1.2' /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `std::__throw_bad_alloc()@GLIBCPP_3.2' /usr/lib/libaspell.so.15: undefined reference to `operator delete(void*)@GLIBCPP_3.2' </snip> You clearly did not follow the GCC upgrading instructions. http://www.gentoo.org/doc/en/gcc-upgrading.xml (Nor did you follow the instructions when upgrading openssl) |