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

Oracle instant client and sqlplus failed to run #1026

Closed
xychenmsn opened this issue Aug 31, 2016 · 3 comments
Closed

Oracle instant client and sqlplus failed to run #1026

xychenmsn opened this issue Aug 31, 2016 · 3 comments

Comments

@xychenmsn
Copy link

I installed oracle instant client and oracle sqlplus but they fail to run. The installation process is from (https://help.ubuntu.com/community/Oracle%20Instant%20Client). I tested this on a real ubuntu 14.04 64bit machine which worked perfect. But when I run on bash for windows, I get:
sqlplus: error while loading shared libraries: libclntsh.so.12.1: cannot enable executable stack as shared object requires: Invalid argument

OS Name Microsoft Windows 10 Home
Version 10.0.14393 Build 14393

To reproduce the error, you have to following the installation guide and then run: sqlplus

@stehufntdev
Copy link
Collaborator

Thanks for reporting the issue. This is the same root cause as #286 so closing this out as a duplicate. Please give us feedback on the user voice page so we can prioritize.

@xychenmsn
Copy link
Author

which item on user voice page points to this issue?


发件人: stehufntdev [email protected]
发送时间: 2016年8月31日 11:59
收件人: Microsoft/BashOnWindows
抄送: xychenmsn; Author
主题: Re: [Microsoft/BashOnWindows] Oracle instant client and sqlplus failed to run (#1026)

Thanks for reporting the issue. This is the same root cause as #286#286 so closing this out as a duplicate. Please give us feedback on the user voice pagehttps://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/filters/top so we can prioritize.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1026#issuecomment-243811755, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AACcsnv1sBUdPQH8SR51jJhKTycXf_A_ks5qlaTZgaJpZM4Jxmmp.

@jacobrillema
Copy link

jacobrillema commented Sep 3, 2016

I haven't fully tested this all the way through but I was able to get past the exec stack error with this.

sudo apt-get install prelink
sudo execstack -s /usr/lib/oracle/12.1/client64/bin/sqlplus

Also I am on the Win10 Anniversary RTM release, not on the current insider builds. This was a nice little python script that helps the install on Ubuntu. I did verify this worked as well.

https://github.com/eikonomega/oracle_instant_client_for_ubuntu_64bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants