Project

General

Profile

Bug #6093

Updated by Matthieu CERDA over 9 years ago

The build fails due to the following error: 
 <pre> 
 02:46:47 dh_shlibdeps 
 02:46:47 dpkg-shlibdeps: error: couldn't find library libcrypto.so.1.0.0 needed by debian/rudder-agent/opt/rudder/lib/engines/libgmp.so (ELF format: 'elf32-i386'; RPATH: ''). 
 02:46:47 Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. 
 02:46:47 To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH. 
 02:46:47 dh_shlibdeps: dpkg-shlibdeps -Tdebian/rudder-agent.substvars debian/rudder-agent/opt/rudder/lib/engines/libgmp.so debian/rudder-agent/opt/rudder/lib/engines/libatalla.so debian/rudder-agent/opt/rudder/lib/engines/libcapi.so debian/rudder-agent/opt/rudder/lib/engines/libchil.so debian/rudder-agent/opt/rudder/lib/engines/libsureware.so debian/rudder-agent/opt/rudder/lib/engines/libubsec.so debian/rudder-agent/opt/rudder/lib/engines/libaep.so debian/rudder-agent/opt/rudder/lib/engines/libgost.so debian/rudder-agent/opt/rudder/lib/engines/libpadlock.so debian/rudder-agent/opt/rudder/lib/engines/libcswift.so debian/rudder-agent/opt/rudder/lib/engines/lib4758cca.so debian/rudder-agent/opt/rudder/lib/engines/libnuron.so debian/rudder-agent/opt/rudder/lib/libcrypto.so.1.0.0 debian/rudder-agent/opt/rudder/lib/libssl.so.1.0.0 debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Compress/Raw/Bzip2/Bzip2.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Compress/Raw/Zlib/Zlib.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Data/Dumper/Dumper.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/IO/IO.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Cwd/Cwd.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Opcode/Opcode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/POSIX/POSIX.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Digest/SHA/SHA.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/KR/KR.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/EBCDIC/EBCDIC.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/TW/TW.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Symbol/Symbol.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Encode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/JP/JP.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Byte/Byte.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Unicode/Unicode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/CN/CN.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/Peek/Peek.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/DProf/DProf.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/PPPort/PPPort.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Hash/Util/Util.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Hash/Util/FieldHash/FieldHash.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/List/Util/Util.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/IPC/SysV/SysV.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Storable/Storable.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Filter/Util/Call/Call.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/threads/shared/shared.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/threads/threads.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/MIME/Base64/Base64.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/I18N/Langinfo/Langinfo.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/via/via.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/scalar/scalar.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/encoding/encoding.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/File/Glob/Glob.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Sys/Syslog/Syslog.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Sys/Hostname/Hostname.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/attributes/attributes.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Time/Piece/Piece.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Time/HiRes/HiRes.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/mro/mro.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Text/Soundex/Soundex.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Math/BigInt/FastCalc/FastCalc.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/SDBM_File/SDBM_File.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/re/re.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Unicode/Normalize/Normalize.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/B/B.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Socket/Socket.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Fcntl/Fcntl.so debian/rudder-agent/opt/rudder/lib/liblmdb.so debian/rudder-agent/opt/rudder/bin/rpmvercmp debian/rudder-agent/opt/rudder/bin/cf-promises debian/rudder-agent/opt/rudder/bin/openssl debian/rudder-agent/opt/rudder/bin/mdb_stat debian/rudder-agent/opt/rudder/bin/cf-key debian/rudder-agent/opt/rudder/bin/a2p debian/rudder-agent/opt/rudder/bin/cf-monitord debian/rudder-agent/opt/rudder/bin/cf-agent debian/rudder-agent/opt/rudder/bin/cf-upgrade debian/rudder-agent/opt/rudder/bin/perl5.12.4 debian/rudder-agent/opt/rudder/bin/mdb_copy debian/rudder-agent/opt/rudder/bin/cf-execd debian/rudder-agent/opt/rudder/bin/cf-serverd debian/rudder-agent/opt/rudder/bin/cf-runagent debian/rudder-agent/opt/rudder/bin/perl returned exit code 2 
 02:46:47 make[1]: *** [binary-arch] Error 9 
 </pre> 

 According to what I found, it seems that this is due to the fact that we do not need to call dh_shlibs (and actually did not due to the same reason when we had separate tokyocabinet patches) as it will always choke on libs that are not packaged as part of another package. (cf manpage) 

 We simply need to remove it when we build OpenSSL included. 

 *EDIT* : WARNING, the fix applied to this bug has been reverted since we now run dh_shlibdeps on every rudder-agent package to prevent missing dependencies. The second fix is in #6337.

Back