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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Error compiling php 5.3.21 (cannot find --ltdl)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2013, 07:58 AM
nikoc1337 nikoc1337 is offline
Member
 
Join Date: Oct 2012
Posts: 10
Default Error compiling php 5.3.21 & 5.2.17 (libiconv)

Hey. I have been using litespeed on my server for over a year.
I'am now trying to install litespeed on another server and after many issues im getting one more error while compiling php. I did search enough but haven't resolved it yet. Im having this problem both when i try to setup php 5.3.21 & 5.2.17

Code:
/
ext/iconv/iconv.o:/usr/local/lsws/phpbuild/php-5.3.21/ext/iconv/iconv.c:2545: more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/lsws/phpbuild/php-5.3.21/ext/iconv/iconv.c:2499: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/usr/local/lsws/phpbuild/php-5.3.21/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/usr/local/lsws/phpbuild/php-5.3.21/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/usr/local/lsws/phpbuild/php-5.3.21/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
**ERROR** Could not compile PHP

Last edited by nikoc1337; 02-21-2013 at 09:05 AM..
Reply With Quote
  #2  
Old 02-21-2013, 10:09 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
http://www.litespeedtech.com/support...ead.php?t=2019
Reply With Quote
  #3  
Old 02-21-2013, 10:22 AM
nikoc1337 nikoc1337 is offline
Member
 
Join Date: Oct 2012
Posts: 10
Quote:
Originally Posted by webizen View Post
Hi.. I have already done that. Still getting the same error.
Reply With Quote
  #4  
Old 02-21-2013, 12:53 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Quote:
Originally Posted by nikoc1337 View Post
Hi.. I have already done that. Still getting the same error.

Try ldconfig.

Also, try exclude iconv from compile with '--without-iconv' to work around if you don't really need iconv.

If still problem, pm your server temp access if you like us to look further.
Reply With Quote
  #5  
Old 02-21-2013, 12:58 PM
nikoc1337 nikoc1337 is offline
Member
 
Join Date: Oct 2012
Posts: 10
Quote:
Originally Posted by webizen View Post
Try ldconfig.

Also, try exclude iconv from compile with '--without-iconv' to work around if you don't really need iconv.

If still problem, pm your server temp access if you like us to look further.
I need to run a wordpress blog on the server. Also i had tried ldconfig before.
Im now trying to compile php without-iconv. I think i'am able to install php modules without recompiling php. Ill edit this soon for more news.
Thanks for the fast responses mate.

Edit: I did add --without-iconv and it's still giving the same error.

Last edited by nikoc1337; 02-21-2013 at 01:01 PM..
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:57 AM.



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