Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67465 - vim-core-6.3.-r2 dependant on libgettextlib-0.14.1.so
Summary: vim-core-6.3.-r2 dependant on libgettextlib-0.14.1.so
Status: RESOLVED DUPLICATE of bug 66449
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 14:14 UTC by Mark
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments
complete output of attempted vim emerge (vim_build_log,27.20 KB, text/plain)
2004-10-13 14:50 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2004-10-13 14:14:27 UTC
Trying to emerge vim on am64. Calculated dependencies are:

  app-editors/vim-core-6.3-rs
  app-editors/vim-6.3-1

during compilation get the following error

msgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot op en shared object file: No such file or directory

I have sys-devel/gettext-0.12.1-r2 installed, but looking throught portage 0.14 is not yet available for this platform.

Are the dependencies listed for vim correct?

Reproducible: Always
Steps to Reproduce:
1. emerge vim
2.
3.

Actual Results:  
msgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot op
en shared object file: No such file or directory

Expected Results:  
installed

Portage 2.0.50-r11 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r4)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bitmap-fonts crypt encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imli b java jpeg kde libg++ libwww mikmod
motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xprint
xv zlib"
Comment 1 Ciaran McCreesh 2004-10-13 14:25:00 UTC
Tried running ldconfig as root?
Comment 2 Mark 2004-10-13 14:34:08 UTC
Ran ldconfig as advised

No difference, same error
Comment 3 Ciaran McCreesh 2004-10-13 14:39:11 UTC
Hm. Could you attach a complete build log please? I have a vague idea of what possibly could be wrong, assuming it's not an amd64 specific screwup :)
Comment 4 Mark 2004-10-13 14:50:47 UTC
Created attachment 41768 [details]
complete output of attempted vim emerge

Complete build output as requested
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2004-10-13 14:58:44 UTC
ciaranm, dont think this is an amd-specific thing ; I get the same exact thing with txt2regex, which kinda makes me think this is more of a gettext problem.  Wasn't there a recent problem with gettext?
Comment 6 Ciaran McCreesh 2004-10-13 15:04:42 UTC
Yeah, that's definitely a gettext bug, not a vim bug. msgfmt is h0rked. What does 'ldd /usr/bin/msgfmt' say?

Although, there is a vim nls bug which I just spotted, but it's not related to this...
Comment 7 Mark 2004-10-13 15:06:30 UTC
        libgettextsrc-0.12.1.so => /usr/lib/libgettextsrc-0.12.1.so (0x0000002a95658000)
        libgettextlib-0.12.1.so => /usr/lib/libgettextlib-0.12.1.so (0x0000002a9577c000)
        libc.so.6 => /lib/libc.so.6 (0x0000002a9588d000)
        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
        libgettextlib-0.14.1.so => not found
Comment 8 Ciaran McCreesh 2004-10-13 15:13:56 UTC
You need to reemerge whatever provides /lib64/ld-linux-x86-64.so.2 .
Comment 9 Mark 2004-10-13 15:26:53 UTC
I'm new to gentoo, and portage. Is there an option for this on emerge? or do I have to go a hunting?
Comment 10 Ciaran McCreesh 2004-10-13 15:32:04 UTC
yeah, emerge gentoolkit then qpkg -f /whatever/the/file/is
Comment 11 Mark 2004-10-13 15:39:00 UTC
the command

  qpkg -f /lib64/ld-linux-x86-64.so.2

returns no packages
Comment 12 Ciaran McCreesh 2004-10-13 15:42:42 UTC
amd64 people -- heeeeeeeeeeeeeeeeeeeeelp!
Comment 13 Danny van Dyk (RETIRED) gentoo-dev 2004-10-13 16:34:13 UTC
/lib64/ld-linux-x86_64.so is the amd64 equivalent to /lib/ld-linux.so; thus provided by sys-libs/glibc.

No point it re-merging that :-)

Mark: Try instead to remerge "sys-devel/gettext".

Ciaran: I had this very problem myself. It could be fixed by a remerge of gettext. /usr/bin/msgfmt seems to explictily link version 0.12* though 0.14* has been installed. But i'm too tired to have a look at this now. :-/

This to say at last: This is definitely no vim problem.
Comment 14 Ciaran McCreesh 2004-10-13 16:38:50 UTC
Ok, where the heck did I get /lib64/ld-linux-x86_64.so from? I think someone must've put water in my caffeine...
Comment 15 Aaron Walker (RETIRED) gentoo-dev 2004-10-14 04:26:10 UTC
Re-emerging gettext solved the problem on my end.  Mark?
Comment 16 Mark 2004-10-14 04:38:07 UTC
Sorry the for delay.

Yep solve the problem for me too. Re-emerged gettext and then vim

Thanks
Comment 17 Ciaran McCreesh 2004-10-14 05:10:00 UTC
Ok, cool. I'll leave this open for now to remind me to fix that other gettext + vim bug I noticed...
Comment 18 Andreas Laestadius 2004-10-16 13:54:15 UTC
The postgresql (postgresql-7.4.5-r2) ebuild suffers from this exact problem too.
Reemerging gettext fixes it.
Comment 19 Danny van Dyk (RETIRED) gentoo-dev 2004-10-17 09:34:11 UTC
Ciaran: Mind to make this a duplicate of #66449 ?
Comment 20 Ciaran McCreesh 2004-10-17 10:04:11 UTC

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