PDA

View Full Version : ISPConfig Upgrade error


gili
9th October 2008, 20:01
Hi!

I would like to upgrade my ISPCONFIG, but I get some errors.

shlib_target=; if [ -n "" ]; then \
shlib_target="linux-shared"; \
fi; \
if [ "${shlib_target}" = "darwin-shared" ] ; then \
LIBRARIES="../libssl.a ../libcrypto.a" ; \
else \
LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
fi; \
make -f ../Makefile.shared -e \
APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o" \
LIBDEPS=" $LIBRARIES -ldl" \
link_app.${shlib_target}
make[2]: Entering directory `/home/root/install_ispconfig/compile_aps/openssl-0.9.8e/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=pentium -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ${LIBDEPS} )
/usr/bin/ld:/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libc.so: file format not recognized; treating as linker script
/usr/bin/ld:/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libc.so:5: parse error
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/root/install_ispconfig/compile_aps/openssl-0.9.8e/apps'
make[1]: *** [openssl] Error 2
make[1]: Leaving directory `/home/root/install_ispconfig/compile_aps/openssl-0.9.8e/apps'
make: *** [build_apps] Error 1
ERROR: Could not make OpenSSL
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory

I don't know what is the mistake :(.

root@debian:/home/root# uname -a
Linux debian.bozeti.hu 2.6.21-rc4-git4 #1 SMP Mon Mar 19 13:14:20 CET 2007 i686 GNU/Linux

Please help me
Bye
Gili

till
10th October 2008, 11:20
Which Linux distribution and version do you use?

In any case, before you try to run the update again, you always have to run this command:

mkdir /root/ispconfig

indie1982
10th October 2008, 13:18
I'd be interested to know what hardware you're running also.

I got the same problem on a Pentium3 coppermine system with newer versions of GCC until I changed hardware.

falko
10th October 2008, 14:32
make[2]: Entering directory `/home/root/install_ispconfig/compile_aps/openssl-0.9.8e/apps'


Which ISPConfig version are you using? We're not using openssl-0.9.8e in the latest versions...

gili
10th October 2008, 14:36
Which Linux distribution and version do you use?

In any case, before you try to run the update again, you always have to run this command:

mkdir /root/ispconfig
I use Debian Sarge.

I has /root/ispconfig before install, but when the install starts that dir deleted.

i686 proc (p4). which hardware do you interest?

Thx
Gili

gili
10th October 2008, 14:40
Which ISPConfig version are you using? We're not using openssl-0.9.8e in the latest versions...
Yes, that wasn't the lastest version.
I try the lastest first, but that was a same mistake, with the linking of OpenSSL :(.
After I try the ISPConfig 2.2.16. but same mistake :(
I think that is my enviroment problem, I was upgrading the packages, and maybe not correct version of the linker :(
I don't know how can I make it back :(.
Bye
Gili

falko
11th October 2008, 18:47
The latest version is 2.2.26. Please install that one.
http://prdownloads.sourceforge.net/ispconfig/ISPConfig-2.2.26.tar.gz?download