tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brazile <>
Subject Re: FreeBSD errors
Date Tue, 27 Nov 2001 14:27:11 GMT
Hi David,

> I ran the tests on, which is a FreeBSD machine:

>         couldn't load file "../unix/": ../unix/ invalid
shared object: e_phentsize != sizeof(Elf_Phdr)
> This one above is kind of strange.  I'm not sure what problems it
> would be having with shared objects...  Even in a normal Tcl shell, it
> can't load that file:

Quick sanity test on my system:

opera(jason): uname -a
FreeBSD 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Oct 26 15:27:54 CEST 2001  i386
opera(jason): file ../unix/ 
../unix/ ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD),
not stripped
opera(jason): tclsh8.3
% load ../unix/
% web::htmlify <html>

OK, so something is quite strange for you. Is LD_LIBRARY_PATH set? 
If yes, try unsetting it and see if it makes a difference. Also look
at "ldconfig -r". Maybe it is trying to load a linux version with
the native loader or vice-versa.

Otherwise, is the test system the same version as build system?


Jason Brazile                       
Netcetera AG, 8040 Zuerich    phone +41 1 247 70 70  fax +41 1 247 70 75

View raw message