Thread: compile error
View Single Post
Old 1st March 2006, 14:44
bin-online bin-online is offline
Junior Member
Join Date: Mar 2006
Location: Buggingen, Germany
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to bin-online
Default 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: *** [] 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"
./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: 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?

Last edited by bin-online; 1st March 2006 at 14:49.
Reply With Quote
Sponsored Links