Menu

#15 Under Cygwin sqsh cannot interpret pathnames

v2.1
open-accepted
None
5
2013-09-18
2004-11-08
No

Under cygwin, sqsh fails on startup because it attempts
to use the backward slash directory delimiter.

sqsh-2.1.1rc2 Copyright (C) 1995-2001 Scott C. Gray
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'

The context allocation routine failed when it tried to
load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /usr/local/sybase. Check
the environment variable SYBASE if it is not the one
you want!
Cannot access file /usr/local/sybase\ini\objectid.dat

The context allocation routine failed when it tried to
load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /usr/local/sybase. Check
the environment variable SYBASE if it is not the one
you want!
Cannot access file /usr/local/sybase\ini\objectid.dat

The context allocation routine failed when it tried to
load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /usr/local/sybase. Check
the environment variable SYBASE if it is not the one
you want!
Cannot access file /usr/local/sybase\ini\objectid.dat

The context allocation routine failed when it tried to
load localization files!!
One or more following problems may caused the failure

Your sybase home directory is /usr/local/sybase. Check
the environment variable SYBASE if it is not the one
you want!
Cannot access file /usr/local/sybase\ini\objectid.dat
Segmentation fault (core dumped)

Thx,

David

Discussion

  • Michael Peppler

    Michael Peppler - 2004-11-08

    Logged In: YES
    user_id=1014343

    Actually that message comes from the Sybase libs, not from
    sqsh itself. I've not used cygwin myself, so I'm not sure
    how to proceed, but I will look into this.

     
  • Michael Peppler

    Michael Peppler - 2004-11-08
    • assigned_to: nobody --> mpeppler
    • status: open --> open-accepted
     
  • Jeroen van Lit

    Jeroen van Lit - 2013-09-18

    I have a working SQSH under Cygwin. It involved the steps below:

    1) Install bare Cygwin environment
    2) Install ‘readline’ package
    3) Insert the wanted SQL servers to C:\SYBASE\SQL.INI using DSEDIT
    4) Copy C:\Sybase to C:\SQL10 (Sybase libs in tar below are hardcoded to use this directory - don't ask me why)
    5) Untar the SQSH package (found sqsh-cygwin-2.1.4-15.0.2_tar on the web).
    6) Have a beer.

     

Log in to post a comment.

MongoDB Logo MongoDB