Comments (8)
You need to specify the OpenSSL include directory
// Path to a file.
OPENSSL_INCLUDE_DIR:PATH=OPENSSL_INCLUDE_DIR-NOTFOUND
from trojan.
@antonchen
不太明白。怎么指定OpenSSL include 目录?在哪里指定?
能把具体命令写出来吗
from trojan.
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/ssl/
Make sure to clean up the build directory before you rerun cmake.
from trojan.
@GreaterFire
this time "cmake .." encounter no error,but then "make" encounter error:
root@yms:/trojan/build# ls/trojan/build# make
CMakeCache.txt cmake_install.cmake Makefile trojan.service
CMakeFiles CTestTestfile.cmake trojan.json
root@yms:
...
collect2: error: ld returned 1 exit status
CMakeFiles/trojan.dir/build.make:335: recipe for target 'trojan' failed
make[2]: *** [trojan] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/trojan.dir/all' failed
make[1]: *** [CMakeFiles/trojan.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
root@yms:~/trojan/build#
how to fix it?
tks
from trojan.
Please provide full compilation log.
P.S. Try to delete all the files in the build directory by rm -rf *
and then cmake & make again.
from trojan.
@GreaterFire
"delete all the files in the build directory by rm -rf * and then cmake & make again", the same result.
very strange.
i update openssl as per this article- https://sb.sb/centos-upgrade-openssl/ ,
isn't the method of updating openssl correct?
from trojan.
and can u pls also provide binary file on linux vps of https://github.com/trojan-gfw/trojan/releases/tag/v0.6.0?
from trojan.
@GreaterFire
我换了一台vps,它里面的openssl的版本已经是1.0.2,这样就能顺利make了
from trojan.
Related Issues (20)
- linux版本是否不支持sse长链接?
- Does the Linux version not support sse long links
- [BUG]
- 自建Trojan节点突然不正常了 HOT 3
- [BUG] 使用自签名证书服务端启动失败
- [Question] iOS implementation
- [Feature Request] 翻墙用户到查20年,影响三代! HOT 11
- 关于tls in tls被识别的情况 HOT 5
- 按照教程配置,一直报错”valid trojan request structure but possibly incorrect password“,求解 HOT 3
- [BUG]
- [BUG]
- [BUG]
- [BUG]
- [BUG]
- 请教一下大神,使用privoxy+trojan,让客户端可以使用http代理的问题
- Question: how can I connect to trojan server on linux?
- 有没有群聊沟通,QQ、微信类的trojan交流群 HOT 1
- [BUG] Setting the "verify" field in ssl section to false, but still got cert file not found error.
- why my trojan server got signal: 2 when I start trojan service?
- [Feature Request] Plan to support Zero Copy for network packets?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trojan.