Coder Social home page Coder Social logo

"make" encounter error about dnsproxy HOT 5 CLOSED

fantuz avatar fantuz commented on August 23, 2024
"make" encounter error

from dnsproxy.

Comments (5)

fantuz avatar fantuz commented on August 23, 2024

hello @luckypoem did you try pulling again the repo ?
I had commit wrong code-base, excuse me !

Let me know if I can help,
Best regards,
Max

from dnsproxy.

luckypoem avatar luckypoem commented on August 23, 2024

hi,

yudeMacBook-Air:DNSProxy-by-fantuz brite$ make
gcc -w -c dnsp.c
gcc dnsp.o -O2 -Wall -W -pedantic -g -rdynamic -DTLS -lcurl -lrt -lnghttp2 -lssl -lbrotlidec -lz -lcrypto -lpthread -w -o dnsp
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dnsp] Error 1
yudeMacBook-Air:DNSProxy-by-fantuz brite$

i recloned the repo,but
still the same error,
how to fix it?
tks

from dnsproxy.

fantuz avatar fantuz commented on August 23, 2024

Hello @luckypoem try removing the RT flag
You can edit makefile and suppress "-lrt"

do not have a MACOS in hands to test ...

from dnsproxy.

fantuz avatar fantuz commented on August 23, 2024

hello @luckypoem please try again and follow updated README instructions !

best regards
Max

from dnsproxy.

fantuz avatar fantuz commented on August 23, 2024

Build and Install

Build is easy on Linux, Mac, UNIX and probably even Windows; DNSProxy is based
on CURL C library, pthread, SSL/TLS and various other strong standards.
A recent version of CURL is needed to leverage HTTP/2 capabilities (aka nghttp2).

sudo apt-get install libcurl4-openssl-dev curl libsslcommon2-dev \
libssl-dev ca-certs brotli gnutls-bin openssl libtlsh-dev
git clone https://github.com/clibs/clib.git /tmp/clib
cd /tmp/clib
sudo make install
sudo clib install littlstar/b64.c
sudo clib install jwerle/libok

Once done with pre-requisites, you will be able to compile by running:

make

from dnsproxy.

Related Issues (7)

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.