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

symbol not found #1

Closed
colinlabs opened this issue Apr 8, 2017 · 2 comments
Closed

symbol not found #1

colinlabs opened this issue Apr 8, 2017 · 2 comments

Comments

@colinlabs
Copy link

hi guys, I try to running cx_Oracle and get this error:

/usr/lib/instantclient_12_1 # ldd libclntsh.so.12.1
	ldd (0x55d74fa77000)
	libmql1.so => /usr/lib/instantclient_12_1/libmql1.so (0x7efc72e46000)
	libipc1.so => /usr/lib/instantclient_12_1/libipc1.so (0x7efc72ac8000)
	libnnz12.so => /usr/lib/instantclient_12_1/libnnz12.so (0x7efc723be000)
	libons.so => /usr/lib/instantclient_12_1/libons.so (0x7efc72179000)
	libdl.so.2 => ldd (0x55d74fa77000)
	libm.so.6 => ldd (0x55d74fa77000)
	libpthread.so.0 => ldd (0x55d74fa77000)
Error loading shared library libnsl.so.1: No such file or directory (needed by libclntsh.so.12.1)
	librt.so.1 => ldd (0x55d74fa77000)
	libc.so.6 => ldd (0x55d74fa77000)
	ld-linux-x86-64.so.2 => /lib/ld-linux-x86-64.so.2 (0x7efc71f54000)
	libaio.so.1 => /usr/lib/libaio.so.1 (0x7efc71d52000)
	libclntshcore.so.12.1 => /usr/lib/instantclient_12_1/libclntshcore.so.12.1 (0x7efc717e0000)
Error loading shared library libnsl.so.1: No such file or directory (needed by /usr/lib/instantclient_12_1/libclntshcore.so.12.1)
Error relocating /usr/lib/instantclient_12_1/libipc1.so: __cmsg_nxthdr: symbol not found
Error relocating libclntsh.so.12.1: canonicalize_file_name: symbol not found
Error relocating libclntsh.so.12.1: getcontext: symbol not found
Error relocating libclntsh.so.12.1: bindresvport: symbol not found
Error relocating libclntsh.so.12.1: __finite: symbol not found
@asg1612
Copy link
Owner

asg1612 commented Apr 10, 2017

Hi,
It is a alpine-glibc problem.
gliderlabs/docker-alpine#149

I created a version based on Ubuntu. With Ubuntu container I haven't this issue. Please check it.
https://github.com/asg1612/docker-ubuntu-oracle-instantclient.git
https://hub.docker.com/r/asg1612/docker-ubuntu-oracle-instantclient/

@asg1612 asg1612 closed this as completed Apr 10, 2017
@colinlabs
Copy link
Author

Hi,
i have tried debian and ubuntu image, it work will. only alpine doesn't work!! maybe musl libc problem!

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