OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: postmap: Undefined symbol "db_version"

From: Adam Jacob Muller (lists-postfixadam.gs)
Date: Fri Apr 20 2007 - 23:44:54 CDT


On Apr 20, 2007, at 6:11 PM, Gerard Seibert wrote:

> On Fri, 20 Apr 2007 13:37:29 -0400 (EDT)
> wietseporcupine.org (Wietse Venema) wrote:
>
>>> Help Desk Specialist:
>>>> I am running FreeBSD 6.0/Postfix 2.5-current.
>>>>
>>>> I am trying to rebuild a database (classes), however, regardless
>>>> of the maptype, when executing postmap, I get the error "postmap:
>>>> Undefined
>>> symbol
>>>> "db_version"".
>>>
>>> You built Postfix with Berkeley DB version > 1.
>>>
>>> The FreeBSD system library is Berkeley DB version 1.
>>>
>>> Don't build Postfix with non-default Berkeley DB library.
>>>
>>>> Is this a mismatch of Berkeley DB versions? How might I correct
>>>> it?
>>>
>>> Postfix builds out of the box on FreeBSD up to and including 6.2.
>>> I built it on 6.2 this week.
>>
>> Help Desk Specialist:
>>> What is the switch to build w/the system BDB? I am building from
>>> ports.
>>
>> Ask the ports maintainer.
>>
>> Postfix as released by me builds out of the box on 6.2, without
>> having to specify any switches at all. Just "make" and "make
>> install".
>>
>> Wietse
>
> You might want to do: 'make config' prior to the 'make && make
> install'
> to insure you have postfix configured the way you want it.
>
>
> --
> Gerard
>
> We should have a Vollyballocracy. We elect a six-pack of presidents.
> Each one serves until they screw up, at which point they rotate.
>
> Dennis Miller

-=[/usr/ports/mail/postfix-current]=- -=[Sat Apr 21]=- -=[00:44:20]=-
[rootapple]# grep BDB_VER Makefile
                 BDB "Berkeley DB (choose version with
WITH_BDB_VER)" off \

Though, unless you are doing something funky, you should not need to
touch this.

-Adam