#19701 [Com]: imap c-client problems
| From: | graemel at omniconnect dot com dot au | Date: | Wed, 02 Oct 2002 03:05:05 +0000 |
| Subject: | #19701 [Com]: imap c-client problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21207@lists.php.net to get a copy of this message | ||
ID: 19701
Comment by: graemel@omniconnect.com.au
Reported By: graemel@omniconnect.com.au
Status: Feedback
Bug Type: IMAP related
Operating System: OpenBSD 3.1
PHP Version: 4.2.3
New Comment:
I've been compiling wiht the following options:
--with-xml --with-gettext --with-pgsql=/usr/local/pgsql
--with-apxs=/usr/local/apache/bin/apxs
--with-imap=/usr/local/src/imap-2002.RC6
The version of imap seems to be irrelevant. All of them fail - this is
just the latest version.
Both the release version and the latest snapshot work fine and build a
working dso without --with-imap
If I include --with-imap on the snapshot, it builds ok, but does not
build a dso, and I get the following on a "make install"
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1
Previous Comments:
------------------------------------------------------------------------
[2002-10-01 21:01:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
And add your full configure line into this report too..
------------------------------------------------------------------------
[2002-10-01 20:55:12] graemel@omniconnect.com.au
The c-client library is static, however php assumes that the library is
shared. When apache (1.3.26) is started with php compiled with
--with-imap=/path/to/imap (I'm using the latest release candidate) I
get the error
/usr/libexec/ld.so: Undefined symbol "_unixdriver" in
httpd:/usr/local/apache/libexec/libphp4.so
I've changed the LDFLAGS to include -lc-client but when compiling I
receive this error:
Warning: This library needs some functionality provided by -lc-client.
I have the capability to make that library automatically link in when
you link to this library. But I can only do this if you have a
shared version of the library, which you do not appear to have.
The unixdriver function is in libc-client.a - how do I get it to link
statically?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19701&edit=1