Re: missing gnunetspeaker: gnunet-gtk requires GNUnet

"Schanzenbach, Martin" <[email protected]> Mon, 24 Aug 2020 09:26:20 +0200
Newsgroups gmane.network.gnunet.general
Message-ID <[email protected]>
Hi,

I wonder why your directory is "lib64"...
Maybe try adding a symlink from ~/gnunet/lib to ~/gnunet/lib64.
That should make configure discover gnunet.

BR

> On 22. Aug 2020, at 14:08, Mateusz Viste <[email protected]> wrote:
> 
> Hello Martin,
> 
> Thanks for your input!
> 
> On 22/08/2020 11:25, Schanzenbach, Martin wrote:
>> The reason libgnunetspeaker is not installed is because you likely missed dependencies for it when compiling gnunet.
> 
> I was half expecting it, yes - but looking at the output of the configure script it wasn't really explicit, hence I was in doubt (I even grepped through the configure result looking for anything speaker-related, but with no match). I did spot however these little things being output on stderr:
> 
> configure: WARNING: libpulse not found
> configure: WARNING: libopus not found
> configure: WARNING: libogg not found
> 
> I installed the headers for these packages and... miracle! The libgnunetspeaker library got built and has been installed :)
> 
> $ ll /home/mateusz/gnunet/lib64/libgnunetspeaker*
> -rwxr-xr-x 1 mateusz users  1123 Aug 22 13:36 /home/mateusz/gnunet/lib64/libgnunetspeaker.la
> lrwxrwxrwx 1 mateusz users    25 Aug 22 13:36 /home/mateusz/gnunet/lib64/libgnunetspeaker.so -> libgnunetspeaker.so.0.0.0
> lrwxrwxrwx 1 mateusz users    25 Aug 22 13:36 /home/mateusz/gnunet/lib64/libgnunetspeaker.so.0 -> libgnunetspeaker.so.0.0.0
> -rwxr-xr-x 1 mateusz users 18304 Aug 22 13:36 /home/mateusz/gnunet/lib64/libgnunetspeaker.so.0.0.0
> 
> gnunetgtk still doesn't pass the configure process, though (still unable to find libgnunetspeaker, even though the file exists now):
> 
> $ export LD_LIBRARY_PATH=/home/mateusz/gnunet/lib64
> $ sudo ldconfig
> $ /configure --prefix=/home/mateusz/gnunet --disable-nls --with-gnunet=/home/mateusz/gnunet/
> (...)
> checking gnutls/abstract.h presence... yes
> checking for gnutls/abstract.h... yes
> checking for gnutls_pubkey_import in -lgnutls... yes
> checking for GNUnet core... /home/mateusz/gnunet/
> checking for GNUnet util library in /home/mateusz/gnunet... checking for gnunet/gnunet_util_lib.h... yes
> checking for GNUNET_xfree_ in -lgnunetutil... no
> checking for gnunet/gnunet_conversation_service.h... yes
> checking for GNUNET_SPEAKER_destroy in -lgnunetspeaker... no
> configure: error: gnunet-gtk requires GNUnet
> 
> I imagine this is not really a gnunet problem and might be related to the fact that I am installing the libs in a custom location, so perhaps the linker is unable to find the libs... I will fiddle more with this. Important thing is that the libraries are getting built alright. Thanks for the good pointers!
> 
> best,
> Mateusz
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPREGPBD5jRS9JNFHCwmY74b1m2oFAl9Da5wACgkQCwmY74b1
m2p2Sw//fbn4AA6jzmTijRhI6kwePID7MKpqq4VLLbcwZvNPBjM38S8lzqJEf015
HPvb3Y0PPF8JFiQ3KDQmKUcfL1pRyR6EmI/GBImltusOkym7sRXvF81jR+BhoSVe
KcnfolOFG9jhnSYXDApfj1O5QWNdHgyz7LlbK7WqHCDOIMDOMFVaabvdygUHLc3l
lz0GL8Sj7d9C1gL0S+2ffSgxvl3P0n5R3B7Qw2Oc3hDbWwPYLhTuvGHg2Aoq9Q8p
fUDrumEDbFCKvK/HWjUErKsIWCSg2Y4zXRGsDdd7HaLk6dVp9cw74Ce9kFpMrek9
OrOhZicEJxGkNzbfT6sF0HqXVx4PJcfIMZaHZUpm8a9YfRFN+RoEXJdoxHKl6vgU
n9c3z5PRZaXyHe279w47SaDFoBivwz9GmAa48LnnFnGDf3iQEE1AfK6Ojp6DK3fC
vk1a/OCMa5Mbupz/NluxueTL7xRg3ql97i6EdP7RV5wujpfzU7ZLhpGfGUzx1VrZ
J/L1sNusgN+uBAFVKte7Zs7jhrtklK9XBQs4ty5Po4fySvar/KxpqHP1M26YtlEp
6/YkUFkctxCWr0w3leGVgQ1ircMQjh5bqQmPO0InKQsvCqm5peaMFFHqGljyj4Gp
AhWgRFdOFCbWbKw0AMG/YKkSAkhEIUzMnAEr379IFIrWgPh2Y1Q=
=CaqR
-----END PGP SIGNATURE-----