.Sybase ASE is one of my preferred databases and the Express Edition is freeware (thanks, Sybase!) but using the OpenClient driver on a plain German Linux installation issues some error messages:
The context allocation routine failed when it tried to load localization files!!One or more following problems may caused the failureSetting the LANG environment variable to nothing aviods these message but there is a much easier solution:
Your sybase home directory is /opt/sybase. Check the environment variable SYBASE if it is not the one you want!Using locale name "de_DE.UTF-8" defined in environment variable LANGLocale name "de_DE.UTF-8" doesn't exist in your /opt/sybase/locales/locales.dat file
Open your /opt/sybase/locales/locales.dat file (use $SYBASE/locales/locales.dat if you can't find it in this place), search for the [linux] section and add this one line:
locale = de_DE.UTF-8, german, utf8That's all. It's already configured for SunOS - but not for Linux. Maybe (hopefully) Sybase will change this in the future.