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

After build undefined simbols #164

Open
arahnale opened this issue May 12, 2021 · 1 comment
Open

After build undefined simbols #164

arahnale opened this issue May 12, 2021 · 1 comment

Comments

@arahnale
Copy link

Restarting nginx: nginx: [emerg] dlopen() "/usr/lib/nginx/modules/ngx_http_opentracing_module.so" failed (/usr/lib/nginx/modules/ngx_http_opentracing_module.so: undefined symbol: _ZN11opentracing2v329DynamicallyLoadTracingLibraryEPKcRSs)

@arahnale
Copy link
Author

strace :

openat(AT_FDCWD, "/usr/lib/libopentracing.so.1", O_RDONLY|O_CLOEXEC) = 5
...
write(3, "2021/05/12 10:19:26 [emerg] 93988#0: dlopen() \"/usr/lib/nginx/modules/ngx_http_opentracing_module.so\" failed (/usr/lib/nginx/modules/ngx_http_opentracing_module.so: undefined symbol: _ZN11opentracing2v329DynamicallyLoadTracingLibraryEPKcRSs) in /etc/nginx/nginx.conf:8\n", 269) = 269
write(2, "nginx: [emerg] dlopen() \"/usr/lib/nginx/modules/ngx_http_opentracing_module.so\" failed (/usr/lib/nginx/modules/ngx_http_opentracing_module.so: undefined symbol: _ZN11opentracing2v329DynamicallyLoadTracingLibraryEPKcRSs) in /etc/nginx/nginx.conf:8\n", 247nginx: [emerg] dlopen() "/usr/lib/nginx/modules/ngx_http_opentracing_module.so" failed (/usr/lib/nginx/modules/ngx_http_opentracing_module.so: undefined symbol: _ZN11opentracing2v329DynamicallyLoadTracingLibraryEPKcRSs) in /etc/nginx/nginx.conf:8
) = 247

nm

root@2a875f17824b:/build# nm /usr/lib/libopentracing.so.1 | grep DynamicallyLoadTracingLibrary
00000000000126c0 T _ZN11opentracing2v329DynamicallyLoadTracingLibraryEPKcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

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

1 participant