[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp:337] postfix コンパイルでのエラー



はじめまして。
今度postfixにしようと、ソースをダウンロードし、
コンパイルしていたのですが、途中でエラーが出てしまいます。
最終的にやりたいことは、pop befor smtpです。
OS linux7.0パッチあてです。

エラーの内容は、
[error]
gcc -Wmissing-prototypes -DPATH_DB_H='<db_185.h>' -g -O -I. -I../include
-DLINUX
2 -o error error.o ../lib/libmaster.a ../lib/libglobal.a
../lib/libutil.a -lnsl
-lresolv
../lib/libutil.a(dict_db.o): In function `dict_db_open':
/usr/local/src/postfix-19991231-pl08/util/dict_db.c:366: undefined
reference to
`dbopen'
collect2: ld returned 1 exit status
です。
エラーからすると、dict_db.c で、dbopenがリンク時に見つからないと
行っているようです。

Makefileに何か、指定するのでしょうか?

変更した個所は、
Linux7.0では、dbからdb2になっていましたので、
ln -s /usr/include/db2/db.h /usr/include/db.h
n -s /usr/include/db2/db_185.h /usr/include/db_185.h
としました。

pop befor smtpの設定は、日経linux8月号をみて行いっています。

pfix-ma@xxxxxxxxxxxx
桂 秀則

Follow-Ups
[postfix-jp:339] Re: postfix コンパイルでのエラー, Yanagisawa Yoshisato
[postfix-jp:343] Re: postfix コンパイルでのエラー, Ikeda Nozomu

[検索ページ] [Postfix-JP ML Home]