public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* IMAP Error
@ 2004-02-12 12:08 Ralica Kirilova
  2004-02-12 14:01 ` pa3gcu
  2004-02-12 14:06 ` Armen Kaleshian
  0 siblings, 2 replies; 8+ messages in thread
From: Ralica Kirilova @ 2004-02-12 12:08 UTC (permalink / raw)
  To: linux-newbie

Hi all,
I have a problem with running courier-IMAP server.
My system is Linux Slackware 9.1, uname -r --> 2.4.22
I have qmail running.
I'm trying to run ./configure [options] like described in
http://www.inter7.com/courierimap/INSTALL.html#install

And I get this error:
----------------------------------------------------------------------------
-----------
checking for gdbm_open in -lgdbm... yes
checking for gdbm_open... no
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... yes
checking for dbopen... no
checking for db_open... no
checking for db_env_create... no
configure: error: Cannot find either the gdbm or the db library.
----------------------------------------------------------------------------
------------
I google for it and I find here
http://www.inter7.com/courierimap/FAQ.html#libs
an answer. But it didn't solve the problem.
I have /usr/include/gdbm.h and /usr/lib/libgdbm.a         libgdbm.la
libgdbm.so        libgdbm.so.2      libgdbm.so.2.0.0

In file config.log I've found that I'm maybe missing some libraries. It's a
cut from this file
----------------------------------------------------------------------------
-------------
configure:3026: checking for gdbm_open
configure:3076: gcc -o conftest -g -O2   conftest.c -lgdbm  >&5
In file included from
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132,
                 from
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:11,
                 from configure:3046:
/usr/include/limits.h:132:75: no include path in which to find limits.h
configure:3079: $? = 1
configure: failed program was:
| #line 3031 "configure"
----------------------------------------------------------------------------
-------------

Maybe the question is very stupid, I'm sorry if it is so.
Thanks for answers in advance!
P.S. Excuse me for my bad english


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: IMAP Error
@ 2004-02-12 15:54 Armen Kaleshian
  2004-02-13  8:01 ` Ralica
  0 siblings, 1 reply; 8+ messages in thread
From: Armen Kaleshian @ 2004-02-12 15:54 UTC (permalink / raw)
  To: linux-newbie

I'm sorry. I completely missed it in your previous e-mail.

Configure is basically complaining that libgdbm can not be found; it has nothing
to do with IMAP. If you were trying to build something else that was looking for
the same library, it would probably have the same problem...

You could do one of two things:

1) Check /etc/ld.so.conf for /usr/lib; if it doesn't exist, add it, remove your
current /etc/ld.so.cache and run /sbin/ldconfig [OS dependent] to rebuild the
library cache on your system. Run configure again, and that should fix it.

2) This solution is highly discouraged but might make it work... add whatever
paths exist in /etc/ld.so.conf to an exported LD_LIBRARY_PATH environment
variable, as well as /usr/lib delimited by a ':'. Run configure after you've
exported the variable.

Good Luck!

--Armen

On Thu, Feb 12, 2004 at 04:58:27PM +0200, Ralica wrote:
: Hi, Armen
: As I writed before:
: 
: > : I have /usr/include/gdbm.h and /usr/lib/libgdbm.a         libgdbm.la
: > : libgdbm.so        libgdbm.so.2      libgdbm.so.2.0.0
: > : 
: 
: 

----- End forwarded message -----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-13  8:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 12:08 IMAP Error Ralica Kirilova
2004-02-12 14:01 ` pa3gcu
2004-02-13  7:58   ` Ralica
2004-02-12 14:06 ` Armen Kaleshian
2004-02-12 14:58   ` Ralica
2004-02-12 19:01   ` pa3gcu
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12 15:54 Armen Kaleshian
2004-02-13  8:01 ` Ralica

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox