Re: [tkined] FreeBSD 2.2.6 + scotty 2.1.9 = "bad magic number"

Paul Koch (pak@statscout.com)
Thu, 22 Oct 1998 08:23:02 +1000 (EST)

On Wed, 21 Oct 1998, Lars Eggert wrote:

> Hi,
>
> scotty-2.1.9 compiles okay under FreeBSD 2.2.6, but when I "make install", I
> see the following error:
>
> [tan-e: ~/scotty-2.1.9/unix] gmake install
> Installing scotty2.1.9 and tnm2.1.9.so
> 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/tmp/scotty/lib/tnm2.1.9": bad
> magic number in "/usr/tmp/scotty/lib/tnm2.1.9"
> gmake: *** [tnm-install-library] Error 1
> Exit 2
>
> This is what ended up in /usr/tmp/scotty/lib after the error:
>
> [tan-e: ~/scotty-2.1.9/unix] ll /usr/tmp/scotty/lib/
> total 394
> drwxr-xr-x 5 larse wheel 512 Oct 20 16:04 tkined1.4.9/
> -r-xr-xr-x 1 larse wheel 116749 Oct 20 16:04 tkined1.4.9.so*
> drwxr-xr-x 6 larse wheel 512 Oct 20 16:12 tnm2.1.9/
> -r-xr-xr-x 1 larse wheel 261810 Oct 20 19:20 tnm2.1.9.so*
>
> Any ideas what could cause this? I can compile and install fine under Solaris,
> but I need scotty to run locally under FreeBSD as I need to manage some local
> tunnels which cannot be accessed remotely.

Hmm, I have never had problems compiling Scotty on FreeBSD. Usually a

./configure --disable-multicast
make
make install
make sinstall

completes without any warnings or errors. The only difference I see is that
you are using 'gmake', where I am using the standared BSD 'make'. I have
never had problems with Scotty 2.x on FreeBSD -STABLE or -RELEASE. It goes
like a rocket!

Paul.

----------------------------------------------------------------------------
Paul Koch
Director, Support and Development Enterprise Network Monitoring Software
Email: pak@statscout.com Statscout Software Ptd Ltd
Web: http://www.statscout.com Level 6. 360 Queen St
Phone: +61 7 32294750 Brisbane, Queensland, 4000
Fax: +61 7 32294506 Australia
----------------------------------------------------------------------------

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.