Dear Marco,
> I just downloaded version 3.6.143. I did:
>
> ./configure
> make
> setenv XCIRCUIT_LIB_DIR ./lib
> lib/tcl/xcircuit.sh
>
> but I got this message:
>
> error in slave eval:
> couldn't load file "/usr/lib/tk8.4/../libtk8.4.so": /usr/lib/tk8.4/../
> libtk8.4.so: wrong ELF class: ELFCLASS32
> Main console display active (Tcl8.4.13 / Tk8.4.13)
> (xcircuit-3.4.30) 1 %
>
> I have the same problem with latest stable version. I am on a RedHat 5.2.
> Does anybody know how can I fix this?
I haven't seen this specific error before, but I would hazard a guess
that you're on a 64-bit machine, and the makefile compiled a 64-bit
version of xcircuit, then attempted to link it to a 32-bit version of
Tcl/Tk.
Your choices:
1) Compile a 32-bit version of xcircuit. I've never done this, but I
think all you would need to do is edit the Makefile and add "-m32"
to CFLAGS, and replace all occurances of "lib64" with "lib", then
recompile and install (don't do "configure" again after editing
the Makefile, or it will be overwritten).
2) Compile and link to a 64-bit version of Tcl/Tk. It takes a bit
longer to do, but you can download the latest versions of the Tcl
and Tk source (version 8.5, from www.tcl.tk), and compile from
source, which will install to /usr/local/, and won't interfere
with your existing version 8.4 in /usr/lib/. Then, recompile
xcircuit starting with "configure", which should prefer the 64-bit
Tcl/Tk version.
I'd recommend choice (2), but that's of course up to you. I guess I
need to add some checks to the configure script to make sure xcircuit
isn't compiling a version of itself that will be incompatible with its
link targets.
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [EMAIL PROTECTED] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev