Error during installation

bigmen

Verified User
Joined
Apr 5, 2010
Messages
8
Hello!
I have problem with install Direct Admin. My OS: Debian 4.0

Code:
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2
./install.sh: line 201: ./directadmin: cannot execute binary file
./install.sh: line 204: ./directadmin: cannot execute binary file
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************

Please help me :)
 
i get same error today when install DA on centos 5, how to fix this?
 
centos 5.4


I have just installed and I also have

cannot find file: /usr/local/bin/php

and also

/etc/init.d/dovecot
and If I first notice when trying to install zend and it could not find php.

Installing a second server at the mo to see what errors that one may give me ?
 
Last edited:
This is a big problem as on all centos installs we have as below, its

you should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started.

Thank you for using DirectAdmin. Should you have any questions, don't hesitate to contact us at [email protected]

## REPORT_END
Permissions set
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************
[root@server ~]#
 
No install on new machines centos 5.4, it looks like it could be a openssl problem but also tried yum downgrade openssl and still no go but on second machine its stopping on
.......................................................
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.15'
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Restarting apache.
Stopping httpd: [ OK ]
Starting httpd:
File already exists: jpegsrc.v6b.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 5732: cd: jpeg-6b: No such file or directory
./build: line 5734: ./configure: is a directory
Trying to make libjpeg...
make: *** No rule to make target `libjpeg.a'. Stop.

........................................................................

First one stops with

....................................................................................
checking whether to enable mod_proxy_balancer... yes (default)
adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr
adding "-I/usr/include" to CPPFLAGS
adding "-I/usr/include" to INCLUDES
adding "-L/usr/lib" to LDFLAGS
checking for OpenSSL version... checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected



*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file

.......................................................................................

is it the install script or have we a server down some place as even the

cd /usr/local/directadmin/custombuild
./build all d

will not fix things.........
 
this errror every compile libxml2 from custombuild

./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):

anyone have solution?
 
Hello,

1) Thanks for the report. I've downgraded libxml2 to 2.7.6 until more information is found on the cause of the error. Type:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build all d


2)
File already exists: jpegsrc.v6b.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
it appears a though the file is empty. Try deleting it and building again, eg:
Code:
ls -la jpegsrc.v6b.tar.gz
rm -f jpegsrc.v6b.tar.gz
./build libjpeg


3) Regarding:
./install.sh: line 201: ./directadmin: cannot execute binary file
./install.sh: line 204: ./directadmin: cannot execute binary file
please see:
http://help.directadmin.com/item.php?id=267

John
 
I get the following during install... Any idea ?

Code:
./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2
 
tool: link: ar cru .libs/testdso.a testdso.o
libtool: link: ranlib .libs/testdso.a
libtool: link: ( cd ".libs" && rm -f "testdso.la" && ln -s "../testdso.la" "testdso.la" )
gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT xmllint.o -MD -MP -MF .deps/xmllint.Tpo -c -o xmllint.o xmllint.c
mv -f .deps/xmllint.Tpo .deps/xmllint.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o xmllint xmllint.o ./libxml2.la -lz -liconv -lm
libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
[root@server custombuild]# t]
-bash: t]: command not found

install still US ... never had this before on 3 servers I am trying to reload its been over 8 hours just trying to load A DA cp panel ... never had this before its got to be a bad update or a Centos cock up although there is a lot of CP panels with problems over the last couple of weeks..........
 
Still the same issue

./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
 
same problem for me.

centos 5.4 32bit, libxml2 error

libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
## REPORT_START
Welcome to DirectAdmin verion 1.35.1!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.
 
still error
./build libxml2

dundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
Last edited:
Cool. Same problem. Same day. :)

Code:
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls   -o xmllint xmllint.o ./libxml2.la  -lz -liconv -lm
libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o  ./.libs/libxml2.so -ldl -lz /usr/local/lib/libiconv.so -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2

A little hand DA?
 
Hello,

After more investigating, I've determined the true cause not to be with libxml2, but rather zlib. Downgrading to 1.2.3 from 1.2.4 will solve the libxml2 compile issue, as found with our older CentOS 4 build system.
Code:
./build update
./build zlib
./build libxml2

#once confirmed libxml2 compiles:
./build all d
John
 
Back
Top