Giter Site home page Giter Site logo

Comments (10)

L0T8 avatar L0T8 commented on July 29, 2024 2

UPDATE

IT WORKS!! @MossNotFound

Here's how...

  1. Run this apt command.
sudo apt install pkg-config
  1. Compile Unbound by running a ./configure... line

  2. Done!

I figured it out after reading how PKG_CHECK_MODULES works. It requires pkg-config which doesn't come with a fresh install of Linux (DietPi Debian bullseye for me).

from adguard-wireguard-unbound-dnscrypt.

trinib avatar trinib commented on July 29, 2024 2

UPDATE

IT WORKS!! @MossNotFound

Here's how...

1. Run this apt command.
sudo apt install pkg-config
2. Compile Unbound by running a ./configure... line

3. Done!

I figured it out after reading how PKG_CHECK_MODULES works. It requires pkg-config which doesn't come with a fresh install of Linux (DietPi Debian bullseye for me).

good one . yes dietpi misses alot of package to make a lite OS.

from adguard-wireguard-unbound-dnscrypt.

L0T8 avatar L0T8 commented on July 29, 2024 1

I have the same problem as above. I'm running DietPi v8.16.2 x86_64 (Debian 11 bullseye) via VirtualBox on my Mac. Tried both systemd (247.3-7+deb11u1) and systemd (252.5-2~bpo11+1) to no avail. Also tried libudev-dev and libsystemd-dev in both bullseye and bullseye-backport.

Take a look at line 11 and line 19 to 26 in https://github.com/NLnetLabs/unbound/blob/master/systemd.m4

Line 11:

PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], [have_systemd=no])

Line 19 - 26:

	AS_CASE([$enable_systemd:$have_systemd],
	[yes:no],
		[AC_MSG_ERROR([systemd enabled but libsystemd not found])],
	[*:yes],
		[AC_DEFINE([HAVE_SYSTEMD], [1], [Define to 1 if systemd should be used])
		LIBS="$LIBS $SYSTEMD_LIBS"
		]
	)

It seems that it's not detecting libsystemd correctly. 🤔

from adguard-wireguard-unbound-dnscrypt.

welcome avatar welcome commented on July 29, 2024

Thanks for opening your first issue here 🙋🕵️


from adguard-wireguard-unbound-dnscrypt.

trinib avatar trinib commented on July 29, 2024

try installing

sudo apt-get install libudev-dev

from adguard-wireguard-unbound-dnscrypt.

MossNotFound avatar MossNotFound commented on July 29, 2024

Already installed. Reinstalled for good measure but that still didn't do the trick.
libudev-dev is already the newest version (247.3-7+deb11u1).

from adguard-wireguard-unbound-dnscrypt.

trinib avatar trinib commented on July 29, 2024

@MossNotFound can you install older version systemd to see if that is the issue..

sudo apt install systemd=245.4-4ubuntu3

or build newer versions
https://github.com/systemd/systemd/releases

from adguard-wireguard-unbound-dnscrypt.

MossNotFound avatar MossNotFound commented on July 29, 2024

can't seem to get that command working on any ubuntu version so I just tried on ubuntu 18.04 which had a version of like 239 smth and debian sid with systemd v252.3-2 and still getting the same error, I tried building systemd but the dependencies are such a pain and when I actually got to build it just gave out unsearchable errors. Thinking of just moving everything over to Arch Linux with precompiled Unbound 1.17.0

from adguard-wireguard-unbound-dnscrypt.

MossNotFound avatar MossNotFound commented on July 29, 2024

oh, I just saw that debian sid also has unbound 1.17.0 so my issue is solved now, Thank you for your help.

from adguard-wireguard-unbound-dnscrypt.

trinib avatar trinib commented on July 29, 2024

@MossNotFound I build unbound 1.17.0 with no issues on Debian 11 bullseye. systemd 247 version is installed

from adguard-wireguard-unbound-dnscrypt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.