ID: 11445
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: IMAP related
Operating system: Linux RedHat 7.1
PHP Version: 4.0.5
Description: PHP4+IMAP+APACHE 1.3.20 causes "undefined symbol: mxdriver"
I compiled it from source and installed everything I needed.
The problem is not at compilation time, but when I try to start Apace with php
support.
That's when I get the error...
I also get the same error if I try to compile PHP as a static module and not as DSO
but this time I get the error while compiling apache
I also tried not to install IMAP support but instead write a IMAP class from scratch.
The problem is that when I open a socket connection to 143 I can't read any data from
that port. I mean I can send data, I can log in (it shows up in my logs) but I read
the feedback from server I can only write to it.
Thank you for any of your help,
Andu
Previous Comments:
---------------------------------------------------------------------------
[2001-06-13 10:01:39] [EMAIL PROTECTED]
Did you compile it from sources? Or is it again from RPM?
If latter, you HAVE to install the devel RPM of it too.
If former, you first compile it, and then copy the necessary
files to right places (easy way is to just copy all .h files
to somewhere like, /www/imap/include and the c-client.a to /www/imap/lib/libc-client.a
and use --with-imap=/www/imap )
--Jani
---------------------------------------------------------------------------
[2001-06-12 20:28:33] [EMAIL PROTECTED]
I've tried it with the latest version o imap and I still get the error
---------------------------------------------------------------------------
[2001-06-12 18:53:48] [EMAIL PROTECTED]
Closed, not bogus..
---------------------------------------------------------------------------
[2001-06-12 18:53:28] [EMAIL PROTECTED]
You need to install the DEVEL rpms to compile anything.
And in case of Redhat, I suggest you get the IMAP-2000 sources from their site and
compile it yourself.
Also, get the latest release candidate of PHP from here:
http://www.php.net/~andi/php-4.0.6RC3.tar.gz
as it has some fixes related to IMAP.
--Jani
---------------------------------------------------------------------------
[2001-06-12 17:14:19] [EMAIL PROTECTED]
Hello,
If I try to compile PHP4 with IMAP support and Apache 1.3.20
I get the following error while starting the webserver: undefined symbol: mxdriver.
Here's how I configured Apache:
./configure
"--with-layout=Apache"
"--enable-module=ssl"
"--enable-module=so"
"--enable-module=access"
"--enable-module=alias"
"--enable-module=mime"
"--enable-module=status"
"--with-perl=/usr/bin/perl"
Here's the one for PHP
"./configure"
"--with-apxs=/usr/local/apache/bin/apxs"
"--with-config-file-path=/etc"
"--enable-bcmath"
"--with-bz2"
"--enable-calendar"
"--enable-ftp"
"--with-gd=/usr/"
"--with-jpeg-dir=/usr/"
"--with-xpm-dir=/usr/"
"--with-imap"
"--with-kerberos"
"--with-mysql=/usr/local/mysql/"
"--with-pspell"
"--enable-trans-sid"
"--enable-sockets"
Please help, this is urgent
Thank you !
P.S: I alo tried using export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam"
before runnig configure. The IMAP is the one that comes with REDHAT
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=11445
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]