3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Cannot find eithe...
FromSent OnAttachments
cour...@lists.symmetric.netJun 18, 2006 2:59 pm 
Sam VarshavchikJun 18, 2006 3:47 pm 
William HueJun 18, 2006 10:28 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Cannot find either the gdbm or the db library. in solaris 10Actions...
From:William Hue (wh_c@telus.net)
Date:Jun 18, 2006 10:28:57 pm
List:net.sourceforge.lists.courier-users

You may also need to use crle(1) after installation for the binaries to find the
libraries in /usr/local/lib. You can also set LD_LIBRARY_PATH, but it has to be
set before your startup scripts load the courier binaries.

Sam Varshavchik wrote:

cour@lists.symmetric.net writes:

I'm running solaris 10 for intel and get this error when running ./configure --prefix=/tmp

configure: error: Cannot find either the gdbm or the db library.

when trying to configure courier-authlib.

I've installed the solaris package for gdbm which has installed some files in /ust/local/lib and /usr/local/include. I've added these to my path but the configure script still fails.

Neither /usr/local/lib, nor /usr/local/include, should be in anyone's path.

The package that you loaded should install the header files and the libraries into whatever location your compiler and linker searches by default. If /usr/local/include and /usr/local/lib are not searched by your compiler and linker, by default, then aside from the fact that the Solaris package is broken (at least until someone gives a logical reason why it installs its where the compiler won't look for them), you should set the CPPFLAGS and LDFLAGS environment variables accordingly:

CPPFLAGS="-I/usr/local/include" export CPPFLAGS LDFLAGS="-L/usr/local/include" export LDFLAGS

Then run configure.

Solaris will probably also need -R/usr/local/include added to LDFLAGS.