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'

I am running Redhat Linux 7.3 with Apache 1.3.27, and have recently
upgraded to OPENSSL 0.9.7d (latest from openssl.org) which is likely
the problem but I am having quite a difficult time with it.  I am
specifying the dir that OPENSSL was installed in, which is the
default dir.

I've read the following bugs/forums, but none seem to be specific to
my problem:
http://www.geocrawler.com/archives/3/254/2003/7/0/10575218/
This says to compile with openssl support, which is what I am doing.
http://www.phpbuilder.com/board/showthread.php?threadid=10241862
This says to upgrade to latest version of openssl, which I have done.

I've even tried compiling w/o SSL just to get PHP working, but it
seems there are tons of things dependant on SSL and I need some of
those options that have dependancies on SSL.

Thanks in advance for any help.

--
Mike Ryerse


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to