Re: Error compiling php-4.3.6 on Redhat 7.3 - need help please
| From: | Elfyn McBratney | Date: | Tue, 20 Apr 2004 21:51:07 +0000 |
| Subject: | Re: Error compiling php-4.3.6 on Redhat 7.3 - need help please | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184052@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Mike,
On Tuesday 20 Apr 2004 20:46, Mike Ryerse wrote:
> Hi, I've been racking my brain on this for quite a while now. Any
> help at all is much appreciated (I might start going bald early at
> this rate of frustration!)
> When I compile php, ./configure (with options) runs w/o error, but
> when I make I get the following:
>
> main/network.lo: In function
> `php_stream_sock_ssl_activate_with_method':
> /root/install/php-4.3.6/main/network.c:750: undefined reference to
> `php_SSL_new_from_context'
> /root/install/php-4.3.6/main/network.c:784: undefined reference to
> `php_openssl_apply_verification_policy'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> Here is my configure statement:
> './configure' 'i386-redhat-linux' '--prefix=/usr'
> '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
> '--sysconfdir=/etc' '--datadir=/usr/share'
> '--includedir=/usr/include' '--libdir=/usr/lib'
> '--libexecdir=/usr/libexec' '--localstatedir=/var'
> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> '--infodir=/usr/share/info' '--prefix=/usr'
> '--with-config-file-path=/etc' '--enable-force-cgi-redirect'
> '--disable-debug' '--enable-pic' '--disable-rpath'
> '--enable-inline-optimization' '--with-bz2' '--with-db3'
> '--with-curl' '--with-dom=/usr' '--with-freetype-dir=/usr'
> '--with-expat-dir=/usr' '--enable-exif'
> '--with-exec-dir=/usr/bin'
> '--with-png-dir=/usr' '--with-openssl-dir=/usr/local' '--with-gd'
> '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm'
> '--with-gettext'
> '--with-ncurses' '--with-gmp' '--with-iconv'
> '--with-jpeg-dir=/usr'
> '--with-png' '--with-pspell' '--with-regex=system'
> '--enable-ftp'
> '--with-zlib' '--with-layout=GNU' '--enable-bcmath'
> '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
> '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
> '--enable-discard-path' '--enable-track-vars'
> '--enable-trans-sid'
> '--enable-yp' '--enable-wddx' '--without-oci8'
> '--with-imap=shared'
> '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
> '--with-mysql=shared,/usr' '--with-xml' '--with-unixODBC=shared'
> '--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
> '--enable-versioning' '--enable-calendar' '--enable-dbx'
> '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans'
> '--with-apxs=/usr/sbin/apxs'
Your missing a `--with-openssl=/usr/local'.
Elfyn
- --
Elfyn McBratney, EMCB
mailto:elfyn@emcb.co.uk
http://www.emcb.co.uk/
PGP Key ID: 0x456548B4
PGP Key Fingerprint:
29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4
Error: quote_machine(): Dry humour detected.
>> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
<< ~ Linux london 2.6.5-emcb-243 #2 i686 GNU/Linux ~ >>
>> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAhZtLaIgMKkVlSLQRAig4AJ4j91LIqwA0Bqhj5syg49FqmSIHlQCePjHM
xDCiimK1wZ7QYkR1OBrApFs=
=U6nL
-----END PGP SIGNATURE-----