HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   compile error (http://www.howtoforge.com/forums/showthread.php?t=2820)

bin-online 1st March 2006 13:44

compile error
 
Hi I have a problem installing ISPConfig on my debian AMD64 sarge.

If i run ./setup this error will displayed:

/usr/bin/ld: /root/ispconfig/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/root/ispconfig/openssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
ERROR: Could not make PHP

Then I change this line in compile_aps/compile from:
./config --prefix=${INSTALL_ROOT}/openssl || error "Could not configure OpenSSL"
to:
./config --prefix=${INSTALL_ROOT}/openssl shared || error "Could not configure OpenSSL"

The I get this error:
./gen_test_char >test_char.h
./gen_test_char: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.33/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.33'
make: *** [build] Error 2
ERROR: Could not make Apache

Can anybody help me?

falko 1st March 2006 14:32

Quote:

Originally Posted by bin-online
Can anybody help me?

Yes. Either you wait a few hours because then ISPConfig 2.2.0 (with support for 64-bit systems) will be available at Sourceforge, or you edit the file install_ispconfig/compile_aps/compile and change

Code:

--with-openssl=${INSTALL_ROOT}/openssl
to

Code:

WITH_OPENSSL="--with-openssl"
in the PHP configure statement.

bin-online 1st March 2006 15:15

Hi, thank you for your fast reply.
what do you mean with "a few hours" ???
this day? this week? :)

bin-online 1st March 2006 17:28

Version 2.2.0 compile error
 
:( I have downloaded Version 2.2.0 and get now 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 pkg-config... no
configure: error: Cannot find OpenSSL's <evp.h>
ERROR: Could not configure PHP
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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': 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/uudeview.tar.gz': 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/clamav.tar.gz': 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/cronolog': 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/cronosplit': 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/ispconfig_tcpserver': 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/zip': 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/unzip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `uudeview': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `clamav': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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 777: ispconfig_tmp/php/bin/php: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
ERROR: Das mitgelieferte PHP-Binary funktioniert auf Ihrem System nicht! Die Installation bricht hier ab!
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory


falko 1st March 2006 22:26

Is openssl installed on your Debian system? Please run
Code:

apt-get install libssl-dev openssl
and try again.


All times are GMT +2. The time now is 12:11.

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