LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Wrong interpreter specified in install scripts

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2008, 04:26 AM
galiyosha galiyosha is offline
New Member
 
Join Date: Sep 2008
Posts: 2
Default Wrong interpreter specified in install scripts

install.sh and functions.sh have /bin/sh specified as an interpreter. However, on systems, where /bin/sh is a plain Bourne shell (like Solaris 10), installation fails with the message of
install.sh: test: argument expected
because of line 972 in function.sh:
Code:
if [ -e "$LSINSTALL_DIR/bin/lshttpd.dbg" ]; then
All runs fine if installation is invoked by bash install.sh.

Please correct the shebang line in your install scripts to point explicitly to bash.

OS: Solaris 10, 64-bit
LSWS 3.3.17 Standard
Reply With Quote
  #2  
Old 09-07-2008, 04:31 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Bash may not available by default, even on some solaris distribution. Maybe use

if [ -f ... ]; then

instead to make it compatible with most shell.
Reply With Quote
  #3  
Old 03-17-2013, 09:55 AM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
On CentOS Linux 6.4 64-bit, Litespeed 4.2.2 Std refused to install until I did

yum install glibc.i686

Error was:
/usr/local/lsws/bin/lswsctrl: ./litespeed: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[ERROR] Failed to start litespeed!
Reply With Quote
  #4  
Old 03-18-2013, 10:08 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
glibc requirement is at the page bottom (http://www.litespeedtech.com/litespe...downloads.html)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:22 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.