how to reinstall a port after a "make install clean"?

Andy Firman andy at firman.us
Tue Oct 19 08:32:40 PDT 2004


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


More information about the freebsd-questions mailing list