-
Notifications
You must be signed in to change notification settings - Fork 643
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
在ubuntu下make编译,发现一个bug #22
Comments
我也出现了。。。好像有的gcc会自动带-ldl吧。。。加-ldl就OK了。 |
恩,确实,makefile 里面就linux 的没有加,其他的选项都有。 |
请问是在makefile的哪一句后加-ldl…… |
makefile在哪里找啊 |
这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
系统环境: ubuntu13.10
在编译的时候,报错
/usr/bin/ld: /usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
然后,在makefile中加入了 -ldl 这句话,就好使了。
似乎只是一个未链接库的问题。
The text was updated successfully, but these errors were encountered: