Hi,
I'm a newbie, so please don't shoot me if I'm skipping something obvious.
I'm trying to update Apache with the IMAP module through the WHM and I keep getting an error.
I'm using:
WHM 10.8.0 cPanel 10.8.1-C112
RedHat 9 i686 - WHM X v3.1.0
and when I try an "Update Apache", I get this:
Untarring imap....Using RPM Backend: RPM version 4.2
installed: imap-devel-2004e-1.rh9.swsoft
Untarring php....Done
Applying CURL curl_formfree patch
patching file ext/curl/curl.c
Hunk #1 succeeded at 590 (offset 45 lines).
Hunk #2 succeeded at 904 (offset 19 lines).
configure php-4.4.1...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
configure: error: build test failed. Please check the config.log for details.
ok... I check the config.log and I get this:
configure:45309: checking whether IMAP works
configure:45342: gcc -o conftest -g -O2 -L/usr/X11R6/lib64 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/ke$
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xbf07): In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0x4ede): In function `write_db_entry':
: undefined reference to `__db185_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 45317 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
So... __db185_open is a reference to libdb which is probably missing or outdated?
How can I fix this?
I'm a newbie, so please don't shoot me if I'm skipping something obvious.
I'm trying to update Apache with the IMAP module through the WHM and I keep getting an error.
I'm using:
WHM 10.8.0 cPanel 10.8.1-C112
RedHat 9 i686 - WHM X v3.1.0
and when I try an "Update Apache", I get this:
Untarring imap....Using RPM Backend: RPM version 4.2
installed: imap-devel-2004e-1.rh9.swsoft
Untarring php....Done
Applying CURL curl_formfree patch
patching file ext/curl/curl.c
Hunk #1 succeeded at 590 (offset 45 lines).
Hunk #2 succeeded at 904 (offset 19 lines).
configure php-4.4.1...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
configure: error: build test failed. Please check the config.log for details.
ok... I check the config.log and I get this:
configure:45309: checking whether IMAP works
configure:45342: gcc -o conftest -g -O2 -L/usr/X11R6/lib64 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/ke$
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xbf07): In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0x4ede): In function `write_db_entry':
: undefined reference to `__db185_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 45317 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
So... __db185_open is a reference to libdb which is probably missing or outdated?
How can I fix this?