Re: package require fails, but load works. suggestions?
- From: Don Porter <dgp@xxxxxxxxxxxxxx>
- Date: 3 Jul 2006 15:30:04 GMT
sbromle wrote:
Started tkcon, then, within it:
(scripts) 49 % lappend auto_path /usr/local/mvth/lib
/usr/lib/tcl8.4 /usr/lib /usr/share /usr/lib/tcllib1.8 /usr/lib/tk8.4
{} /usr/local/mvth/lib
(scripts) 50 % package require mvthcore
1.0
(scripts) 51 % package require mvthimage
1.0
(scripts) 52 % package require buriedtargets
couldn't load file "buriedtargets.so": buriedtargets.so: cannot open
shared object file: No such file or directory
(scripts) 53 % puts $::errorInfo
couldn't load file "buriedtargets.so": buriedtargets.so: cannot open
shared object file: No such file or directory
while executing
"load buriedtargets.so"
Look at this error message. It claims the command that fails is
precisely [load buriedtargets.so].
lies a pkgIndex.tcl
file containing:
package ifneeded buriedtargets 1.0 [list load [file join $dir
buriedtargets.so]]
Look at that index file. It registers a script that looks like
[load /path/to/buriedtargets.so].
So, the error you report is not coming from the index script you
are examining.
Or, possibly you are not reporting the uncensored error information.
Use [package versions] and [package ifneeded] to examine all the
scripts registered that might provide some version or another of
the buriedtargets package. That should give you a hint where the
buggy install is.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- References:
- package require fails, but load works. suggestions?
- From: sbromle
- Re: package require fails, but load works. suggestions?
- From: Don Porter
- Re: package require fails, but load works. suggestions?
- From: sbromle
- package require fails, but load works. suggestions?
- Prev by Date: rebuilding expect with different timer
- Next by Date: Re: rebuilding expect with different timer
- Previous by thread: Re: package require fails, but load works. suggestions?
- Next by thread: Re: package require fails, but load works. suggestions?
- Index(es):
Relevant Pages
|