PHP imap Support

Hi all,
I’m hoping you can help as I’m having a nightmare and it must be something simple.
I’m using OpenSuse 11.1 (yes I’m trying to get it upgraded but that’s another story), it’s also running PHP 5.2.6 and has no internet connection due to corporate restrictions.

I’ve downloaded the rpm for imap support php5-imap-5.2.6-64.6.x86_64.rpm, but when I try and install it I get:

warning: php5-imap-5.2.6-64.6.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 8f4c2ead
error: Failed dependencies:
        libc-client.so()(64bit) is needed by php5-imap-5.2.6-64.6.x86_64

Every though the client is installed:

rpm -i imap-lib-2006c1_suse-127.1.x86_64.rpm
warning: imap-lib-2006c1_suse-127.1.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
        package imap-lib-2006c1_suse-127.1.x86_64 is already installed

I did originally try the source code and compiling it but got stuck there also:

 make slx
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=slx
make[1]: Entering directory `/tmp/imap/imap-2007f'
Rebuilding c-client for slx...
cd c-client;make all CC=`cat CCTYPE` \
         CFLAGS="`cat CFLAGS`" `cat SPECIALS`
make[2]: Entering directory `/tmp/imap/imap-2007f/c-client'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/imap/imap-2007f/c-client'
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory `/tmp/imap/imap-2007f/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/tmp/imap/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
mtest.o: In function `smtptest':
/tmp/imap/imap-2007f/mtest/mtest.c:782: warning: the `gets' function is dangerous and should not be used.
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x2d4): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x37e): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x3f4): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x49e): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x4fd): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x5b2): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x61b): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x648): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [mtest] Error 1
make[2]: Leaving directory `/tmp/imap/imap-2007f/mtest'
make[1]: *** [bundled] Error 2
make[1]: Leaving directory `/tmp/imap/imap-2007f'

Even though OpenSSL is also installed.

Any ideas?

Many thanks.

On 2013-02-26 18:06, trevrobwhite wrote:

> I’ve downloaded the rpm for imap support
> php5-imap-5.2.6-64.6.x86_64.rpm, but when I try and install it I get:
>
> Code:
> --------------------
> warning: php5-imap-5.2.6-64.6.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 8f4c2ead
> error: Failed dependencies:
> libc-client.so()(64bit) is needed by php5-imap-5.2.6-64.6.x86_64
> --------------------

At least in 12.1 there is a libc-client rpm, you have to install that as
well. I don’t have it installed, so I don’t know if it contains
“libc-client.so()”.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)