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)
-   -   Error installing with Suse10 on x64 (http://www.howtoforge.com/forums/showthread.php?t=1564)

SeaWolf 7th December 2005 02:32

Error installing with Suse10 on x64
 
Hi!

I have a Dell PowerEdge P4 x64 computer with a fresh install of Suse 10 and ISPConfig 2.1.1.

I have already check every topic on 64bit installation and do everything that ppl says and that fix some problems but I'm still having this error message:

configure: error: Cannot find OpenSSL's libraries
ERROR: Could not configure PHP

Anyone know which file need to be modified to fix this problem?

Thanks!

till 7th December 2005 09:27

Have you installed the openssl devel rpm packages?

SeaWolf 7th December 2005 13:04

yes! I have done every tips in this thread:
http://www.howtoforge.com/forums/showthread.php?t=127
and this one as well:
http://www.howtoforge.com/forums/sho...0&postcount=12
and some others.

That fix some of the problems but I'm still having this one.

Just before this error, it was the Cannot find OpenSSL's <evp.h> error but some modifications fixed this one.

I already have ISPConfig on a Dual P3 server with Suse 9.3 and it's working very well.

Thanks!

till 7th December 2005 13:41

Have you tried with "--with-openssl" or with "--with-openssl=/path/to/openssl/libs" ?

SeaWolf 7th December 2005 14:04

yep, tried that too without success :(

falko 7th December 2005 15:13

What's the exact error message you get now?

SeaWolf 7th December 2005 16:56

Ok, I've just installed from scratch Suse 10 with the Perfect Setup and install ISPConfig. I will let you know all error msg appear when I do some mods.

Fresh install, Suse Linux 10 on 64bit P4 computer with ISPConfig 2.1.1.

Here we go:

Quote:

Without modifications:
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore.
ERROR: Could not configure PHP
Quote:

Modifications 1 (
mkdir /usr/local/lib/mysql
cd /usr/local/lib/mysql
ln -s /usr/include/mysql include
ln -s /usr/lib64/mysql lib
and change that line:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --with-zlib-dir=/usr/lib64 || error "Could not configure PHP"
)

configure: error: Cannot find OpenSSL's <evp.h>
ERROR: Could not configure PHP
Quote:

Modifications 2 (
All modifications 1 +
install openssl-devel
)

configure: error: Cannot find OpenSSL's libraries
ERROR: Could not configure PHP
Quote:

Modifications 3 (
All modifications 2 +
change that line:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl=/usr/include/openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --with-zlib-dir=/usr/lib64 || error "Could not configure PHP"
)

configure: error: Cannot find OpenSSL's <evp.h>
ERROR: Could not configure PHP
I've deleted all files before each tries and all error messages apears in "Configuring extensions" section.

If you have other ideas lemme know! :)

Hope it will help! ;)

Thanks.

SeaWolf 7th December 2005 17:24

Hi again! ;)

I just do the Modifications3 + change the ./configure line to:

./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl=${INSTALL_ROOT}/openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --without-zlib || error "Could not configure PHP"

And now the error is:

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: /root/ispconfig/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' 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

Any ideas?

Thanks!

SeaWolf

till 7th December 2005 17:35

If you use --with-openssl=${INSTALL_ROOT}/openssl it uses the OpenSSL that comes with ISPConfig, but this OpenSSL definetly wont work on 64 bit systems.

Try to use: --with-openssl or --with-openssl=/path/to/openSSL/from/suse

falko 7th December 2005 17:50

Quote:

Modifications 3 (
All modifications 2 +
change that line:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl=/usr/include/openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --with-zlib-dir=/usr/lib64 || error "Could not configure PHP"
)
configure: error: Cannot find OpenSSL's <evp.h>
ERROR: Could not configure PHP
Did you try "Modifications 3" With this configure line?
Code:

./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --with-zlib-dir=/usr/lib64 || error "Could not configure PHP"
Is evp.h on your system? Run
Code:

updatedb
locate evp.h

to find out.


All times are GMT +2. The time now is 06:16.

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