Giter VIP home page Giter VIP logo

Comments (6)

TerenceCooper avatar TerenceCooper commented on August 16, 2024 1

Prerequisites The following libraries are required.
libevent2 OpenSSL or PolarSSL

debian11的源里面没有libevent2这个包

Please run:

sudo apt install libevent-core-2.1-7 libevent-extra-2.1-7 libevent-dev

Thank you so much, Sir! I was failed building first time, then I installed these packages you mentioned here and built successfully!

from redsocks.

semigodking avatar semigodking commented on August 16, 2024

from redsocks.

wholenewx avatar wholenewx commented on August 16, 2024

根据您的提示,分别在debian和manjaro系统里运行 “make DISABLE_SHADOWSOCKS=1 ENABLE_STATIC=1”,但依然还是错误,

debian的错误是:
In file included from parser.c:29: utils.h:7:10: fatal error: event2/event.h: No such file or directory 7 | #include <event2/event.h> | ^~~~~~~~~~~~~~~~ compilation terminated. make: *** [<builtin>: parser.o] Error 1
Manjaro的错误是:
/usr/bin/ld: 找不到 -levent: 没有那个文件或目录 /usr/bin/ld: 找不到 -lssl: 没有那个文件或目录 /usr/bin/ld: 找不到 -lcrypto: 没有那个文件或目录 /usr/bin/ld: base.o: in function base_init':
base.c:(.text+0x388): 警告:Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: base.c:(.text+0x367): 警告:Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: parser.o: in function vp_in_addr': parser.c:(.text+0x35b): 警告:Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: 错误:ld 返回 1 make: *** [Makefile:153:redsocks2] 错误 1

from redsocks.

rampageX avatar rampageX commented on August 16, 2024

Prerequisites
The following libraries are required.

libevent2
OpenSSL or PolarSSL

from redsocks.

wholenewx avatar wholenewx commented on August 16, 2024

Prerequisites The following libraries are required.

libevent2 OpenSSL or PolarSSL

debian11的源里面没有libevent2这个包

from redsocks.

pic2debug avatar pic2debug commented on August 16, 2024

Prerequisites The following libraries are required.
libevent2 OpenSSL or PolarSSL

debian11的源里面没有libevent2这个包

Please run:

sudo apt install libevent-core-2.1-7 libevent-extra-2.1-7 libevent-dev

from redsocks.

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.