#21091 [Com]: undefined reference to `ssl_onceonlyinit'
| From: | jury at hightech dot lv | Date: | Thu, 01 May 2003 15:47:23 +0000 |
| Subject: | #21091 [Com]: undefined reference to `ssl_onceonlyinit' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38887@lists.php.net to get a copy of this message | ||
ID: 21091
Comment by: jury at hightech dot lv
Reported By: jon at jellybob dot co dot uk
Status: Bogus
Bug Type: IMAP related
Operating System: Debian Woody
PHP Version: 4.3.0RC3
New Comment:
This is a bodus :)
in file "configure" doesn't check wether SSL support Enabled
Was This:
int main() {
ssl_onceonlyinit();
return 0;
}
Replace With:
int main() {
#ifdef HAVE_IMAP_SSL
ssl_onceonlyinit();
#endif
return 0;
}
Previous Comments:
------------------------------------------------------------------------
[2003-04-25 11:12:15] ryan at bubbagimp dot com
I am recieving this error in the latest ports on FreeBSD (php 4.3.1).
I do have c-client installed.
------------------------------------------------------------------------
[2003-04-25 10:59:59] sniper@php.net
You just have c-client without ssl support with header files installed
which have it. Not PHP bug.
------------------------------------------------------------------------
[2003-04-23 10:11:42] bmansion at mamasam dot com
Same problem on Mandrake 9.1
------------------------------------------------------------------------
[2003-04-20 21:14:40] jellybob@php.net
Do you have c-client installed?
4.3.1 isn't giving out that error on compilation anymore using c-client
2001.
------------------------------------------------------------------------
[2003-04-20 19:55:14] aitrus at tresgeek dot net
The snapshot provided did not fix the bug.
Compiling on a Red Hat 9 box fails with:
ext/imap/php_imap.o(.text+0x463): In function `zm_startup_imap':
/usr/src/Apachetoolbox-1.5.64/src/php-snap/ext/imap/php_imap.c:428:
undefined reference to `auth_gss'
ext/imap/php_imap.o(.text+0x46d):/usr/src/Apachetoolbox-1.5.64/src/php-snap/ext/
imap/php_imap.c:432: undefined reference to `ssl_onceonlyinit'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
The following configure options were used:
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/usr/src/Apachetoolbox-1.5.64/apache_1.3.27 \
--with-imap=/usr \
--with-imap-ssl=/usr \
--with-kerberos=/usr/kerberos \
--with-mhash=/usr/local \
--with-mcrypt=/usr/local \
--with-openssl=/usr \
--with-curl=/usr \
--with-gettext=/usr \
--with-mysql=/usr \
--with-ldap \
--with-xml \
--with-gd=shared,/usr \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-freetype-dir=/usr \
--with-pspell=/usr \
--with-bz2=/usr \
--enable-gd-native-ttf \
--enable-calendar \
--enable-exif \
--enable-track-vars \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--enable-inline-optimization \
--enable-memory-limit \
--enable-sysvshm \
--enable-force-cgi-redirect \
--enable-safe-mode
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21091
--
Edit this bug report at http://bugs.php.net/?id=21091&edit=1