---
title: "How to solve the error \"ct_connect(): protocol specific layer: internal Client Library error: There is a tds login error. The installed encryption handler returned a status that was not CS_SUCCEED\""
description: "The error occurs when the Gateway or Netprobe cannot locate Sybase's lib3p64 folder required for database connection. To resolve it, define the absolute path of the lib3p64 folder in the LD_LIBRARY_PATH environment variable in the start script."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360018530334-geneos-how-to-solve-the-error-ct-connect-protocol-specific-layer-internal-client-library-error-there-is-a-tds-login-error-the-installed-encryption-handler-returned-a-status-that-was-not-cs-succeed/index.html"
---
## Needs lib3p64

This happens when the Gateway/Netprobe cannot find the *lib3p64* folder. To fix this, **absolute path** of Sybase's *lib3p64* folder must be defined in the *LD\_LIBRARY\_PATH* environment variable of the Netprobe/Gateway's start script.

## Background

Starting GA3.8.0, the protocol used by the Gateway and Netprobe to connect to a Sybase database has been modified to support a Sybase database that requires password encryption. The libraries that enable the said protocol are located in Sybase's lib3p64 folder. The libraries are a prerequisite regardless if the database is requiring password encryption or not.


