On 11/11/14 20:51, giacomo wrote: > Hi at all, > I try to compile postfix on OpenBSD 5.6 with command > > # env FLAVOR="mysql sasl2" make install > > for install it with mysql and sasl2 support. I have compiled it > in OpenBSD 5.5 and 5.4 without problem. My system is upgrated from 5.4 to 5.5 > and to 5.6 > The compiler show: > > /usr/local/lib/mysql -lmysqlclient -L/usr/local/lib -Wl,-R/usr/local/lib > -lpcre > /usr/local/lib/libmysqlclient.so.23.0: warning: stpcpy() is dangerous; do not > use it > ../../lib/libutil.a(concatenate.o)(.text+0x77): In function `concatenate': > : warning: strcpy() is almost always misused, please use strlcpy() > ../../lib/libutil.a(concatenate.o)(.text+0x88): In function `concatenate': > : warning: strcat() is almost always misused, please use strlcat() > ../../lib/libglobal.a(mail_conf_time.o)(.text+0x46): In function > `set_mail_conf_time_int': > : warning: sprintf() is often misused, please use snprintf() > /usr/bin/ld: warning: libcrypto.so.23.0, needed by > /usr/local/lib/libsasl2.so.3.0, may conflict with libcrypto.so.30.0 > /usr/bin/ld: warning: libroken.so.1.0, needed by > /usr/local/lib/libsasl2.so.3.0, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libssl.so.20.0, needed by > /usr/local/lib/libmysqlclient.so.23.0, may conflict with libssl.so.27.0 > /usr/lib/libgssapi.so.7.1: undefined reference to `ct_memcmp' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_cloexec_dir' > /usr/lib/libasn1.so.20.0: undefined reference to `rk_strpoolcollect' > /usr/lib/libasn1.so.20.0: undefined reference to `rk_hex_encode' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_strupr' > /usr/lib/libkrb5.so.20.0: undefined reference to `net_write' > /usr/lib/libasn1.so.20.0: undefined reference to `rk_hex_decode' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_bswap16' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_bswap32' > /usr/lib/libgssapi.so.7.1: undefined reference to `rk_cloexec_file' > /usr/lib/libasn1.so.20.0: undefined reference to `rk_strpoolprintf' > /usr/lib/libkrb5.so.20.0: undefined reference to `arg_printusage' > /usr/lib/libkrb5.so.20.0: undefined reference to `roken_gethostby_setup' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_estrdup' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_free_data' > /usr/lib/libkrb5.so.20.0: undefined reference to `base64_encode' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_socket_sockaddr_size' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_lookup' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_socket_get_port' > /usr/lib/libkrb5.so.20.0: undefined reference to `net_read' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_strlwr' > /usr/lib/libgssapi.so.7.1: undefined reference to `issuid' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_cloexec' > /usr/lib/libkrb5.so.20.0: undefined reference to `roken_gethostbyname' > /usr/lib/libkrb5.so.20.0: undefined reference to `getarg' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_strsep_copy' > /usr/lib/libkrb5.so.20.0: undefined reference to `parse_time' > /usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_srv_order' > collect2: ld returned 1 exit status > *** Error 1 in src/master (Makefile:72 'master') > *** Error 1 in > /usr/ports/pobj/postfix-2.12.20140701-sasl2-mysql/postfix-2.12-20140701 > (Makefile:83 'update') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2727 > '/usr/ports/pobj/postfix-2.12.20140701-sasl2-mysql/.build_done') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1922 > '/usr/ports/packages/i386/all/postfix-2.12.20140701-sasl2-mysql.tgz') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2475 > '_internal-package') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'package') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1939 > '/var/db/pkg/postfix-2.12.20140701-sasl2-mysql/+CONTENTS') > *** Error 1 in /usr/ports/mail/postfix/snapshot > (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'install') > > What is the problem? Has been lost something? > > Thanks. > >
Kerberos was removed, upgrading needed to remove old libraries. See the final steps of the upgrade.. http://www.openbsd.org/faq/upgrade56.html#final The port for Kerberos is here.. security/heimdal

