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

依赖特定版本的Glib? #4

Open
jimmydong opened this issue Nov 23, 2017 · 1 comment
Open

依赖特定版本的Glib? #4

jimmydong opened this issue Nov 23, 2017 · 1 comment

Comments

@jimmydong
Copy link

/usr/bin/ld: /usr/lib64/libglib-2.0.a(libglib_2_0_la-gthread-posix.o): undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12'

静态编译报错。

@mark-neil-wang
Copy link
Collaborator

那你动态编译吧。
静态编译方式,需要你确认lib包的位置,你有这个包吗? /usr/lib64/libglib-2.0.a

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