Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52845 - emerge findlib 0.8 aborts without libtk8.3.so
Summary: emerge findlib 0.8 aborts without libtk8.3.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 21:15 UTC by M. Edward Borasky
Modified: 2004-08-18 09:36 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 M. Edward Borasky 2004-06-02 21:15:16 UTC
I recently upgraded from Tcl/Tk 8.3 to 8.4. Then I tried to emerge findlib 0.8. It looks like it's specifically looking for "libtk8.3.so. I have "libtk8.4.so", but not 8.3. I'm guessing the two can co-exist; in any case, that's what I'm going to try next. Meanwhile, I think either the ebuild should have a dependency on that library or the upstream folks should figure out if it will work with 8.4.

Reproducible: Always
Steps to Reproduce:
1. Upgrade to Tcl/Tk 8.4
2. Emerge findlib 0.8
3.

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/findlib-0.8/work/findlib-0.8/toolbox'
ocamlc -o make_wizard -I +labltk -I .. unix.cma str.cma labltk.cma \
        findlib.cma findlib_unix.cma make_wizard.ml
Error on dynamically loaded library: libtk8.3.so: cannot open shared object
file: No such file or directory
make[1]: *** [make_wizard] Error 2
make[1]: Leaving directory `/var/tmp/portage/findlib-0.8/work/findlib-0.8/toolbox'
make: *** [mk_toolbox] Error 2

!!! ERROR: dev-ml/findlib-0.8 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)

DreamTime root # locate libtk8
/usr/lib/libtk8.4.so


Expected Results:  
built findlib 0.8

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.4.25-gentoo-r3)
=================================================================
System uname: 2.4.25-gentoo-r3 i686 mobile AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa apm arts atlas auctex avi berkdb bonobo cdr
cmucl crypt cups directfb doc emacs emacs-w3 encode esd f77 flac foomaticdb gdbm
gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jack java javascript jikes
jpeg junit kde ladcca ldap libg++ libsamplerate libwww mad mikmod mmx motif
mozdomi mozilla mozxmlterm mpeg mysql nas ncurses netcdf nls ocaml oggvorbis
ooo-kde openal opengl oss pam pcmcia pcre pdflib perl png pnp postgres python qt
quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86
xemacs xml2 xmms xv zlib"
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-06-03 09:58:11 UTC
The problems is most likely that you didn't recompile ocaml after upgrading tcl/tk. It is ocaml that has direct support for it, and which links some objects to the tk library. So, try reemerging ocaml and then findlib.
Comment 2 M. Edward Borasky 2004-06-04 06:55:39 UTC
Ayup ... that worked -- Re-emerge Tcl / Tk 8.4, re-emerge ocaml, re-emerge findlib. However (pregnant pause) after I did that, a lightbulb went off and I ran "revdep-rebuild -p" and the resulting list of things that want the 8.3 libraries is way to long to list here. I recall some ebuild told me I had to do that once -- shouldn't Tcl/Tk tell me that?
Comment 3 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-18 09:36:28 UTC
Tcl/tk should probably say that, closing the bug.