|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Error while building postfix
From: Andreas Winkelmann (ml
awinkelmann.de)
Date: Fri Jun 16 2006 - 07:22:52 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Friday 16 June 2006 11:34 schrieb Simon Schlumpf:
> I have a problem while building postfix on my vServer (debian 3.1).
>
> first there was no BerkeleyDB installed (postfix couldn't find db.h) ,
> so i did that (version 4.4) like it was discribed on
> http://www.postfix.org/DB_README.html at the point "Building Postfix
> on systems without Berkeley DB" with th option --with-uniquename.
> then make & make install, no problems.
>
> after that i went to the postfix 2.2.10 source directory and did:
>
> % make tidy
> % make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB/include" \
> AUXLIBS="-L/usr/local/BerkeleyDB/lib -ldb"
Check the /lib-Directory, if -ldb is right. Maybe it must be -ldb4 or
something else.
> % make
>
> but then:
>
> ../../lib/libutil.a(dict_db.o)(.text+0x973): In function `dict_db_open':
> /src/postfix-2.2.10/src/util/dict_db.c:620: undefined reference to
> `db_create_4004'
> collect2: ld returned 1 exit status
> make: *** [master] Error 1
> make: *** [update] Error 1
>
> thats all...
Looks like the Headers (=4) does not fit to the found libdb (<4).
--
Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]