FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADSODBC and OpenSSL
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
ADSODBC and OpenSSL
Posted: Thu Mar 20, 2025 07:54 PM
Hello everyone;

Is anyone connecting to an Advantage Database data dictionary using ODBC?

I'm having problems trying to connect using an ODBC DNS entry. I'm using ADSODBC and ADSODBC64 from ADS ver 10.10. Here is the error:
Connection failed: [iAnywhere Solutions][Advantage SQL][ASA] Error 7160: Unable to find or load one of the OpenSSL libraries. axServerConnect
The help file describes 7160 error as:
Problem: Advantage Database Server was not able to load the OpenSSL libraries. In order to use AES encryption or TLS communications, you must have the FIPS Encryption Security Option available.
Solution: If the libraries are available, verify that they are in a path location that the server can access.
Obviously the connect function is not finding the appropriate SSL .dlls but I have no idea which version is it that works or where to place these files.

Can someone help?

Thank you.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADSODBC and OpenSSL
Posted: Fri Mar 21, 2025 10:32 PM
Dear Reinaldo,
Place the OpenSSL DLLs in a location where the system or ADSODBC driver can find them. Here are some common locations to check:
The same directory as the ODBC driver (adsodbc.dll).
A system-wide location like C:\Windows\System32\ for 64-bit or C:\Windows\SysWow64\ for 32-bit.
Alternatively, you can add the directory containing the OpenSSL DLLs to your system's PATH environment variable.
Ensure that you're using a version of OpenSSL that's compatible with Advantage Database Server (ADS) 10.10. The OpenSSL libraries should match the version that ADS expects for encryption (AES, TLS, etc.).
Advantage Database typically uses OpenSSL 1.0.x, so using a newer or incompatible version (like OpenSSL 1.1.x or OpenSSL 3.x) could cause issues.
For ADS 10.10, you need OpenSSL libraries in the 0.9.8 series (similar to what's used in ADS 11.10)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: ADSODBC and OpenSSL
Posted: Sat Mar 22, 2025 01:35 AM
Hi, it's better to use OleDb.
Look at this link which has options to connect to the AdvantageDatabase Server in several ways.

https://www.connectionstrings.com/sybase-advantage/

Continue the discussion