I'm using openvswitch-2.4.0 on a Debian Jessie x86-64 system. I'm trying to build Debian packages with libovsdb and libovscommon as shared libraries and get errors from dh_shlibdeps.
Can someone advise me on how to get around this error? Regards, Mike I'm using the following command to build. DATAPATH_CONFIGURE_OPTS='--enable-shared' fakeroot debian/rules binary The following is the tail of build which shows the failure ... test -z "/usr/share/openvswitch/scripts" || /bin/mkdir -p "/home/mabnhdev/openvswitch-2.4.0/debian/tmp/usr/share/openvswitch/scripts" /usr/bin/install -c -m 644 utilities/ovs-lib '/home/mabnhdev/openvswitch-2.4.0/debian/tmp/usr/share/openvswitch/scripts' test -z "/usr/share/openvswitch/scripts" || /bin/mkdir -p "/home/mabnhdev/openvswitch-2.4.0/debian/tmp/usr/share/openvswitch/scripts" /usr/bin/install -c utilities/ovs-check-dead-ifs utilities/ovs-ctl ../utilities/ovs-save ../utilities/bugtool/ovs-bugtool-bfd-show ../utilities/bugtool/ovs-bugtool-cfm-show ../utilities/bugtool/ovs-bugtool-coverage-show ../utilities/bugtool/ovs-bugtool-fdb-show ../utilities/bugtool/ovs-bugtool-lacp-show ../utilities/bugtool/ovs-bugtool-list-dbs ../utilities/bugtool/ovs-bugtool-memory-show ../utilities/bugtool/ovs-bugtool-tc-class-show ../utilities/bugtool/ovs-bugtool-vsctl-show ../utilities/bugtool/ovs-bugtool-ovsdb-dump ../utilities/bugtool/ovs-bugtool-daemons-ver ../utilities/bugtool/ovs-bugtool-ovs-ofctl-show ../utilities/bugtool/ovs-bugtool-ovs-ofctl-dump-flows ../utilities/bugtool/ovs-bugtool-ovs-appctl-dpif ../utilities/bugtool/ovs-bugtool-bond-show ../vtep/ovs-vtep '/home/mabnhdev/openvswitch-2.4.0/debian/tmp/usr/share/openvswitch/scripts' make[4]: Leaving directory '/home/mabnhdev/openvswitch-2.4.0/_debian' make[3]: Leaving directory '/home/mabnhdev/openvswitch-2.4.0/_debian' make[2]: Leaving directory '/home/mabnhdev/openvswitch-2.4.0/_debian' make[1]: Leaving directory '/home/mabnhdev/openvswitch-2.4.0/_debian' cp debian/openvswitch-switch.template debian/openvswitch-switch/usr/share/openvswitch/switch/default.template dh_install -s dh_link -s /usr/bin/make -f debian/rules DH_OPTIONS=-s binary-common make[1]: Entering directory '/home/mabnhdev/openvswitch-2.4.0' dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_installdebconf dh_installlogrotate dh_installinit -R dh_installcron dh_installman --language=C dh_link dh_strip --dbg-package=openvswitch-dbg dh_compress dh_fixperms dh_python2 W: dh_python2:479: Please add dh-python package to Build-Depends dh_perl dh_makeshlibs dh_installdeb dh_shlibdeps dpkg-shlibdeps: error: couldn't find library libovsdb.so.1 needed by debian/openvswitch-common/usr/bin/ovsdb-client (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libopenvswitch.so.1 needed by debian/openvswitch-common/usr/bin/ovsdb-client (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libofproto.so.1 needed by debian/openvswitch-common/usr/bin/ovs-ofctl (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libopenvswitch.so.1 needed by debian/openvswitch-common/usr/bin/ovs-ofctl (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libopenvswitch.so.1 needed by debian/openvswitch-common/usr/bin/ovs-appctl (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: error: couldn't find library libopenvswitch.so.1 needed by debian/openvswitch-common/usr/bin/ovs-benchmark (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openvswitch-common/usr/bin/ovsdb-client debian/openvswitch-common/usr/bin/ovs-ofctl debian/openvswitch-common/usr/bin/ovs-appctl debian/openvswitch-common/usr/bin/ovs-benchmark were not linked against libatomic.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openvswitch-common/usr/bin/ovsdb-client debian/openvswitch-common/usr/bin/ovs-ofctl debian/openvswitch-common/usr/bin/ovs-appctl debian/openvswitch-common/usr/bin/ovs-benchmark were not linked against libm.so.6 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openvswitch-common/usr/bin/ovsdb-client debian/openvswitch-common/usr/bin/ovs-ofctl debian/openvswitch-common/usr/bin/ovs-appctl debian/openvswitch-common/usr/bin/ovs-benchmark were not linked against librt.so.1 (they use none of the library's symbols) dpkg-shlibdeps: error: cannot continue due to the errors listed above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: dpkg-shlibdeps -Tdebian/openvswitch-common.substvars debian/openvswitch-common/usr/bin/ovs-ofctl debian/openvswitch-common/usr/bin/ovs-appctl debian/openvswitch-common/usr/bin/ovsdb-client debian/openvswitch-common/usr/bin/ovs-benchmark returned exit code 2 debian/rules:123: recipe for target 'binary-common' failed make[1]: *** [binary-common] Error 2 make[1]: Leaving directory '/home/mabnhdev/openvswitch-2.4.0' debian/rules:148: recipe for target 'binary-arch' failed make: *** [binary-arch] Error 2
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
