Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

/bin/sh: sys/random.h-t: No such file or directory #195

Open
huoyingyangjie opened this issue Feb 21, 2023 · 3 comments
Open

/bin/sh: sys/random.h-t: No such file or directory #195

huoyingyangjie opened this issue Feb 21, 2023 · 3 comments

Comments

@huoyingyangjie
Copy link

I meet abover error as the build way you metioned in readme.It occured in make stage.I resolved it by add 'sys' directory in lib.

@kravietz
Copy link
Owner

@huoyingyangjie Hi, thank you for the report? What's the operating system version?

@kravietz
Copy link
Owner

All occurrences of random.h seem to already refer through sys:

> rg random.h
libtac/lib/crypt.c
24:#include <sys/random.h>

libtac/lib/header.c
25:#include <sys/random.h>

libtac/include/libtac.h
61:#include <sys/random.h>

configure.ac
85:AC_CHECK_HEADERS([syslog.h unistd.h sys/random.h])

@huoyingyangjie
Copy link
Author

Os version : CentOS Linux release 7.3.1611 (Core)
Gnulib version : HEAD detached at 08ba9aaebf
Earlier, i use glibc2.17 lost sys/random.h in /usr/include, so i upgrade to glibc version: 2.31.
But it still occur this error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants