Closed v-p-b closed 1 year ago
-L$(OPRFHOME)
should work. no? or OPRFLIBS?=$(OPRFHOME)
or so
if you agree that this change does this fix the problem please close the issue!
thank you very much!
same error unfortunately
is that on a glibc system or on a musl system? if it is glibc, then we need to call ldconfig.
ah, i get it, it's not linked directly, but only as a dep to libopaque. hmmmm
i solved the wrong problem. /o\
let's see if this one gets through CI and you...
The latest commit had a syntax issue, but showed me the way to fix, so I created a PR.
Currently the Makefile allows specifying the location of the headers of OPRF dependency:
https://github.com/stef/libopaque/blob/a4209e3319718d1c72b9d1c2147ecd03a5e2ff97/src/makefile#L24-L27
However, no logic is implemented to locate the corresponding library files - I would assume that if headers are not in system default directories, neither will be the libs.
Solving static linking seems to be an easy extension of
LIBS
, but somehow dynamic linking gets involved (looking for liboprf.so) and I couldn't resolve this one yet: