I installed SQL Anywhere 16. How to solve the following issue?
asked 16 Dec '14, 16:17 denpetrov |
This is because sqlanydb is looking for the 32-bit version of dbcapi.dll which is not installed if you've only installed the 64-bit version of SQLAny. Try reinstalling and selecting both versions. answered 17 Dec '14, 03:06 Mike Killey Mike, thanks. I re-installed (run uninstall.sh from /Applications/SQLAnywhere16/), but it doesn't work. My system is Mac OS X 10.10.
(17 Dec '14, 04:40)
denpetrov
1
Have you sourced the sa_config.sh file, which will be in: ./Applications/SQLAnywhere16/System/bin32/sa_config.sh or somewhere similar to that?
(17 Dec '14, 04:57)
Mike Killey
$ cd /Applications/SQLAnywhere16/System/bin32/ $ pwd /Applications/SQLAnywhere16/System/bin32 $ chmod +x sa_config.sh $ ./sa_config.sh It does not show any message. What should be in the output?
(17 Dec '14, 05:40)
denpetrov
I'm not near a 'nix box at the moment, but I don't think there should be any output. What happens now if you try to import sqlanydb in the Python REPL?
(17 Dec '14, 06:14)
Mike Killey
Comment Text Removed
Comment Text Removed
Comment Text Removed
|
You can't execute it this way; this creates a new shell (environment), sets a bunch of environment variables, and then drops the environment, and so it has no effect. Use " answered 17 Dec '14, 06:48 Graeme Perrow Nick Elson S... 1
$ . /Applications/SQLAnywhere16/System/bin32/sa_config.sh It seems to work. Mike and Graeme, thanks!
(17 Dec '14, 07:20)
denpetrov
|
I have the same problem. I have sourced that .sh file and both 32 and 64 bit are installed and available in the path. Though it doesn't work. Any ideas? Mac os X 10.10 answered 12 Feb '15, 18:39 Memento Did you execute the command in the way Graeme Perrow proposed?
(12 Feb '15, 19:46)
denpetrov
|