On Friday 2016-12-23 12:45, Andrei Borzenkov wrote:
-lwrap comes after sql/libsql.a, so any reference to symbols from libwrap *in* sql/libsql.a should be resolved or do I miss something obvious?
Oh yeah, now I see it:
../../../sql/libsql.a(socket_connection.cc.o): In function `Mysqld_socket_listener::listen_for_connection_event()': /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:940: undefined reference to `sock_host(request_info*)'
libsql.a references "request_init" and others as a C++ mangling mode, i.e. it looks for "_Z5sock_hostP12request_info" rather than "sock_host". This is because tcpd.h fails to use 'extern "C"'. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org