View Single Post
  #1  
Old 24th August 2008, 20:46
FractalizeR FractalizeR is offline
Member
 
Join Date: Aug 2008
Posts: 44
Thanks: 0
Thanked 2 Times in 2 Posts
Default [solved] Cannot install ISPConfig on CentOS 5.2: (adler32.o): relocation R_X86_64_32

Hello.

I cannot install ISPConfig on CentOS 5.2. The error seem to be in zlib-to-clam, but i don't understand where:

Code:
/usr/bin/ld: /usr/local/lib/libz.a(adler32.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[3]: *** [libclamav.la] Error 1
make[3]: Leaving directory `/usr/local/fractal/install_ispconfig/compile_aps/clamav-0.93.1/libclamav'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/fractal/install_ispconfig/compile_aps/clamav-0.93.1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/fractal/install_ispconfig/compile_aps/clamav-0.93.1'
make: *** [all] Error 2
ERROR: Could not make ClamAV
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 888: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
All rpms (zlib and zlib-devel both i386 and x86-64) are installed I am running CentOS under VMWare on Athlon X2 CPU, which is 64 bit.

I have tried to recompile zlib from sources providing --libdir=/usr/lib64, but this doesn't solve the problem. PHP compiles without problems, but ClamAV still causes this trouble.
Before installing ISPConfig I compiled and installed Apache, MySQL and PHP from sources. They also require zlib, but all was ok with them.

Last edited by FractalizeR; 24th August 2008 at 21:01.
Reply With Quote
Sponsored Links