on 2012 Jun 28 6:01 AM
Hello,
Attempts to run interactive sql from a command line on a linux server are failing:
> dbisql -bash: /opt/sqlanywhere12/bin32/dbisql: file not found
Yet the file dbisql does exist.
'source'ing does not fix the problem.
This is a fresh install (ga1201, ubuntu12). Other command line utilities work normally (dblocate, dbinit, etc).
I'm puzzled. Any suggestions?
(Edit: more information)
> . /opt/sqlanywhere12/bin64/sa_config.sh iAnywhere Solutions, Inc. One Sybase Drive, Dublin, CA 94568, USA Copyright (c) 2001-2011, iAnywhere Solutions, Inc. Portions copyright (c) 1988-2011, Sybase, Inc. All rights reserved. All unpublished rights reserved. > which dbisql /opt/sqlanywhere12/bin32/dbisql > dbisql -bash: /opt/sqlanywhere12/bin32/dbisql: No such file or directory > ls -al /opt/sqlanywhere12/bin32/dbisql -r-xr-xr-x 1 root root 340236 Jun 28 19:20 /opt/sqlanywhere12/bin32/dbisql
Documentation says (readme_en.txt in install bundle) and online:
"On 64-bit Linux distributions, you must install the 32-bit compatibility libraries if you want to use the administration tools. In particular, the 32-bit X11 libraries are required. On Ubuntu, run:
sudo apt-get install ia32-libs
This solved the issue.
> dbisql -nogui (Not Connected)>
dbisql was never missing. dbisql was running but couldn't find some file that was in the 32bit libs.
A more descriptive error message saying which file was missing would be helpful for people like me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ironically, I am the one that added that readme item, but I too did not recognize/connect the error message with that problem. I thought about it after my original post, but you had alrady figured it out.
I've added the error message you provided to the readme item, to hopefully help people who run into this in the future. Thanks for providing that!
User | Count |
---|---|
79 | |
11 | |
10 | |
10 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.