Code: Select all
ranlib libsm.a
cc -O2 -I. -I../../include -I/usr/local/mysql/include/mysql -I/usr/include/mysql -DNEWDB -DUDBMYSQL -DMYSQLMAP -DPGSQLMAP -DMILTER -c -o t-event.o t-event.c
cc -o t-event -L/usr/lib/mysql/ -L/usr/local/mysql/lib/mysql/ t-event.o libsm.a -ldb -lresolv -lcrypt -lnsl -lmysqlclient -ldl -lmysqlclient -lz -lpq
usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[1]: *** [t-event] Error 1
make[1]: Leaving directory `/INSTALL/sendmail-8.12.9/obj.Linux.2.4.20.i686/libsm'