Subject: grail dependency problem
To: None <tech-pkg@netbsd.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: tech-pkg
Date: 02/17/2005 12:24:04
I tried installing the binary pkg for grail, and it's dependancies,
on port-alpha running 2.0.  Grail says it wants tk>=8.3.4, but
then complains that it can't find libtk83.so.1.

tk-8.4.8 is >= than 8.3.4 and thus should work, right?

sopwith pkg_info -n grail-0.6
Information for grail-0.6:

Requires:
py15-Tk-*
python15>=1.5
tcl>=8.3.4
tk>=8.3.4


sopwith pkg_info -a | egrep "py15-Tk|python15|tcl|tk|grail"
tcl-8.4.8           Ousterhout's Tool Command Language, a scripting language
tk-8.4.8            Graphical toolkit for TCL
python15-1.5.2nb2   Interpreted, interactive, object-oriented programming language
py15-Tk-0           Tkinter -- Python interface to Tcl/Tk
grail-0.6           Grail(TM) is a web browser written in Python
sopwith 
sopwith grail
Traceback (innermost last):
  File "/usr/pkg/share/misc/grail-0.6/grail.py", line 43, in ?
    from Tkinter import *
  File "/usr/pkg/lib/python1.5/lib-tk/Tkinter.py", line 8, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: Shared object "libtk83.so.1" not found
sopwith 

sopwith ll /usr/pkg/lib/libtk*
-r-xr-xr-x  1 root  wheel  1263369 Feb  5 09:18 /usr/pkg/lib/libtk84.so.1.0.0*
lrwxr-xr-x  1 root  wheel       16 Feb  5 09:18 /usr/pkg/lib/libtk84.so.1@ -> libtk84.so.1.0.0
lrwxr-xr-x  1 root  wheel       16 Feb  5 09:18 /usr/pkg/lib/libtk84.so@ -> libtk84.so.1.0.0
-rw-r--r--  1 root  wheel      862 Feb  5 09:18 /usr/pkg/lib/libtk84.la
-rw-r--r--  1 root  wheel  2112404 Feb  5 09:18 /usr/pkg/lib/libtk84.a
-rw-r--r--  1 root  wheel     4182 Feb  5 09:18 /usr/pkg/lib/libtkstub84.a