Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63095 - postgresql-7.4.3-r1 failes to configure because of missing libtermcap.so.2
Summary: postgresql-7.4.3-r1 failes to configure because of missing libtermcap.so.2
Status: RESOLVED DUPLICATE of bug 63073
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 00:36 UTC by Michael Postmann
Modified: 2007-09-22 23:20 UTC (History)
3 users (show)

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


Attachments
config.log (config.log,80.74 KB, text/plain)
2004-09-07 00:37 UTC, Michael Postmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Postmann 2004-09-07 00:36:27 UTC
Output:

checking for rint... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for getaddrinfo... yes
checking for getopt_long... yes
checking for rl_completion_append_character... yes
checking for rl_completion_matches... yes
checking for rl_filename_completion_function... yes
checking for replace_history_entry... yes
checking for finite... yes
checking for sigsetjmp... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for optreset... no
checking for strtoll... yes
checking for strtoull... yes
checking for atexit... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... (cached) yes
checking test program... failed
configure: error:
*** Could not execute a simple test program.  This may be a problem
*** related to locating shared libraries.  Check the file 'config.log'
*** for the exact reason.

config.log see attachment

Workaround:
cd /lib; ln libtermcap.so.2.0.8 libtermcap.so.2
Comment 1 Michael Postmann 2004-09-07 00:37:10 UTC
Created attachment 39114 [details]
config.log
Comment 2 Graham Hudspith 2004-09-07 01:12:43 UTC
Curious! This just happened to me too. Only this time, upgrading FROM v7.4.3-r1 to v7.4.5 of postgresql ...

Same problem, missing libtermcap.so.2, probably same fix too.

This is for x86.
Comment 3 Graham Hudspith 2004-09-07 01:39:27 UTC
Seems to be a problem with the ebuild for sys-libs/libtermcap-compat-1.2.3-r1.

Creates a symlink from libtermcap.so.2.0.8 to libtermcap.so, also needs to create one from libtermcap.so.2.0.8 tolibtermcap.so.2.

Already seems to happen in ebuild for sys-libs/libtermcap-compat-2.0.8-r1.ebuild.
Comment 4 Roel Brook 2004-09-07 04:20:12 UTC
Re-emerging libcap-compat fixed it for me. Probably the ebuild changed after I emerged it, and it didn't get picked up by portage.

The symlinks get created correctly now
Comment 5 Chris Bainbridge (RETIRED) gentoo-dev 2004-09-07 04:42:17 UTC
I can confirm that reemerging libtermcap-compat seems to work. But something odd is going on:

# l /lib/libtermcap.so.2
lrwxr-xr-x  1 root root 19 Sep  7 11:43 /lib/libtermcap.so.2 -> libtermcap.so.2.0.8*
# qpkg -f  /lib/libtermcap.so.2
sys-libs/libtermcap-compat *
# qpkg -l libtermcap-compat
sys-libs/libtermcap-compat-1.2.3-r1 *
CONTENTS:
/etc
/etc/termcap
/lib
/lib/libtermcap.so.2.0.8
/lib/libtermcap.so -> libtermcap.so.2.0.8 1094556418
/usr
/usr/lib
/usr/lib/libtermcap.a
/usr/lib/libtermcap.so
/usr/share
/usr/share/doc
/usr/share/doc/libtermcap-compat-1.2.3-r1
/usr/share/doc/libtermcap-compat-1.2.3-r1/README.gz
/usr/share/doc/libtermcap-compat-1.2.3-r1/ChangeLog.gz

Where is /lib/libtermcap.so.2?
Comment 6 Thomas T. Veldhouse 2004-09-22 04:17:33 UTC
I just hit this one too with a new gentoo installation ... same workaround with postgresql-7.4.5

[veldy@ekg veldy]$ emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 aalib accounting acpi aim ansi apache2 async bcmath bdf berkdb bitmap-fonts bonobo bzlib c caps cdb cddb cdf cdr cdrom cgi clamav crypt ctype cups curl curlwrappers dio encode f77 fam foomaticdb ftp gcj gdbm gif gmtfull gmthigh gmtsuppl gmttria guile hardenedphp hbci iconv idea imap imlib inifile java javascript jpeg lcms ldap libg++ libwww lzw lzw-tiff mad maildir mcal mcve mhash mikmod mime mmx mono native ncurses neural nls nntp nptl ntlm oggvorbis oss pam pcntl pcre pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php pic pie png posix postgres postgresql procmail pthreads python readline recode rtc samba sasl sdl session shared sharedmem slang slp smime soap sockets spell spl ssl svga szip tcpd tiff truetype usb uudeview x86 xinetd xml2 xmlrpc xsl zlib"

Comment 7 Masatomo Nakano (RETIRED) gentoo-dev 2004-09-23 12:19:10 UTC
Can you try postgresql-7.4.5-r1?
The ebuild should be fixed.

I'm going to mark it stable in several days.


*** This bug has been marked as a duplicate of 63073 ***