Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新代码,linux环境编译报错 #218

Open
1121518wo opened this issue May 1, 2022 · 7 comments
Open

最新代码,linux环境编译报错 #218

1121518wo opened this issue May 1, 2022 · 7 comments

Comments

@1121518wo
Copy link

您好,按照给的linux环境编译步骤,最新的代码编译会报错:
/usr/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
../../sdk/gcc.mk:88: recipe for target 'debug.linux/test' failed
make: *** [debug.linux/test] Error 1

@ireader
Copy link
Owner

ireader commented May 2, 2022

错误原因:编译时默认依赖openssl库。

已更新sdk,重新拉sdk代码即可

@1121518wo
Copy link
Author

错误原因:编译时默认依赖openssl库。

已更新sd,重拉sdk智能代码

还是不行,报同样的错误,我更新了sdk

@ireader
Copy link
Owner

ireader commented May 2, 2022

image

确认下sdk/test/Makefile文件是否已更新

@1121518wo
Copy link
Author

我检查了,是更新了
QQ图片20220502110755

@ireader
Copy link
Owner

ireader commented May 2, 2022

试试下面三个命令,不确认是哪个
apt-get install libssl-dev
apt-get install libopenssl-dev
apt-get install openssl-devel

@1121518wo
Copy link
Author

试试下面三个命令,不确认是哪个 apt-get install libssl-dev apt-get install libopenssl-dev apt-get install openssl-devel

好,谢谢您

@1121518wo
Copy link
Author

编译已经解决

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

No branches or pull requests

2 participants