#1  
Old 2nd January 2008, 17:07
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default Error zlib to install ispconfig

when i insll ispconfig i recive this error:

Code:
Configuring extensions
checking whether to enable LIBXML support... no
checking libxml2 install dir... no
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... /usr/lib64
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... no
checking if we should use cURL for url streams... no
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... no
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for GD support... no
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for GNU gettext support... no
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for variable length prototypes and stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 8
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
ERROR: Could not configure PHP
cd: error retrieving current directory: getcwd: cannot access parent directories: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/aps.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/spamassassin.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/uudeview.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/clamav.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronolog»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronosplit»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/ispconfig_tcpserver»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/zip»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/unzip»: No existe el fichero o el directorio
tar: spamassassin.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «spamassassin»: No existe el fichero o el directorio
tar: uudeview.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «uudeview»: No existe el fichero o el directorio
tar: clamav.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «clamav»: No existe el fichero o el directorio
tar: aps.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
./setup2: line 873: ispconfig_tmp/php/bin/php: No existe el fichero o el directorio
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
i have install zlib and zlib-devel

I have tried to modify the file compile, in the line 85 putting the following thing:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl=${INSTALL_ROOT}/openssl --with-mysql=/usr --enable-libxml --without-zlib || error "Could not configure PHP"

Also I have tried to add this:
--with-zlib-dir=/usr/lib64
But it(he,she) continues the mistake

thanks for all
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2008, 11:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,268 Times in 4,130 Posts
Default

Did you install all packeges as described in the perfect setup guide for your linux distribution?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd January 2008, 11:54
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Red face

hi, thanks for answer
my distribuion is RED HAT Enterprise5 and there arent perfert guide.
My sistem is rhel-x86_64-server-5
The previous problem, I solved it changing the following lines to:
Code:
if [ $ARCH == "x86_64" ]; then
For this in all lines:
Code:
    mkdir -p /usr/local/lib/mysql &> /dev/null
    ln -s /usr/include/mysql /usr/local/lib/mysql/include &> /dev/null
    ln -s /usr/lib64/mysql /usr/local/lib/mysql/lib &> /dev/null

    WITH_MYSQL="--with-mysql=/usr/local/lib/mysql"
    WITH_ZLIB_DIR="--with-zlib-dir=/usr/lib64"
for all lines.

And now i have another problem
Code:
gcc -shared  .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher-ncore.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/snprintf.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/suecrypt.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/unrar15.o .libs/unrarvm.o .libs/unrar.o .libs/unrarfilter.o .libs/unrarppm.o .libs/unrar20.o .libs/unrarcmd.o .libs/LZMADecode.o .libs/bzlib.o .libs/infblock.o .libs/nulsft.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/sha256.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lockdb.o  -L/usr/local/lib -lz -lpthread -lnsl  -Wl,-soname -Wl,libclamav.so.2 -o .libs/libclamav.so.2.0.8
/usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: se sale del directorio `/usr/src/install_ispconfig/compile_aps/clamav-0.91.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/install_ispconfig/compile_aps/clamav-0.91.2'
make: *** [all] Error 2
ERROR: Could not make ClamAV
cd: error retrieving current directory: getcwd: cannot access parent directories: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/aps.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/spamassassin.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/uudeview.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/clamav.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronolog»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronosplit»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/ispconfig_tcpserver»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/zip»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/unzip»: No existe el fichero o el directorio
tar: spamassassin.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «spamassassin»: No existe el fichero o el directorio
tar: uudeview.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «uudeview»: No existe el fichero o el directorio
tar: clamav.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «clamav»: No existe el fichero o el directorio
tar: aps.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
./setup2: line 873: ispconfig_tmp/php/bin/php: No existe el fichero o el directorio
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
thanks
Reply With Quote
  #4  
Old 3rd January 2008, 11:56
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Red face

can you help me please?????????
Reply With Quote
  #5  
Old 3rd January 2008, 12:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,268 Times in 4,130 Posts
Default

Quote:
my distribuion is RED HAT Enterprise5 and there arent perfert guide.
Ok, then please use the guide for centos that corresponds with your rhel version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 3rd January 2008, 12:38
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default

I use the guide for centos version 5 but the problem continues.
Code:
/usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: se sale del directorio `/usr/src/install_ispconfig/compile_aps/clamav-0.91.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/install_ispconfig/compile_aps/clamav-0.91.2'
make: *** [all] Error 2
ERROR: Could not make ClamAV
cd: error retrieving current directory: getcwd: cannot access parent directories: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/aps.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/spamassassin.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/uudeview.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/clamav.tar.gz»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronolog»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/cronosplit»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/ispconfig_tcpserver»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/zip»: No existe el fichero o el directorio
mv: no se puede efectuar `stat' sobre «binaries/unzip»: No existe el fichero o el directorio
tar: spamassassin.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «spamassassin»: No existe el fichero o el directorio
tar: uudeview.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «uudeview»: No existe el fichero o el directorio
tar: clamav.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
mv: no se puede efectuar `stat' sobre «clamav»: No existe el fichero o el directorio
tar: aps.tar.gz: No se puede open: No existe el fichero o el directorio
tar: El error no es recuperable: salida ahora
tar: Child returned status 2
tar: Salida con error demorada desde errores anteriores
./setup2: line 873: ispconfig_tmp/php/bin/php: No existe el fichero o el directorio
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
Reply With Quote
  #7  
Old 3rd January 2008, 15:42
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Wink

all ok

ln -s /usr/lib /usr/lib64
Reply With Quote
The Following User Says Thank You to chua_jose For This Useful Post:
falko (4th January 2008)
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
New ISPConfig Install nubtool Installation/Configuration 15 18th May 2008 16:46
unable to install ISPConfig aberrio Installation/Configuration 4 2nd September 2007 14:57
ISPConfig install continues to fail jervolpe Installation/Configuration 3 6th July 2007 12:17
Backup ispconfig, change ip and new install metaldrummer Installation/Configuration 1 8th June 2007 11:19
ISPConfig install error clabrown Installation/Configuration 6 4th January 2007 16:46


All times are GMT +2. The time now is 00:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.