error during install makemap and mailstats of sendmail
Hi everyone, I intend to install cryus-sasl, procmail and sendmail for my school. After I've finished the install of cyrus-sasl and procmail, I try to install sendmail. I have config the required setting of sendmail which let it support cryus-sasl in the file sendmail/devtools/Site/site.config.m4, then I build the main program of the sendmail and created the related user account and directories. It doesn't has any error. But when I try to build the program "makemap" and "mailstats", it has the similar error which said that there are an unrecognized option '-R/usr/local/ssl/lib' and can't find -lphclient. Here are the dump screen after I type the command "sh Build install" in the directory of program "makemap":
[root@chmsmail makemap]# sh Build install
Configuration: pfx=, os=Linux, rel=2.6.18-194.el5PAE, rbase=2, rroot=2.6.18-194, arch=i686, sfx=, variant=optimized
Making in /usr/local/src/sendmail/obj.Linux.2.6.18-194.el5PAE.i686/makemap
cc -O2 -I. -I../../sendmail -I../../include -I/opt/nph/include -I/usr/local/ssl/include -I/usr/local/cyrus-sasl2/include -DNEWDB -DMAP_REGEX -DPH_MAP -UNIS -DSTARTTLS -DTCPWRAPPERS -DSASL=2 -DNOT_SENDMAIL -c -o makemap.o makemap.c
cc -o makemap -L/opt/nph/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/cyrus-sasl2/lib makemap.o /usr/local/src/sendmail/obj.Linux.2.6.18-194.el5PAE.i686/libsmdb/libsmdb.a /usr/local/src/sendmail/obj.Linux.2.6.18-194.el5PAE.i686/libsmutil/libsmutil.a /usr/local/src/sendmail/obj.Linux.2.6.18-194.el5PAE.i686/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -ldl -lphclient -lssl -lcrypto
cc: unrecognized option '-R/usr/local/ssl/lib'
/usr/bin/ld: cannot find -lphclient
collect2: ld returned 1 exit status
make: *** [makemap] Error 1
Anyone can tell me what should I do to tackle the error? Thank you very much.
|