Hi Stepan,
I removed the libgnutls-dev together with libgmp-dev libgmpxx4ldbl
libgnutlsxx28 libp11-kit-dev libtasn1-6-dev libtasn1-doc nettle-dev
using apt-get autoremove. When I build in the bin/dbus directory (or the
complete ./make-ring.py --install) some libraries are missing:
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin'
CXXLD dring
/usr/bin/ld: cannot find -lhogweed
/usr/bin/ld: cannot find -lnettle
However, libhogweed is available on the system:
mattias@mattias-laptop:~/install/ring-project/daemon/bin$ locate hogweed
/home/mattias/install/ring-daemon/contrib/native/nettle/hogweed.pc
/home/mattias/install/ring-daemon/contrib/native/nettle/hogweed.pc.in
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.a
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.map
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.map.in
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.stamp
/home/mattias/install/ring-daemon/contrib/native/nettle/examples/hogweed-benchmark.c
/home/mattias/install/ring-daemon/contrib/x86_64-linux-gnu/lib/libhogweed.a
/home/mattias/install/ring-daemon/contrib/x86_64-linux-gnu/lib/pkgconfig/hogweed.pc
/usr/lib/x86_64-linux-gnu/libhogweed.a
/usr/lib/x86_64-linux-gnu/libhogweed.so
/usr/lib/x86_64-linux-gnu/libhogweed.so.4
/usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
/usr/lib/x86_64-linux-gnu/pkgconfig/hogweed.pc
/usr/share/doc/libhogweed
Did I remove too many packages? or should I set the LD_LIBRARY_PATH
manually?
Date: Mon, 20 Jun 2016 10:12:53 -0400 (EDT)
From: Stepan Salenikovich<stepan.salenikov...@savoirfairelinux.com>
To:ring@lists.savoirfairelinux.net
Subject: Re: [Ring] error building ring daemon
Message-ID:
<1226891494.47595.1466431973728.javamail.zim...@savoirfairelinux.com>
Content-Type: text/plain; charset=utf-8
----- On Jun 18, 2016, at 1:01 PM, mattiasmatt...@biomatt.nl wrote:
Hi,
I am using the make-ring.py script to build the ring daemon and client.
After a while I get this error:
mattias@mattias-laptop:~/install/ring-project/daemon/bin$ make
Making all in dbus
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make all-am
make[2]: Entering directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[1]: Leaving directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin'
CXXLD dring
/usr/bin/ld:
/home/mattias/install/ring-project/daemon/contrib/x86_64-linux-gnu/lib/libgnutls.a(pk.o):
undefined reference to symbol 'nettle_dsa_sign@@HOGWEED_4'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libhogweed.so: error
adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:585: recipe for target 'dring' failed
make[1]: *** [dring] Error 1
make[1]: Leaving directory '/home/mattias/install/ring-project/daemon/bin'
Makefile:678: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I am running Ubuntu 15.10. Any idea why there is this message about the
dynamic shared object? Are some libraries missing. Any help interpreting
and solving this issue is welcome.
Hmm, this possibly looks like this bug:
https://tuleap.ring.cx/plugins/tracker/?aid=783
Do you have the 'gnutls-dev' package installed on your system? If you do, could
you try
removing it and re-building and see if it works. It seems like an issue with
our contrib
system, so if you need this package and can't remove it you may not be able to
build the
daemon from source until we fix it.
Mattias
_______________________________________________
Ring mailing list
Ring@lists.savoirfairelinux.net
https://lists.savoirfairelinux.net/mailman/listinfo/ring
_______________________________________________
Ring mailing list
Ring@lists.savoirfairelinux.net
https://lists.savoirfairelinux.net/mailman/listinfo/ring