tcl-websh-dev mailing list archives

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

> I ran the tests on tcl.apache.org, which is a FreeBSD machine:
[...]

>         couldn't load file "../unix/libwebsh3.10.so": ../unix/libwebsh3.10.so: 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 opera.netcetera.ch 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Oct 26 15:27:54 CEST 2001
    jason@opera.netcetera.ch:/usr/src/sys/compile/OPERA  i386
opera(jason): file ../unix/libwebsh300.so.1 
../unix/libwebsh300.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD),
not stripped
opera(jason): tclsh8.3
% load ../unix/libwebsh300.so.1
% web::htmlify <html>
&lt;html&gt;


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

------------------------------------------------------------------------
Jason Brazile                                 jason.brazile@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 70 70  fax +41 1 247 70 75


Mime
View raw message