Hello, I want to access via ruby in 64 bit on the sybase-db (os is windows). And get the following error: "Could not load SQLAnywhere DBCAPI library". What can be the reason for this? The path details should fit. Thanks and Greetings Pascal |
Hello, I want to access via ruby in 64 bit on the sybase-db (os is windows). And get the following error: "Could not load SQLAnywhere DBCAPI library". What can be the reason for this? The path details should fit. Thanks and Greetings Pascal |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Question tags:
question asked: 14 Aug '17, 07:49
question was seen: 1,714 times
last updated: 16 Aug '17, 05:35
do you have the 32 or 64-bit installation of SA?
here is a small copy-paste from dcx.sap.com:
it is an 64 bit installation, but with all the 32 bit items. the bin32 and the bin64 path is in the path-variable. i also do that:
Any Idea???
Thanks, Pascal
As Vlad has asked: Are the mentioned DLLs like dbcapi.dll in the according %SQLANY17%\bin64 subdirectory?
yes, they are there...
You said ... the bin32 and the bin64 path is in the path-variable ... which makes me think that you have these folders listed in that order (32-bit first, then 64-bit). Try listing them in the reverse order or, better yet, if you are using 64-bit software don't include the 32-bit folder in PATH.
Is there a particular reason the question is downvoted (twice)?
Thank you Mr. Barth, this question is justified ...
A small update. If I use Ruby in version 2.3.3 as 64 bit, then everything works fine.
Here I use the "old" DevKit to build / install the GEM, and this seems to work.
With Ruby 2.4.1 in 64 bit and the supplied MySYS2 Toolkit there are seemingly problems to build / install the GEM error-free.
Many greetings, Pascal