Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 06:25:39 -0800
From:      Andy Firman <andy@firman.us>
To:        freebsd-questions@freebsd.org
Subject:   how to reinstall a port after a "make install clean"?
Message-ID:  <20041019142539.GA1772@akroteq.com>

next in thread | raw e-mail | index | archive | help

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



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