Fix a ommited libcrypt library dependency to home_finger that appears only when compiling libhome with LDAP only . Added file(s): - files/patch-aa Generated with FreeBSD Port Tools 0.63
State Changed From-To: open->closed Committed, thanks!
Hello, this has somehow reappeared: mkdir compat ln -s ../hpwd.h compat/hpwd.h ln -s ../hparam.h compat/hparam.h ln -s hpwd.h compat/pwd.h ln -s home_version.h compat/home_version.h nroff -man home.conf.5 > home.conf.0 ./libtool --mode=link cc -O2 -fno-strict-aliasing -pipe -o home_finger -Icompat -lcrypt home_finger.c libhome.la cc -O2 -fno-strict-aliasing -pipe -o .libs/home_finger -Icompat home_finger.c -lcrypt ./.libs/libhome.so -ldb-4.3 -L/usr/local/lib /usr/local/lib/libldap.so /usr/local/lib/liblber.so -lsasl2 -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib creating home_finger ./libtool --mode=compile cc -I. -Wall -I/usr/local/include -I/usr/local/include/db4 -DDEFAULT_HOME_CONF=\"/usr/local/etc/home.conf\" -O2 -fno-strict-aliasing -pipe -c libhome-preload.c cc -I. -Wall -I/usr/local/include -I/usr/local/include/db4 -DDEFAULT_HOME_CONF=\"/usr/local/etc/home.conf\" -O2 -fno-strict-aliasing -pipe -c libhome-preload.c -fPIC -DPIC -o .libs/libhome-preload.o cc -I. -Wall -I/usr/local/include -I/usr/local/include/db4 -DDEFAULT_HOME_CONF=\"/usr/local/etc/home.conf\" -O2 -fno-strict-aliasing -pipe -c libhome-preload.c -o libhome-preload.o >/dev/null 2>&1 ./libtool --mode=link cc -O2 -fno-strict-aliasing -pipe -module -o libhome-preload.la libhome-preload.lo -rpath /usr/local/lib -version-info 1 homeuser.lo error.lo hparam.lo rewrite.lo cleanup.lo wrap.lo tools.lo hsystem.lo expand.lo hldap.lo hproxy.lo cache3.lo rewritedb.lo -ldb-4.3 -L/usr/local/lib -lldap -L/usr/local/lib cc -shared .libs/libhome-preload.o .libs/homeuser.o .libs/error.o .libs/hparam.o .libs/rewrite.o .libs/cleanup.o .libs/wrap.o .libs/tools.o .libs/hsystem.o .libs/expand.o .libs/hldap.o .libs/hproxy.o .libs/cache3.o .libs/rewritedb.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -ldb-4.3 -L/usr/local/lib /usr/local/lib/libldap.so -Wl,-soname -Wl,libhome-preload.so.1 -o .libs/libhome-preload.so.1 (cd .libs && rm -f libhome-preload.so && ln -s libhome-preload.so.1 libhome-preload.so) (cd .libs && rm -f libhome-preload.so && ln -s libhome-preload.so.1 libhome-preload.so) ar cru .libs/libhome-preload.a libhome-preload.o homeuser.o error.o hparam.o rewrite.o cleanup.o wrap.o tools.o hsystem.o expand.o hldap.o hproxy.o cache3.o rewritedb.o ranlib .libs/libhome-preload.a creating libhome-preload.la (cd .libs && rm -f libhome-preload.la && ln -s ../libhome-preload.la libhome-preload.la) ./libtool --mode=link cc -O2 -fno-strict-aliasing -pipe -o home_proxy -I. -Wall -I/usr/local/include -I/usr/local/include/db4 -DDEFAULT_HOME_CONF=\"/usr/local/etc/home.conf\" -I. home_proxy.c libhome.la cc -O2 -fno-strict-aliasing -pipe -o .libs/home_proxy -I. -Wall -I/usr/local/include -I/usr/local/include/db4 -DDEFAULT_HOME_CONF=\"/usr/local/etc/home.conf\" -I. home_proxy.c ./.libs/libhome.so -ldb-4.3 -L/usr/local/lib /usr/local/lib/libldap.so /usr/local/lib/liblber.so -lsasl2 -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib ./.libs/libhome.so: undefined reference to `crypt' *** Error code 1 Stop in /usr/ports/misc/libhome/work/libhome-0.10.1. *** Error code 1 Stop in /usr/ports/misc/libhome. *** Error code 1 Stop in /usr/ports/misc/libhome. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.99088.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! misc/libhome (linker error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed **** testbsd# cat /var/db/ports/libhome/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for libhome-0.10.1 _OPTIONS_READ=libhome-0.10.1 WITH_LDAP=true WITHOUT_MYSQL=true WITHOUT_DB3=true WITH_DB4=true WITHOUT_PAM=true WITHOUT_PGSQL=true Best Regards, Rainer