Package Details: libsodium-static 1.0.20-1

Git Clone URL: https://aur.archlinux.org/libsodium-static.git (read-only, click to copy)
Package Base: libsodium-static
Description: P(ortable|ackageable) NaCl-based crypto library (static library)
Upstream URL: https://github.com/jedisct1/libsodium
Licenses: custom:ISC
Submitter: kosaka
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 2
Popularity: 0.000000
First Submitted: 2016-06-18 08:05 (UTC)
Last Updated: 2024-06-10 04:09 (UTC)

Dependencies (1)

Sources (1)

Latest Comments

pizzaman commented on 2021-05-28 08:10 (UTC)

When using the library I was getting :

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libbls-dash.a(libsodium_la-randombytes.o): warning: relocation against `randombytes_sysrandom_implementation' in read-only section `.text'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libbls-dash.a(libsodium_la-randombytes.o): relocation R_X86_64_PC32 against symbol `randombytes_sysrandom_implementation' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value

The solution is to add --disable-pie to ./configure as shown in: https://github.com/jedisct1/libsodium/issues/292

pizzaman commented on 2019-10-21 12:30 (UTC)

@momu Fixed. Thanks.

momu commented on 2019-10-21 09:03 (UTC) (edited on 2019-10-21 09:04 (UTC) by momu)

I encounter an error when I try to build this package.

==> Making package: libsodium-static 1.0.18-1 (Mon 21 Oct 2019 10:58:56 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading libsodium-1.0.18-stable.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1809k  100 1809k    0     0   457k      0  0:00:03  0:00:03 --:--:--  457k
==> Validating source files with sha512sums...
    libsodium-1.0.18-stable.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
warning: package libsodium-static failed to build, skipping