无法在cygwin上运行isql [英] not able to run isql on cygwin
问题描述
当我试图通过isql syntex运行sybase查询时会出现以下错误。
When I am trying to run sybase query through isql syntex it is giving below error.
错误 -
上下文分配例程在尝试加载
本地化文件时失败!!一个或多个以下问题可能导致
失败
"The context allocation routine failed when it tried to load localization files!! One or more following problems may caused the failure
您的sybase主目录是C:\Sybase。检查环境
变量SYBASE,如果它不是您想要的!使用区域设置名称
en_US.UTF-8在环境变量LANG语言环境名称
en_US.UTF-8不存在于您的C:\Sybase\locales\locales.dat文件
尝试分配本地化时出错 - 相关
结构。
Your sybase home directory is C:\Sybase. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.UTF-8" defined in environment variable LANG Locale name "en_US.UTF-8" doesn't exist in your C:\Sybase\locales\locales.dat file An error occurred when attempting to allocate localization-related structures. "
我检查了环境路径变量是否正确。
I checked the environment path variable which is correct.
推荐答案
我发现如果我运行
unset LANG
在运行isql之前,isql按预期工作。
before running isql, then isql works as expected.
这篇关于无法在cygwin上运行isql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!