ID: 19701 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: OpenBSD 3.1 PHP Version: 4.2.3 New Comment:
I have the following files in libs/ libphp4.a libphp4.la and in .libs/ libphp4.a libphp4.la libphp4.lai Previous Comments: ------------------------------------------------------------------------ [2002-10-02 06:15:45] [EMAIL PROTECTED] Do you have any files in libs/ ? What about .libs/ ? ------------------------------------------------------------------------ [2002-10-01 22:05:05] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2002-10-01 21:01:40] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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
