Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51531 - gvim or kvim: error while loading shared libraries: kvim: undefined symbol: PL_markstack_ptr
Summary: gvim or kvim: error while loading shared libraries: kvim: undefined symbol: P...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-19 22:49 UTC by Aaron Peterson
Modified: 2004-08-05 03:17 UTC (History)
1 user (show)

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 Aaron Peterson 2004-05-19 22:49:42 UTC
probably resolvable as a dupe of a multitude of bugs... I just want to help people catch this bug

I tried reemerging vim and kvim, but that didnt' make it work.


probably the same bug as uim not emerging

bash-2.05b$ kvim
kvim: error while loading shared libraries: kvim: undefined symbol: PL_markstack_ptr


/usr/portage/dev-lang/perl/files/libperl_rebuilder
is what I'm running in an attempt to fix this.

revdep rebuild didn't catch it...
so this might be a bug in revdep-rebuild.. in kvim, vim, or perl... or if this libperl_rebuilder works, then it appears to be a general problem with portage and I think it's supposed to be fixed in portage-ng...

anyway, i don't want anybody else to have to experience this



Reproducible: Always
Steps to Reproduce:
Here's a bit from the strace:
open("/usr/qt/3/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0<\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=76448, ...}) = 0
mmap2(NULL, 84672, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41445000
mmap2(0x41457000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x41457000
mmap2(0x41458000, 6848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41458000
close(3)                                = 0
open("/usr/kde/3.2/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/kde/3.2/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=19000, ...}) = 0
mmap2(NULL, 181116, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4145a000
mmap2(0x4145f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4) = 0x4145f000
mmap2(0x41460000, 156540, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41460000
close(3)                                = 0
open("/usr/kde/3.2/lib/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXau.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11296, ...}) = 0
mmap2(NULL, 11204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41487000
mmap2(0x41489000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x41489000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4148a000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4148b000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4148c000
writev(2, [{"kvim", 4}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"kvim", 4}, {": ", 2}, {"undefined symbol: PL_markstack_p"..., 34}, {"", 0}, {"", 0}, {"\n", 1}], 10kvim: error while loading shared libraries: kvim: undefined symbol: PL_markstack_ptr
) = 85
exit_group(127)                         = ?
bash-2.05b$
Actual Results:  
uim isn't emerging either, because of some perl XML thing ... so I think it's
the perl/portage/revdep problem.

(portage 


Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.14
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm
arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt
crypt cscope cups dga directfb divx4linux doc dv dvb dvd encode esd evms2 faad
fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gdbm ggi gif gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript
joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww mad maildir
md5sum mdb mikmod mmx motif mozilla mpeg mpeg4 mule mysql nas ncurses net nls
nptl nvidia oggvorbis opengl oss pam pdflib perl pic png postgres python qt
quicktime readline samba sasl scanner sdl slang spell sse ssl svg svga tcltk
tcpd tetex theora threads tiff transcode truetype unicode usb v4l vhosts
virus-scan x86 xine xinerama xml2 xmms xv xvid zeo zlib"
Comment 1 Boris Fersing (RETIRED) gentoo-dev 2004-07-28 02:24:57 UTC
I had this problem too, there is a problem with the threads ...

Just re emerge libperl & perl with USE="-threads" and then retry to emerge vim & friends :)



Comment 2 Aaron Peterson 2004-08-04 23:17:03 UTC
I think kvim was nuked out of portage because of this bug... I had forgotten that this was here...

Filter the ebuild, and put kvim back in?

add kde team to cc list?

close the bug?
Comment 3 Ciaran McCreesh 2004-08-05 03:17:46 UTC
No, kvim was removed for a different reason. I'm pretty sure that this bug can be fixed by reemerging libperl, anyway.