Re: [chrony-users] Problem with authentication algorithm

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Mon, Oct 19, 2015 at 02:15:06PM +0200, Steven Liegaux wrote:
> root@client-chrony:/tmp# pkg-config --cflags --libs nss
> -I/usr/include/nss -I/usr/include/nspr  -lnss3 -lnssutil3 -lsmime3 -lssl3
> -lplds4 -lplc4 -lnspr4

Hm, this looks ok, so I'm not sure why the test in config.log doesn't
include them.

> Same problem in config.log
> 
> docheck.c:
> #include <nss.h>
> #include <hasht.h>
> #include <nsslowhash.h>
> int main(int argc, char **argv) {
> NSSLOWHASH_Begin(NSSLOWHASH_NewContext(NSSLOW_Init(), HASH_AlgSHA512));
> return 0; }
> gcc -O2 -g -Wmissing-prototypes -Wall -pthread -I/usr/include/nss
> -I/usr/include/nss -I/usr/include/nspr -o docheck docheck.c -lfreebl3
> /usr/bin/ld: cannot find -lfreebl3
> collect2: error: ld returned 1 exit status

This looks like a problem with linking now. You can try setting
LDFLAGS to "-L<dir>", where <dir> is the directory where libfreebl3.so
is placed. Is it not in /usr/lib* ?

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/