Sybase client not recognising PATH on windows

Posted on 2006-05-15
Last Modified: 2012-08-13
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?

Question by:tknayak
    LVL 6

    Expert Comment

    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)
    LVL 6

    Expert Comment

    and did you copy the "dll", "bin", etc directories over too ?
    LVL 1

    Author Comment

    No I did not copy them as I have given the environment variable Path as C:\Sybase\dll and Lib as C:\Sybase\lib
    LVL 6

    Expert Comment

    no, libraries are loaded form the %SYBASE%\lib (which should match your path too or you may run into other issues)
    LVL 6

    Accepted Solution

    and that goes for dll's and charset's and ... basically everything under sybase directory too

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Best Fit Equation for a Line 5 808
    BDE errors / Sybase DB on Windows 2008 4 846
    SQL Sybase - Convert Rows to Columns 10 285
    Sybase sample database 13 647
    It can often be challenging to stay relevant in the rapidly evolving world of technology. This can make recruiting talent difficult for companies of all sizes.
    OfficeMate Freezes on login or does not load after login credentials are input.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now