From owner-freebsd-questions@FreeBSD.ORG Sun May 8 00:05:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E54416A4DD for ; Sun, 8 May 2005 00:05:45 +0000 (GMT) Received: from duchess.speedfactory.net (duchess.speedfactory.net [66.23.201.84]) by mx1.FreeBSD.org (Postfix) with SMTP id ADB2543D1F for ; Sun, 8 May 2005 00:05:44 +0000 (GMT) (envelope-from jeep@skywolf.net) Received: (qmail 1760 invoked by uid 89); 8 May 2005 00:05:42 -0000 Received: from duchess.speedfactory.net (66.23.201.84) by duchess.speedfactory.net with SMTP; 8 May 2005 00:05:42 -0000 Received: (qmail 1725 invoked by uid 89); 8 May 2005 00:05:41 -0000 Received: from unknown (HELO skywolf.net) (66.23.231.246) by duchess.speedfactory.net with SMTP; 8 May 2005 00:05:41 -0000 Received: from [127.0.0.1] (central.gigabit.skywolf.net [172.16.0.2]) (authenticated bits=0) by skywolf.net (8.13.3/8.13.3) with ESMTP id j4805aGu015283 for ; Sat, 7 May 2005 20:05:39 -0400 (EDT) (envelope-from jeep@skywolf.net) Message-ID: <427D57CE.8050202@skywolf.net> Date: Sat, 07 May 2005 20:05:34 -0400 From: Brian Wolman User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: buildworld failing. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 00:05:45 -0000 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