- 论坛徽章:
- 0
|
我的系统是 FREEBSD 6.1 APACHE2.059 MYSQL 4.1 PHP4.4 采用原码编译安装.今天在安装 POSTFIX时系统有如下提示:
$ make tidy
$ make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl' 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lz -L/usr/local/lib -lsasl2'
$ make
...............
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl -g -O -I. -I../../include -DFREEBSD6 -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 -L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lz -L/usr/local/lib -lsasl2
../../lib/libutil.a(dict_db.o)(.text+0x82c): In function `dict_db_open':
/usr/soft/postfix/src/util/dict_db.c:544: undefined reference to `db_version'
../../lib/libutil.a(dict_db.o)(.text+0x91c):/usr/soft/postfix/src/util/dict_db.c:619: undefined reference to `db_create'
*** Error code 1
Stop in /usr/soft/postfix/src/master.
*** Error code 1
Stop in /usr/soft/postfix.
不知道是什么原因.希望大家给我一些提示.我是处次安装.一点头绪都没有.
我将系统中的ISO文件中的/usr/include/db.h 文件提取出来 拷贝到/usr/include目录下,就可以了谢谢.希望给大家一些提示.
[ 本帖最后由 kufang_he1209 于 2006-9-18 12:01 编辑 ] |
|