-
m-relay
<syntheticbird:monero.social> On a fresh arch container, it seems like cmake/FindSodium.cmake requires to change "Sodium" to "libsodium" for Arch to work
-
m-relay
<syntheticbird:monero.social> cmake to work*
-
m-relay
<syntheticbird:monero.social> never mind linker error
-
m-relay
<syntheticbird:monero.social> I cannot get it to work with `cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release`. I get:
-
m-relay
<syntheticbird:monero.social> ```
-
m-relay
<syntheticbird:monero.social> CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
-
m-relay
<syntheticbird:monero.social> Could NOT find Sodium (missing: sodium_LIBRARY_RELEASE
-
m-relay
<syntheticbird:monero.social> sodium_LIBRARY_DEBUG)
-
m-relay
<syntheticbird:monero.social> Call Stack (most recent call first):
-
m-relay
<syntheticbird:monero.social> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
-
m-relay
<syntheticbird:monero.social> cmake/FindSodium.cmake:227 (find_package_handle_standard_args)
-
m-relay
<syntheticbird:monero.social> CMakeLists.txt:1132 (find_package)
-
m-relay
<syntheticbird:monero.social> ```
-
m-relay
<syntheticbird:monero.social> Also yes I have `libsodium` installed
-
m-relay
<jeffro256:monero.social> Do you have pkg-config installed?
-
m-relay
<syntheticbird:monero.social> yes
-
m-relay
<syntheticbird:monero.social> `warning: pkg-config-2.4.3-1 is up to date -- reinstalling`
-
m-relay
<syntheticbird:monero.social> I'll open an issue on github
-
m-relay
<syntheticbird:monero.social>
monero-project/monero #9907
-
m-relay
<syntheticbird:monero.social> opened
-
m-relay
<ofrnxmr:xmr.mx> but the ci passes tho
-
m-relay
<tobtoht:monero.social> SyntheticBird: I can't reproduce in a fresh archlinux container.
-
m-relay
<syntheticbird:monero.social> what
-
m-relay
<syntheticbird:monero.social> I tested on a LXC container, not a docker container
-
m-relay
<syntheticbird:monero.social> i'll pull the docker image rq
-
m-relay
<syntheticbird:monero.social> tobtoht: Can confirm it works on both fresh docker & lxc container. The issue is that after cloning the repository i attempted to compile it with `-DSTATIC=ON` at the beginning, upon the error tried narrowing down by regenerating cmake config again but apparently it do not clean pior attempt automatically so I have to erase the repository. Re-cloned it, Compile great, as long as `-DSTATIC=OFF` ig.
-
m-relay
<syntheticbird:monero.social> I suppose arch linux do not ship libsodium.a, only libsodium.so
-
m-relay
-
m-relay
<syntheticbird:monero.social> Arch Linux fault as always
-
m-relay
<syntheticbird:monero.social> resolved
-
m-relay
<syntheticbird:monero.social> Nevermind `libsodium-static` don't resolve it I typed `make` which just reset the configuration HAHAHAHAHA I LOVE C++ I WANT TO SUICIDE
-
m-relay
<imprevisto:matrix.org> why do you say "fault" - fault vs what?
-
m-relay
<321bob321:monero.social> Operator error
-
m-relay
<imprevisto:matrix.org> also, teenage suicide, don't do it
-
m-relay
<x3cc:nope.chat> I thought synthbird is a middle aged man
-
m-relay
<ofrnxmr:xmr.mx> Monero Offtopic