php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1283 'undefined symbol:mxdriver' error when loading module
Submitted: 1999-04-02 08:14 UTC Modified: 1999-06-12 16:53 UTC
From: dlambert at saueyfamily dot net Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 3.0.7 OS: RedHat 5.2
Private report: No CVE-ID: None
 [1999-04-02 08:14 UTC] dlambert at saueyfamily dot net
I'm trying to get PHP to compile/run with IMAP support. I'm have Apache v1.3.6 and everything works fine without IMAP support. I've tried IMAP v4.4 and v4.5. I compiled IMAP, copied all the headers and c-client.a to /usr/local/<dir> and created the link to c-client.a (and the IMAP and POP servers work fine). I can 'make' PHP and do a 'make install' to copy the files to the Apache src tree. I can 'make' Apache without any problems, and 'make install-programs'. But now upon restarting the server I get the following error:

Syntax error on line 236 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp3.so into server: /usr/lib/apache/libphp3.so: undefined symbol: mxdriver

I'm using the following script to configure PHP:

./configure \
        --with-pgsql \
        --with-apache=../apache_1.3.6 \
        --enable-track-vars \
        --with-config-file-path=/etc/httpd/conf \
        --enable-sysvshm=yes \
        --enable-sysvsem=yes \
        --with-shared-apache=../apache_1.3.6 \
        --with-apxs \
        --with-zlib \
        --with-yp \
        --with-snmp \
        --with-imap=/usr/local \
        --with-gettext

Am I doing something wrong? Argh!!! please help.. Thanks! :)


**Update**

I changed my config script to run the following:

./configure \
        --with-pgsql \
        --with-apache=../apache_1.3.6 \
        --enable-track-vars \
        --with-config-file-path=/etc/httpd/conf \
        --with-shared-apache=../apache_1.3.6 \
        --with-imap=/usr/local

Now after I go through all the building and installing, when I start the server it comes up ok... I have NO clue why. What did I do wrong the first time?

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 11 03:01:25 2020 UTC