OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postix install problem

From: John Peach (postfixjohnpeach.com)
Date: Thu May 01 2003 - 09:23:05 CDT


> many thanks.. I got it installing, but now I have this error after a do a
> make install
>
> gcc -I/usr/include/db -g -O -I. -I../../include -DLINUX2 -o master master.o
> master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o
> master_service.o master_status.o master_listen.o master_vars.o
> master_wakeup.o master_flow.o ../../lib/libglobal.a
> ../../lib/libutil.a -ldb -lnsl -lresolv
> /usr/bin/ld: cannot find -ldb
> collect2: ld returned 1 exit status
> make: *** [master] Error 1
> make: *** [update] Error 1
>
> how do I fix this??

make sure the directory that contains your libdb.so is in /etc/ld.so.conf and run ldconfig.

It worries me that questions like this get asked. If you don't know how to build the software, are you sure you are competent to run it?