Public bug reported: Ubuntu 12.04 LTS Source package Postfix 2.9.1-5 0
The build process dies with gcc -Wmissing-prototypes -Wformat -DDEBIAN -DMAX_DYNAMIC_MAPS -DHAS_PCRE -DHAS_LDAP -DHAS_SQLITE -DMYORIGIN_FROM_FILE -DNO_NIS -DHAS_CDB -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/postgresql -DHAS_SQLITE -I/usr/include -DHAS_SSL -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include/sasl -DUSE_CYRUS_SASL -DUSE_TLS -O2 -I. -I../../include -DLINUX3 -o smtpd smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o smtpd_xforward.o smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o smtpd_expand.o ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a ../../lib/libxsasl.a ../../lib/libmilter.a ../../lib/libglobal.a ../../lib/libutil.a -lssl -lcrypto -lsasl2 -lpthread -L/usr/src/postfix-2.9.1/debian -ldb ../../lib/libdns.a: undefined reference to `__res_search' ../../lib/libdns.a: undefined reference to `__dn_expand' collect2: выполнение ld завершилось с кодом возврата 1 make: *** [smtpd] Ошибка 1 make: Выход из каталога `/usr/src/postfix-2.9.1/src/smtpd' make[1]: *** [update] Ошибка 1 make[1]: Выход из каталога `/usr/src/postfix-2.9.1' make: *** [build] Ошибка 2 dpkg-buildpackage: ошибка: debian/rules build возвратил код ошибки 2 To get rid of it I had to add -lresolv to AUXLIBS in debian/rules . ** Affects: postfix (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/1005310 Title: Cant build package with default rules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1005310/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs