[debian-mysql] Bug#590905: FTBFS on sid: checking for mysql_init... no

Miguel A. Colón Vélez debian.micove at gmail.com
Mon May 14 01:13:01 UTC 2012


Hello:

It seems that this is related to bug #590905.

The mysql_config file now contains the following line:
libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r   -lpthread -lz -lm
-lrt -lssl -lcrypto -ldl   "

And the package fails with:
configure:12514: g++ -o conftest -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-I/usr/include/mysql -DBIG_JOINS=1  -fno-strict-aliasing  -g
-D_FORTIFY_SOURCE=2 -I/usr/include/mysql -DBIG_JOINS=1
-fno-strict-aliasing  -g -Wl,-z,relro  -lrt conftest.cpp
-L/usr/lib/i386-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -lssl
-lcrypto -ldl  >&5
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status

Adding a build dependency to libssl-dev solves the FTBFS but
libmysqlclient-dev should probably be the one depending on libssl-dev.
 Several packages FTBFS due to the missing ssl libraries and would
need a source upload for something they don't really depend on.

Since this affects the transition I also CC this to their tracker.

Hope this helps,
Miguel





More information about the pkg-mysql-maint mailing list