amd64 support?

#1
downloaded lsws-2.1.5-std-i386-linux.tar.gz

obviously, after running install.sh, the precompiled binaries will not run:

[root@dev01 bin]# ./lshttpd.2.1.5
-su: ./lshttpd.2.1.5: No such file or directory

[root@dev01 bin]# file lshttpd.2.1.5
lshttpd.2.1.5: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

i'm running debian-amd64, linux kernel 2.6.13.1. i'd be quite surprised if you guys don't have an amd64 port available?
 

xing

LiteSpeed Staff
#2
Have you tried using the start up script "/lswsinstalldir/bin/lswsctrl start"?

if it doesn't start, check perhaps you need to install 32bit compat libs for your machine?
 
#3
xing said:
Have you tried using the start up script "/lswsinstalldir/bin/lswsctrl start"?

if it doesn't start, check perhaps you need to install 32bit compat libs for your machine?
that's not going to help much.

[root@dev01 bin]# file lswsctrl
lswsctrl: Bourne shell script text executable

a bash script will work just fine on any platform :p

i do not believe there are 32bit compat libs for this platform. unless having to setup a 32-bit chroot so i can operate it out of there, but that's too much work for something i would expect to be largely in use by now.

amd64 is on athlon64s, opterons
em64t is on xeons, possibly even some pentiums now

it's quite a popular platform. i'd be amazed if it was not supported directly yet... that will definately deter me from trying and/or buying...
 

ts77

Well-Known Member
#4
I've run an gentoo-amd64 on an athlon64 and it provided compatibility libs out of the box.
I'd say to check your distributions archives again.
 
#5
ts77 said:
I've run an gentoo-amd64 on an athlon64 and it provided compatibility libs out of the box.
I'd say to check your distributions archives again.
i'm trying it now. still though, a native compile would be great... probably increase performance even more.

edit:

alright, ia32-libs and ia32-libs-dev apt packages installed and it does appear to be usable now.

still my comment above is the main point. not having a native port...
 

xing

LiteSpeed Staff
#6
I've had this conversation with the developer before regarding 64bit vs 32bit and lsws webserve is concerned. From what I remember:

1) 64bit for litespeed doesn't help. Lsws barely use any ram and 64bit system induces higher cpu cache miss penaties (2x).

2) There was not much performance difference at all.

Lsws is about I/O performance and that's one thing 64bit anything would not help at all.

There is no reason lsws should not run though with 32bit compat libs though and I remember others have done the same on 64bit distros.
 
Top