From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 08:42:57 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 0DD9916A4CE for ; Thu, 10 Feb 2005 08:42:57 +0000 (GMT) Received: from web51606.mail.yahoo.com (web51606.mail.yahoo.com [206.190.38.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 8322743D41 for ; Thu, 10 Feb 2005 08:42:56 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: (qmail 63032 invoked by uid 60001); 10 Feb 2005 08:42:55 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Pb3wQUBOV7Otiz8xJ8lots0AcyVHIvvKAbLgyzQ+d8mLBwafdpQZNeQ/mH6TpKMeILgRpmg9LU9+CEhLgWWI/nAd4Cy+O/ftBdATxq2jeIYk4Yf5QtF37lpW4UwFBmWUlF6p3kmdf0jpGuWiRbbomtj14QamaOdIbMrOdY72gF0= ; Message-ID: <20050210084255.63030.qmail@web51606.mail.yahoo.com> Received: from [202.90.128.21] by web51606.mail.yahoo.com via HTTP; Thu, 10 Feb 2005 00:42:55 PST Date: Thu, 10 Feb 2005 00:42:55 -0800 (PST) From: Mark Jayson Alvarez To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Make fails because of missing library but I can see it's there, why??? 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: Thu, 10 Feb 2005 08:42:57 -0000 Hi, This always happens to me whenever I'm compiling third party applications. Make fails because it says that it cannot find a certain library.. and when I try to search for that file, I usually finds it. For example, I'm compiling, nagios-plugins but it fails with this error messages: check_ldap.c:31:18: lber.h: No such file or directory check_ldap.c:32:18: ldap.h: No such file or directory but when I run: # find / -name "ldap.h" -print /usr/lib/ldap.h /usr/local/lib/ldap.h /usr/local/include/ldap.h noc# find / -name "lber.h" -print /usr/lib/lber.h /usr/local/lib/lber.h /usr/local/include/lber.h See.. it's all there! I'm thinking perhaps there's a way for me to tell a compiler that the system wide library files are found in that certain directory. Any idea?? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com