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

/usr/lib/libtcmalloc.minimal.so.4 要求GLIBCXX_3.4.21 但是在ByLabel/lib/libstdc++.so.6里没有3.4.21 #4

Open
yaochenglouis opened this issue Aug 28, 2019 · 1 comment

Comments

@yaochenglouis
Copy link

我在终端运行./bylabel的时候出现了如题所示的错误,csdn StackOverflow看了很多帖子都没有解决这个问题。
/usr/lib/x86_64-linux-gnu/ 里的libstdc++.so.6.0.27都是有GLIBCXX 3.4.21的
总之能升级的都升级了,然而还是出这个错

@xuebinqin
Copy link
Owner

有如下两种方法可以尝试:
(1)安转一个Ubuntu 14.04或者16.04 64bit的虚拟机,在里面跑试一下,
(2) 你也可以尝试自己编译以下,首先将Makefile的line 17改成:$(lnk) $(dbg) -o bylabel $(objRRC) pkg-config --libs opencv EDLib.a EDLinesLib.a (因为我们之前的Makefile用的是静态编译,我们把所有依赖库都加进去了,但是其实如果你重新动态编译,这些库都是不需要的),然后make一下试试,但是在make编译之前需要安装opencv 2.4.9或者之后的版本,而且在安装的时候需要,保持QT=enable,否则无法通过鼠标滚轮缩放图片。

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