From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 15:32:40 2004 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 A90DD16A4CE for ; Tue, 19 Oct 2004 15:32:40 +0000 (GMT) Received: from debian.akroteq.com (rdbck-static-72.palmer.mtaonline.net [12.17.141.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AC5B43D58 for ; Tue, 19 Oct 2004 15:32:40 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by debian.akroteq.com with local (Exim 4.34) id 1CJuvj-0000Vf-Jb for freebsd-questions@freebsd.org; Tue, 19 Oct 2004 06:25:39 -0800 Date: Tue, 19 Oct 2004 06:25:39 -0800 From: Andy Firman To: freebsd-questions@freebsd.org Message-ID: <20041019142539.GA1772@akroteq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: how to reinstall a port after a "make install clean"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 15:32:40 -0000 I need to rebuild the exim-mysql port with ldap lookups and am having trouble since I did a make install clean. I can't do a "make reinstall" because I did the "clean" and according to the handbook I have to do this: # pkg_delete exim-mysql-4.42+27 Now when I go back into /usr/ports/mail/exim-mysql to start over I do this: # make -DWITH_OPENLDAP=yes -DWITH_OPENSSL_BASE -DWITH_LDAP_LIB_TYPE=OPENLDAP22 \ -DWITH_LOOKUP_LDAP=yes install clean It is not working as I get this exim error in the logs: lookup type "ldap" is not available (not in the binary - check buildtime LOOKUP configuration) Also: -su-2.05b# ldd /usr/local/sbin/exim /usr/local/sbin/exim: libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2810f000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x281fd000) libpam.so.1 => /usr/lib/libpam.so.1 (0x28216000) libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x28220000) libperl.so.3 => /usr/lib/libperl.so.3 (0x28240000) libm.so.2 => /usr/lib/libm.so.2 (0x282d8000) libc.so.4 => /usr/lib/libc.so.4 (0x282f3000) libssl.so.3 => /usr/lib/libssl.so.3 (0x2838c000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x283bb000) libz.so.2 => /usr/lib/libz.so.2 (0x284b2000) libutil.so.3 => /usr/lib/libutil.so.3 (0x284bf000) What am I doing wrong with the reinstall of the port? Thanks, Andy