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

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 21 Oct 1998 18:17:40 +0200

>>>>> Lars Eggert writes:

Lars> scotty-2.1.9 compiles okay under FreeBSD 2.2.6, but when I "make
Lars> install", I see the following error:

[snip]

Lars> Any ideas what could cause this? I can compile and install fine
Lars> under Solaris, but I need scotty to run locally under FreeBSD as
Lars> I need to manage some local tunnels which cannot be accessed
Lars> remotely.

The Free BSD "port" system screws up the Tcl/Tk installation. Scotty
finally ends up loading the directory /usr/tmp/scotty/lib/tnm2.1.9
rather than the shared library /usr/tmp/scotty/lib/tnm2.1.9.so. And
this of course results in an error.

I don't have the details handy, but I am sure you can fix the
pkgIndex.tcl file manually to make sure you load the right file. I am
not sure I can fix it in the scotty distribution since the Free BSD
"port" system likes to patch in the Makefiles. So you have to contact
the maintainer of these patches to get it fixed on Free BSD.

Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)

--
!! 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.