Re: Compiling in OpenBSD: cannot find libsodium

2021-06-26 Thread Schanzenbach, Martin
Hi anoduck,

I think we did not include --with-sodium switches.
Can you try setting
$ export CFLAGS="$CFLAGS -I/usr/local/include"

and

$ export LDFLAGS="$LDFLAGS -L/usr/local/lib"
$ ./configure --prefix=...

to see if that at least fixes your build?

BR
Martin

> On 26. Jun 2021, at 04:25, anoduck  wrote:
> 
> During the `/configure --prefix=$GNUNET_PREFIX/..` command, configure cannot 
> not locate libsodium. Libsodium is located in 
> `/usr/local/lib/libsodium.so.24.0` which is the same as the gnunet prefix. I 
> tried using `--with-libsodium=/usr/local/lib` which didn't work, then I tried 
> using the `--ldflags` which didn't work, and I also tried using `-L` that 
> didn't work. I cannot remember how I should reference the location of the 
> sodium library to successfully achieve setup for compilation.
> 
> Thanks,
> anoduck
> 
> Sent with ProtonMail Secure Email.
> 



signature.asc
Description: Message signed with OpenPGP


Compiling in OpenBSD: cannot find libsodium

2021-06-26 Thread anoduck
During the `/configure --prefix=$GNUNET_PREFIX/..` command, configure cannot 
not locate libsodium. Libsodium is located in 
`/usr/local/lib/libsodium.so.24.0` which is the same as the gnunet prefix. I 
tried using `--with-libsodium=/usr/local/lib` which didn't work, then I tried 
using the `--ldflags` which didn't work, and I also tried using `-L` that 
didn't work. I cannot remember how I should reference the location of the 
sodium library to successfully achieve setup for compilation.

Thanks,
anoduck

Sent with [ProtonMail](https://protonmail.com/) Secure Email.