Bug#674395: libdbd-mysql-perl: FTBFS: ld: cannot find -lssl
Salvatore Bonaccorso
carnil at debian.org
Thu May 24 12:23:17 UTC 2012
tags 674395 + confirmed
thankds
Hi Lucas
On Thu, May 24, 2012 at 11:32:45AM +0200, Lucas Nussbaum wrote:
> Source: libdbd-mysql-perl
> Version: 4.021-1
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20120524 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
> > cc -c -I/usr/lib/perl5/auto/DBI -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DVERSION=\"4.021\" -DXS_VERSION=\"4.021\" -fPIC "-I/usr/lib/perl/5.14/CORE" mysql.c
> > Running Mkbootstrap for DBD::mysql ()
> > chmod 644 mysql.bs
> > rm -f blib/arch/auto/DBD/mysql/mysql.so
> > /usr/bin/perl myld cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro -shared -L/usr/local/lib -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
> > -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl \
> >
> > /usr/bin/ld: cannot find -lssl
> > /usr/bin/ld: cannot find -lcrypto
> > collect2: error: ld returned 1 exit status
Can confirm this, and adding libssl-dev to Build-Depends solves the
FTBFS.
Looking a the given so file:
ldd mysql.so | grep ssl
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f989ebdd000)
Wouldn't that need an OpenSSL excpeption?
Regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120524/6c0f5800/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list