[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.99.51 and FreeBSD 3.3 and PAM - adding erroneous -ldl when PAM support is found
Hello!
Been busy so I couldn't test this sooner. Here is what happens when trying
2.99.51 on FreeBSD 3.3:
cc -DHAVE_CONFIG_H -I./../include -I../include -I..
-I/usr/local/lib/whoson -I/usr/local/include -c ./smtpau
th.c
cc -DHAVE_CONFIG_H -I./../include -I../include -I..
-I/usr/local/lib/whoson -I/usr/local/include -c ./zpwmat
ch.c
cc -DHAVE_CONFIG_H -I./../include -I../include -I..
-I/usr/local/lib/whoson -I/usr/local/include -c smtptls.
c
cc -DHAVE_CONFIG_H -I./../include -I../include -I..
-I/usr/local/lib/whoson -I/usr/local/include -c version.
c
cc -DHAVE_CONFIG_H -I./../include -I../include -I..
-I/usr/local/lib/whoson -I/usr/local/include -o smtpserv
er smtpserver.o rfc821scn.o debugreport.o fdstatfs.o
wantconn.o policytest.o cfgread.o smtpdata.o smtpcmds.o
smtphelp.o smtprouter.o smtpchild.o mxverify.o
contentpolicy.o smtpauth.o zpwmatch.o smtptls.o version.o
-L../libs -lzm -lzc -lident -lta -lcrypt -lwrap -L/usr/local/lib/whoson
-lwhoson /usr/local/lib/libssl.so
/usr/local/lib/libcrypto.so -lpam -ldl
/usr/libexec/elf/ld: cannot open -ldl: No such file or directory
*** Error code 1
Stop.
*** Error code 1
There is freebsd port of zmailer in ports collection where this is fixed:
--- configure.in Mon Jul 19 15:53:39 1999
+++ configure.in Mon Jul 19 15:54:32 1999
@@ -936,7 +936,7 @@
AC_SUBST(AUTHLIB)
AC_CHECK_HEADERS(security/pam_appl.h shadow.h)
if test "$ac_cv_header_security_pam_appl_h" = "yes"; then
- AUTHLIB="-lpam -ldl"
+ AUTHLIB="-lpam"
else
if test "$ac_cv_header_shadow_h" = "yes"; then
AUTHLIB="-lshadow"
Want me to send you what configure outputs on FreeBSD these days?
Tomaz
----
Tomaz Borstnar <tomaz.borstnar@over.net>
"Love is the answer to the final question you ask" - Unknown