I'm trying to use the command:
gcc -I${HOME}/usr/include -L${HOME}/usr/lib -lsodium test.c
but when I try and run a.out it gives the error:
./a.out: error while loading shared libraries: libsodium.so.4: cannot open shared object file: No such file or directory
but libsodium.so.4 is definitely in the ${HOME}/usr/lib directory. What's going on? test.c is just
#include <stdio.h>
#include "sodium.h"
int main(int argc, char** argv)
{ return (0); }