I am attemting to install courier-imap for use with qmail (on Red Hat 8.0). However, I am encountering an error message related to gdbm when running "make check":
Making check in numlib make[1]: Entering directory `/usr/local/src/courier-imap/courier-imap-1.7.0/numlib' make[1]: Leaving directory `/usr/local/src/courier-imap/courier-imap-1.7.0/numlib' Making check in gdbmobj make[1]: Entering directory `/usr/local/src/courier-imap/courier-imap-1.7.0/gdbmobj' ./testsuite | cmp -s - ./testsuite.txt ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory ./testgdbm: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory make[1]: *** [check] Error 1 make[1]: Leaving directory `/usr/local/src/courier-imap/courier-imap-1.7.0/gdbmobj' make: *** [check-recursive] Error 1 I have installed gdbm om /usr/local/lib and I ran ./configure make and make check as an ordinary user (not as root). I have also checked that gdbm is indeed installed in /usr/local/lib; running ls /usr/local/lib gives the following output: total 616 drwxr-xr-x 2 root root 4096 Feb 22 15:12 . drwxr-sr-x 15 root root 4096 Feb 17 00:39 .. -rw-r--r-- 1 root root 420368 Feb 22 15:12 libgdbm.a -rwxr-xr-x 1 root root 705 Feb 22 15:12 libgdbm.la lrwxrwxrwx 1 root root 16 Feb 22 15:12 libgdbm.so -> libgdbm.so.3.0.0 lrwxrwxrwx 1 root root 16 Feb 22 15:12 libgdbm.so.3 -> libgdbm.so.3.0.0 -rwxr-xr-x 1 root root 188142 Feb 22 15:12 libgdbm.so.3.0.0 What am I doing wrong?
