Link to home
Start Free TrialLog in
Avatar of tknayak
tknayak

asked on

Sybase client not recognising PATH on windows

I conenct to a remote server (Win2K). And I am trying to use a GUI sybase client (RapidSQL) to connect to the ASE server. The open client library is installed in C:\Sybase.

I do not have permission to write in that directory. So to use my own sql.ini file, I changed the SYBASE environment variable to D:\Sybase (which I have the permission to write). I kept my own sql.ini file in D:\Sybase\ini directory. But I kept the PATH as "C:\Sybase\dll;%PATH%;" and Lib as "C:\Sybase\Lib;%LIB%;". The problem is the client recognises the sql.ini file. But gives an error like "Can not load open client library. please check that libct.dll and libcs.dll exists in Path...". They do exist in C:\Sybase\lib.

What could be the issue?

TIA
Avatar of ChrisKing
ChrisKing

You have mentioned "C:\Sybase" and "D:\Sybase" directories (confusing)

Your SQL.INI file *MUST* be stored in %SYBASE%\ini\sql.ini

What is your SYBASE environment variable set to ?
and what version are you using (you don't seem to have the OCS directories)
and did you copy the "dll", "bin", etc directories over too ?
Avatar of tknayak

ASKER

No I did not copy them as I have given the environment variable Path as C:\Sybase\dll and Lib as C:\Sybase\lib
no, libraries are loaded form the %SYBASE%\lib (which should match your path too or you may run into other issues)
ASKER CERTIFIED SOLUTION
Avatar of ChrisKing
ChrisKing

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial