php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25785 configure error
Submitted: 2003-10-08 02:53 UTC Modified: 2003-10-08 06:07 UTC
From: perceau at eram dot fr Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.3 OS: Suse linux 8.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: perceau at eram dot fr
New email:
PHP Version: OS:

 

 [2003-10-08 02:53 UTC] perceau at eram dot fr
Description:
------------
Hy,

I want to compile PHP with IMAP lib (--with-imap ) to access a POP3 bal.
Although i've installed imap-devel libs, configure refuse to compile de conftest.c

Reproduce code:
---------------
My shell script to compile PHP :

make clean
rm config.log
./configure	--with-apxs2=/www/bin/apxs \
		--enable-track-vars \
		--enable-trans-sid \
		--disable-debug \
		--with-oci8=${ORACLE_HOME} \
		--with-mysql=/usr/local \
		--with-ldap \
		--disable-magic-quotes \
		--enable-cli \
		--with-imap	\
		--with-recode
make
make install


Expected result:
----------------
It should compiled ok.
Can't find what's wrong with imap lib

Actual result:
--------------
configure:40034: checking whether IMAP works
configure:40067: gcc -o conftest -g -O2   conftest.c -lc-client   -lcrypt -lresolv -lm -ldl -lnsl  1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_set_fd'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `RSA_generate_key'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_set_connect_state'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_CTX_free'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_state'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libc-client.so: undefined reference to `SSL_shutdown'
......
......
collect2: ld returned 1 exit status
configure: failed program was:
#line 40042 "configure"
#include "confdefs.h"

    void mm_log(void){}
    void mm_dlog(void){}
    void mm_flags(void){}
    void mm_fatal(void){}
    void mm_critical(void){}
    void mm_nocritical(void){}
    void mm_notify(void){}
    void mm_login(void){}
    void mm_diskerror(void){}
    void mm_status(void){}
    void mm_lsub(void){}
    void mm_list(void){}
    void mm_exists(void){}
    void mm_searched(void){}
    void mm_expunged(void){}
    char mail_newbody();
    int main() {
      mail_newbody();


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-08 04:43 UTC] sniper@php.net
Add --with-imap-ssl=/usr to your configure line.
(assuming libssl is in /usr/lib)

 [2003-10-08 05:59 UTC] perceau at eram dot fr
i've already try it, and got the same error ...
 [2003-10-08 06:07 UTC] sniper@php.net
There are 2 possible reasons:

1. The ssl libs are not found
2. The libc-client is borked. (the official and supported c-client is always static, not shared like you have)

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jul 07 08:05:44 2022 UTC