From:             [EMAIL PROTECTED]
Operating system: OpenBSD 3.1
PHP version:      4.2.3
PHP Bug Type:     Compile Warning
Bug description:  imap c-client problems

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 bug report at http://bugs.php.net/?id=19701&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19701&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19701&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19701&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19701&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19701&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19701&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19701&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19701&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19701&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19701&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19701&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19701&r=dst

Reply via email to