Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 1998 21:45:52 -0500
From:      Edwin Culp <eculp@ver1.telmex.net.mx>
To:        Stefan Esser <se@FreeBSD.ORG>
Cc:        freebsd-ports@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG
Subject:   Re: Scotty Port finished with this error.
Message-ID:  <35736760.69624C74@ver1.telmex.net.mx>
References:  <35716515.34FA3AC7@ver1.telmex.net.mx> <19980601195828.09737@mi.uni-koeln.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Esser wrote:
> 
> On 1998-05-31 09:11 -0500, Edwin Culp <eculp@ver1.telmex.net.mx> wrote:
> > I was able to install this in another (I thought identical)
> > machine with no problem.  I don't find any problem with
> > tnm2.1.8.so that is identical to the other machine:-(
> > The /usr/share/misc/magic is the same file on both.
> > The Makefiles are the same the tnm2.1.8.so are the same.
> >
> > This has to be something dumb.
> >
> > Making directory /usr/local/lib/tnm2.1.8/library
> > Installing ./../tnm/library/README
> > Installing ./../tnm/library/dialog.tcl
> > Installing ./../tnm/library/output.tcl
> > Installing ./../tnm/library/snmp.tcl
> > Installing ./../tnm/library/monitor.tcl
> > Installing ./../tnm/library/obsolete.tcl
> > Installing ./../tnm/library/init.tcl
> > initialization failed: couldn't load file "/usr/local/lib/tnm2.1.8": bad
> > magic number in "/usr/local/lib/tnm2.1.8"
> > *** Error code 1
> 
> Stumbled over this just a few days ago ...
> 
> There is a ".co" missing in one of the install sub-targets
> in the makefile. I can check the details at work tomorrow,
> but I just looked at the scotty 2.1.6 sources (didn't have
> 2.1.8 here at home), and you may want to give the following
> change a try:
> 
> tnm-install-bin:
>         [...]
>         @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl
> 
> Make this read (in work/scotty-2.1.8/unix/makefile):
> 
>         @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION).so[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl
> 
> I assume that the "[info sharelibextension]" was supposed to
> take care of the ".so", but this apparently does not work.
> The correct fix might involve setting the tcl variable, but I
> needed it running quickly, and didn't bother (nor had time)
> to further look into this ...
> 
> Regards, STefan
I just telneted in to the office added the .so and
Worked great.   That was the problem.  I didn't think of that.

Thanks a lot.

ed

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35736760.69624C74>