Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2005 20:05:34 -0400
From:      Brian Wolman <jeep@skywolf.net>
To:        freebsd-questions@freebsd.org
Subject:   buildworld failing. 
Message-ID:  <427D57CE.8050202@skywolf.net>

next in thread | raw e-mail | index | archive | help
Hi all,

    I can't seem to get a buildworld to complete without errors. I 
_just_ went from 4.11 to 5.4 using sources. The buildworld then also had 
errors. The errors are below, as well as a locate for the missing 
libraries. If you go into the directory for 
/usr/local/libexec/mail.local and do make, it compiles just fine and 
then buildwork goes over it. I don't think doing that for each one is 
the best thing to do. I've searched through the web, and went through 
UPDATING again, and did not seem to find anything related. Any help 
would be greatly appreciated.

       Thank you
       Brian


===> libexec/getNAME
===> libexec/getty
===> libexec/mail.local
cc -O -pipe  
-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
/usr/obj/usr/src/i386/usr/bin/ld: warning: libpam.so.1, needed by 
/usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: libldap.so.2, needed by 
/usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: liblber.so.2, 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 `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/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 `pam_start'
/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'
*** 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.
jasper# locate libpam.so.1
/usr/lib/libpam.so.1
/usr/src/lib/compat/compat4x.alpha/libpam.so.1.bz2.uu
/usr/src/lib/compat/compat4x.i386/libpam.so.1.bz2.uu
jasper# locate libldap.so.2
/usr/local/lib/libldap.so.2
jasper# locate liblber.so.2
/usr/local/lib/liblber.so.2
jasper#

-- 
Brian Wolman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427D57CE.8050202>