l.s. After running cvsup to RELENG_6_1, I started `make buildworld KERNCONF=BEASTIE61` as per the handbook's '21.4.1 The Canonical Way to Update Your System' In libexec/mail.local I get the following on stderr /usr/obj/usr/src/tmp/usr/bin/ld: warning: libldap-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) /usr/obj/usr/src/tmp/usr/bin/ld: warning: liblber-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn' /usr/local/lib/libsasl.so: undefined reference to `ldap_unbind' /usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry' /usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s' /usr/local/lib/libsasl.so: undefined reference to `ldap_set_option' /usr/local/lib/libsasl.so: undefined reference to `ldap_memfree' /usr/local/lib/libsasl.so: undefined reference to `ldap_init' /usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s' /usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree'>From stdout I had===> libexec/mail.local (all) cc -O2 -pipe -funroll-loops -march=pentium3m -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DSASL -c /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c cc -O2 -pipe -funroll-loops -march=pentium3m -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DSASL -L/usr/local/lib -o mail.local mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl *** Error code 1 Stop in /usr/src/libexec/mail.local. *** Error code 1 Stop in /usr/src/libexec. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. portversion -v on ldap shows [root@beastie:~]# portversion -v | grep ldap openldap-client-2.2.30 = up-to-date with port And in /usr/local/lib I do find lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 liblber-2.2.so -> liblber-2.2.so.7 -rw-r--r-- 1 root wheel 67109 Jan 18 23:27 liblber-2.2.so.7 -rw-r--r-- 1 root wheel 73738 Jan 18 23:27 liblber.a lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 liblber.so -> liblber-2.2.so.7 lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 libldap-2.2.so -> libldap-2.2.so.7 -rw-r--r-- 1 root wheel 233395 Jan 18 23:27 libldap-2.2.so.7 -rw-r--r-- 1 root wheel 278908 Jan 18 23:27 libldap.a lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 libldap.so -> libldap-2.2.so.7 lrwxr-xr-x 1 root wheel 18 Jan 18 23:27 libldap_r-2.2.so -> libldap_r-2.2.so.7 -rw-r--r-- 1 root wheel 254255 Jan 18 23:27 libldap_r-2.2.so.7 -rw-r--r-- 1 root wheel 310072 Jan 18 23:27 libldap_r.a lrwxr-xr-x 1 root wheel 18 Jan 18 23:27 libldap_r.so -> libldap_r-2.2.so.7 [root@beastie:/usr/local/lib]# uname -a FreeBSD beastie 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Jan 17 12:53:38 CET 2006 root@beastie:/usr/obj/usr/src/sys/BEASTIE6 i386 Probably something obvious that I'm missing? Thanks in advance, Spil
Duane Whitty
2006-May-10 12:03 UTC
buildworld failure in libexec.mail.local on 6.1 Release
Spil Oss wrote:> l.s. > > After running cvsup to RELENG_6_1, I started `make buildworld > KERNCONF=BEASTIE61` as per the handbook's '21.4.1 The Canonical Way to > Update Your System' > > In libexec/mail.local I get the following on stderr > /usr/obj/usr/src/tmp/usr/bin/ld: warning: libldap-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/obj/usr/src/tmp/usr/bin/ld: warning: liblber-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn' > /usr/local/lib/libsasl.so: undefined reference to `ldap_unbind' > /usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry' > /usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_set_option' > /usr/local/lib/libsasl.so: undefined reference to `ldap_memfree' > /usr/local/lib/libsasl.so: undefined reference to `ldap_init' > /usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree' > >> From stdout I had > ===> libexec/mail.local (all) > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -c > /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c > > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -L/usr/local/lib -o mail.local > mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a > -lsasl > *** Error code 1 > > Stop in /usr/src/libexec/mail.local. > *** Error code 1 > > Stop in /usr/src/libexec. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > portversion -v on ldap shows > [root@beastie:~]# portversion -v | grep ldap > openldap-client-2.2.30 = up-to-date with port > > And in /usr/local/lib I do find > lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 liblber-2.2.so -> > liblber-2.2.so.7 > -rw-r--r-- 1 root wheel 67109 Jan 18 23:27 liblber-2.2.so.7 > -rw-r--r-- 1 root wheel 73738 Jan 18 23:27 liblber.a > lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 liblber.so -> > liblber-2.2.so.7 > lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 libldap-2.2.so -> > libldap-2.2.so.7 > -rw-r--r-- 1 root wheel 233395 Jan 18 23:27 libldap-2.2.so.7 > -rw-r--r-- 1 root wheel 278908 Jan 18 23:27 libldap.a > lrwxr-xr-x 1 root wheel 16 Jan 18 23:27 libldap.so -> > libldap-2.2.so.7 > lrwxr-xr-x 1 root wheel 18 Jan 18 23:27 libldap_r-2.2.so -> > libldap_r-2.2.so.7 > -rw-r--r-- 1 root wheel 254255 Jan 18 23:27 libldap_r-2.2.so.7 > -rw-r--r-- 1 root wheel 310072 Jan 18 23:27 libldap_r.a > lrwxr-xr-x 1 root wheel 18 Jan 18 23:27 libldap_r.so -> > libldap_r-2.2.so.7 > > [root@beastie:/usr/local/lib]# uname -a > FreeBSD beastie 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Jan 17 12:53:38 > CET 2006 root@beastie:/usr/obj/usr/src/sys/BEASTIE6 i386 > > Probably something obvious that I'm missing? > > Thanks in advance, > > Spil > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > >What's in your /etc/make.conf? Duane Whitty -- duane@greenmeadow.ca
Francois Tigeot
2006-May-11 10:09 UTC
buildworld failure in libexec.mail.local on 6.1 Release
On Wed, May 10, 2006 at 12:58:49PM +0200, Spil Oss wrote:> l.s. > > After running cvsup to RELENG_6_1, I started `make buildworld > KERNCONF=BEASTIE61` as per the handbook's '21.4.1 The Canonical Way to > Update Your System' > > In libexec/mail.local I get the following on stderr > /usr/obj/usr/src/tmp/usr/bin/ld: warning: libldap-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/obj/usr/src/tmp/usr/bin/ld: warning: liblber-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn' > /usr/local/lib/libsasl.so: undefined reference to `ldap_unbind' > /usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry' > /usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_set_option' > /usr/local/lib/libsasl.so: undefined reference to `ldap_memfree' > /usr/local/lib/libsasl.so: undefined reference to `ldap_init' > /usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree' > > >From stdout I had > ===> libexec/mail.local (all) > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -c > /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -L/usr/local/lib -o mail.local > mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a > -lsasl > *** Error code 1I guess you're trying to use a sendmail compiled with SMTP AUTH support. I have the same problem here. Even though libldap-2.2.so.7 and liblber-2.2.so.7 are in /usr/local/lib and cc has a -L/usr/local/lib flag, ld doesn't find them. Even putting the libraries in /usr/lib doesn't correct this error. -- Francois Tigeot
Victor Sherstniov
2006-May-17 11:43 UTC
buildworld failure in libexec.mail.local on 6.1 Release
Hello! I have this problem too. I use SMTP AUTH and I get error if I do buildworld. Do you have decision of problem? Thank you. Victor Sherstniov
Victor Sherstniov
2006-May-17 12:11 UTC
buildworld failure in libexec.mail.local on 6.1 Release
Hello!> > After running cvsup to RELENG_6_1, I started `make buildworld > KERNCONF=BEASTIE61` as per the handbook's '21.4.1 The Canonical Way to > Update Your System' > > In libexec/mail.local I get the following on stderr > /usr/obj/usr/src/tmp/usr/bin/ld: warning: libldap-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/obj/usr/src/tmp/usr/bin/ld: warning: liblber-2.2.so.7, needed by > /usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn' > /usr/local/lib/libsasl.so: undefined reference to `ldap_unbind' > /usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry' > /usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_set_option' > /usr/local/lib/libsasl.so: undefined reference to `ldap_memfree' > /usr/local/lib/libsasl.so: undefined reference to `ldap_init' > /usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s' > /usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree' > > >From stdout I had > ===> libexec/mail.local (all) > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -c > /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c > cc -O2 -pipe -funroll-loops -march=pentium3m > -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. > -I/usr/local/include/sasl1 -DSASL -L/usr/local/lib -o mail.local > mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a > -lsasl > *** Error code 1>I guess you're trying to use a sendmail compiled with SMTP AUTH support. >I have the same problem here.>Even though libldap-2.2.so.7 and liblber-2.2.so.7 are in /usr/local/lib >and cc has a -L/usr/local/lib flag, ld doesn't find them.>Even putting the libraries in /usr/lib doesn't correct this error.I have this problem too. I use SMTP AUTH and I get error if I do buildworld. Do you have decision of problem? Thank you. Victor Sherstniov