postfix 安裝
我在rhel 5上安裝postfix 2.45 當我執行make install時,會出現一些提示問題,可是方括弧裡面沒有給出答案啊,我找過所有的資料都說有答案。這是怎麼回事啊。誰遇到過這樣的問題啊,幫我解決啊。先謝謝了。
《解決方案》
先把提示信息貼出來看看
《解決方案》
install_root: [/]
Please specify a directory for scratch files while installing Postfix. You
must have write permission in this directory.
tempdir:
Please specify the final destination directory for installed Postfix
configuration files.
config_directory: [] /etc/postfix
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Please specify the final destination directory for installed Postfix
daemon programs. This directory should not be in the command search path
of any users.
daemon_directory: [] /usr/libexec/postfix
Please specify the final destination directory for installed Postfix
administrative commands. This directory should be in the command search
path of adminstrative users.
command_directory: [] /usr/sbin
Please specify the final destination directory for Postfix queues.
queue_directory: [] /var/spool/postfix
Please specify the final destination pathname for the installed Postfix
sendmail command. This is the Sendmail-compatible mail posting interface.
sendmail_path: [] /usr/lib/sendmail
Please specify the final destination pathname for the installed Postfix
newaliases command. This is the Sendmail-compatible command to build
alias databases for the Postfix local delivery agent.
newaliases_path: [] /usr/sbin 我填/usr/bin/newaliases也不對,提示的錯誤一樣的。
Please specify the final destination pathname for the installed Postfix
mailq command. This is the Sendmail-compatible mail queue listing command.
mailq_path: [] /usr/bin/mailq
Please specify the owner of the Postfix queue. Specify an account with
numerical user ID and group ID values that are not used by any other
accounts on the system.
mail_owner: [] postfix
Please specify the group for mail submission and for queue management
commands. Specify a group name with a numerical group ID that is
not shared with other accounts, not even with the Postfix mail_owner
account. You can no longer specify "no" here.
setgid_group: [] postdrop
Please specify the destination directory for the Postfix HTML
files. Specify "no" if you do not want to install these files.
html_directory: [] /var/www/html
Please specify the destination directory for the Postfix on-line manual
pages. You can no longer specify "no" here.
manpage_directory: [] /usr/local/man
Please specify the destination directory for the Postfix README
files. Specify "no" if you do not want to install these files.
readme_directory: [] no
postfix-install: Error: "newaliases_path" specifies a directory.
make: *** 錯誤 1
#
這個是多出來的。不知道我這麼填對不對。html_directory: [] /var/www/html
postfix-install: Error: "newaliases_path" specifies a directory.
make: *** 錯誤 1
#
這是什麼意思啊。
《解決方案》
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
錯誤都已經貼出來了啊。。。。搜索libmysqlclient.so.15,把libmysqlclient.so.15拷一個放/usr/lib或者把libmysqlclient.so.15的路徑加到ld.so.conf里ldconfig下就OK:em17:
《解決方案》
bin/postconf: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
錯誤都已經貼出來了啊。。。。搜索libmysqlclient.so.15,把libmysqlclient.so.15拷一個放/usr/lib或者把libmysqlclient.so.15的路徑加到ld.so.conf里ldconfig下就OK
謝謝,安裝上了,現在我在配置DNS,企業5什麼都變了啊。暈了,DNS位置也不對。
《解決方案》
學習~~~
《解決方案》
編譯錯誤 。。。
想看看你的 make 後面的信息!
看看你的INSTALL
這個是我編譯的
make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib -lsasl2 -lssl -lcrypto'
《解決方案》
回復 #5 zdyldy 的帖子
RHEL5里DNS的配置文件做了chroot