dds ~ # emerge -pv PEAR-DB These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-php/PEAR-DB-1.6.4 0 kB Total size of downloads: 0 kB dds ~ # emerge -v PEAR-DB Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/PEAR-DB-1.6.4 to / >>> md5 src_uri ;-) DB-1.6.4.tgz >>> Unpacking source... >>> Unpacking DB-1.6.4.tgz to /var/tmp/portage/PEAR-DB-1.6.4/work tar: A lone zero block at 1117 >>> Source unpacked. >>> Test phase [not enabled]: dev-php/PEAR-DB-1.6.4 >>> Install PEAR-DB-1.6.4 into /var/tmp/portage/PEAR-DB-1.6.4/image/ category dev-php /usr/portage/eclass/php-pear.eclass: line 42: 31492 Segmentation fault pear install --nodeps -R ${D} ${S}/package.xml !!! ERROR: dev-php/PEAR-DB-1.6.4 failed. !!! Function php-pear_src_install, Line 48, Exitcode 139 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. dds ~ # Reproducible: Always Steps to Reproduce: 1. 2. 3. I'm try emerge horde-imp .... :-/
dds ~ # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 10:03:47)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi bcmath berkdb bitmap-fonts bzlib calendar caps cdr crypt ctype cups curl curlwrappers dba dio doc encode esd exif f77 fam flac font-server foomaticdb fortran ftp gd gdbm ggi gif gnutls gphoto2 gpm gtk gtk2 gtkhtml guile hal howl iconv imagemagick imap imlib jack java jpeg junit kde kerberos ldap libg++ libwww lm_sensors mad memlimit mhash mikmod mime ming mmx motif mozilla mpeg mppe-mppc mysql ncurses nls nptl oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sasl scanner sdl session shared simplexml slang snmp soap sockets speex spell sqlite sse sse2 ssl sybase-ct sysvipc tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode wddx xml xml2 xmlrpc xmms xpm xsl xv zlib linguas_ru linguas_en" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS dds ~ #
dds distfiles # locale LANG=ru_RU.KOI8-R LC_CTYPE="ru_RU.KOI8-R" LC_NUMERIC="ru_RU.KOI8-R" LC_TIME="ru_RU.KOI8-R" LC_COLLATE="ru_RU.KOI8-R" LC_MONETARY="ru_RU.KOI8-R" LC_MESSAGES="ru_RU.KOI8-R" LC_PAPER="ru_RU.KOI8-R" LC_NAME="ru_RU.KOI8-R" LC_ADDRESS="ru_RU.KOI8-R" LC_TELEPHONE="ru_RU.KOI8-R" LC_MEASUREMENT="ru_RU.KOI8-R" LC_IDENTIFICATION="ru_RU.KOI8-R" LC_ALL= dds distfiles # php -v PHP 5.0.3 (cli) (built: Jan 26 2005 19:30:41) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies dds distfiles # dds distfiles # locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= dds distfiles # php -v Segmentation fault
strace vieweing try access to sybase configuration and locale files ...
dds# strace php -v [skipped] open("/opt/sybase//config/objectid.dat", O_RDONLY) = 3 read(3, "; comment character is a semicol"..., 512) = 512 read(3, "\\\n\tSybase reserves all unpublish"..., 512) = 512 read(3, "4.9.1.3 = cp437\n\t1.3.6.1.4.1.897"..., 512) = 512 read(3, "4.1.897.4.9.1.51 = cp855\n\t1.3.6."..., 512) = 512 read(3, "p1255\n\t1.3.6.1.4.1.897.4.9.1.90 "..., 512) = 512 read(3, "]\n;The language are coded based "..., 512) = 512 read(3, "chinese\n;\tkor\n\t1.3.6.1.4.1.897.4"..., 512) = 512 read(3, " For example, \'dictiona\' must b"..., 512) = 512 read(3, "\n\n", 512) = 2 read(3, "", 512) = 0 close(3) = 0 open("/opt/sybase//charsets/utf8/charset.loc", O_RDONLY) = 3 read(3, ";\t\t charset.loc\n;\n; Comment char"..., 512) = 512 read(3, "s own\n; charset.loc file under i"..., 512) = 512 read(3, "hed rights under the copyright l"..., 512) = 512 read(3, "\tdefinition =01\n\t\t; * machine_t"..., 512) = 512 read(3, "1111111111\n\tdefinition =11111111"..., 512) = 512 read(3, "2323232323232323\n\tdefinition =01"..., 512) = 512 read(3, "00000000000000000000000000000000"..., 512) = 512 brk(0x83ae000) = 0x83ae000 read(3, "1616080817170808\n\tdefinition =18"..., 512) = 512 read(3, "014a6a01014b6b01014c6c01014d6d01"..., 512) = 512 read(3, "7f2020\n\tdefinition =000020000000"..., 512) = 512 read(3, "00002000000020000000200000002000"..., 512) = 512 read(3, "finition =0000010100000101000001"..., 512) = 512 read(3, "00000200000002000000020000000200"..., 512) = 512 read(3, "02000\n\tdefinition =0000200000002"..., 512) = 512 read(3, "38308088484080885850808868608088"..., 512) = 512 read(3, "inition =b8b80101b9b90101baba202"..., 512) = 512 read(3, "02000000020000000200000002000\n\td"..., 512) = 512 read(3, "2000\n\tdefinition =00002000000020"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "nition =88a8010189a901018aaa0101"..., 512) = 512 read(3, "01029dbd01029ebe0102bfbf0102\n\tde"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "02000000020000000200000002000000"..., 512) = 512 read(3, "ition =0000200000002000000020000"..., 512) = 512 read(3, "1018c8d01028e8f01018e8f0102\n\tdef"..., 512) = 512 read(3, "02000000020000000200000002000000"..., 512) = 512 read(3, "00000200000002000\n\tdefinition =0"..., 512) = 512 read(3, "tion =00002000000020000000200000"..., 512) = 512 read(3, "00000020000000200000002000\n\tdefi"..., 512) = 512 read(3, "01019091010292930101929301029495"..., 512) = 512 read(3, "0000200000002000\n\tdefinition =00"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "0000020000000200000002000\n\tdefin"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "696010197970101\n\tdefinition =989"..., 512) = 512 read(3, "00000200000002000000020000000200"..., 512) = 512 read(3, "00000\n\n\t\t; * Map - 06 *\n\tdefini"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "00200000002000\n\tdefinition =0000"..., 512) = 512 read(3, "999a01029b9c01019b9c01029d9d0102"..., 512) = 512 read(3, "2000\n\tdefinition =00002000000020"..., 512) = 512 read(3, "00000200000002000000020000000200"..., 512) = 512 read(3, "0200000002000\n\tdefinition =00002"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "020\n\tdefinition =a0a02020a1a1202"..., 512) = 512 read(3, "02000000020000000200000002000000"..., 512) = 512 read(3, "200000002000\n\tdefinition =000020"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "00\n\tdefinition =0000200000002000"..., 512) = 512 read(3, "0102a4a40102a5a50102a6a60102a7a7"..., 512) = 512 read(3, "tion =00002000000020000000200000"..., 512) = 512 read(3, "02000000020000000200000002000000"..., 512) = 512 read(3, "0\n\tdefinition =00002000000020000"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "ion =a8a80102a9a92020aaaa2020aba"..., 512) = 512 read(3, "0000020000000200000002000\n\tdefin"..., 512) = 512 read(3, "\n\tdefinition =000020000000200000"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "on =0000200000002000000020000000"..., 512) = 512 read(3, "adad2020aeae2020afaf2020\n\tdefini"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "00000200000002000000020000000200"..., 512) = 512 read(3, "n =00002000000020000000200000002"..., 512) = 512 read(3, "00020000000200000002000\n\tdefinit"..., 512) = 512 read(3, "1b1b10101b2b20101b3b30101b4b4010"..., 512) = 512 read(3, "0200000002000\n\tdefinition =00002"..., 512) = 512 read(3, " =000020000000200000002000000020"..., 512) = 512 read(3, "0020000000200000002000\n\tdefiniti"..., 512) = 512 read(3, "81810101828201018383010184840101"..., 512) = 512 read(3, "2020b7b72020\n\tdefinition =b8b820"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "020000000200000002000\n\tdefinitio"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "10187872020\n\tdefinition =88ad010"..., 512) = 512 read(3, "a01029bbb01029cbc01029dbd01029eb"..., 512) = 512 read(3, "0\n\tdefinition =00002000000020000"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "0000002000\n\tdefinition =00002000"..., 512) = 512 read(3, "01028b8b01028c8c01028d8d01028e8e"..., 512) = 512 read(3, "\n\tdefinition =000020000000200000"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "000002000\n\tdefinition =000020000"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "\tdefinition =90b0010191b1010192b"..., 512) = 512 read(3, "00000200000002000000020000000200"..., 512) = 512 read(3, "n =00002000000020000000200000002"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "definition =00002000000020000000"..., 512) = 512 read(3, "94940102959501029696010297970102"..., 512) = 512 read(3, " =000020000000200000002000000020"..., 512) = 512 read(3, "0020000000200000000000\n\n\t\t; * M"..., 512) = 512 read(3, "efinition =000020000000200000002"..., 512) = 512 read(3, "0002000000020000000200000002000\n"..., 512) = 512 read(3, "=98990101989901029a9b01019a9b010"..., 512) = 512 read(3, "020000000200000002000\n\tdefinitio"..., 512) = 512 read(3, "finition =0000200000002000000020"..., 512) = 512 read(3, "002000000020000000200000002000\n\t"..., 512) = 512 read(3, "00002000000020000000200000002000"..., 512) = 512 read(3, "01029e9f01019e9f0102\n\tdefinition"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "02000000020000000200000002000\n\td"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "0000000200000002000\n\tdefinition "..., 512) = 512 read(3, "12020a2a22020a3a32020a4a42020a5a"..., 512) = 512 read(3, "000002000\n\tdefinition =000020000"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "000000200000002000\n\tdefinition ="..., 512) = 512 read(3, "20000000200000002000000020000000"..., 512) = 512 read(3, "a7a70102\n\tdefinition =a8a80102a9"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "00000200000002000\n\tdefinition =0"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "0002000\n\tdefinition =00002000000"..., 512) = 512 read(3, "1abab0101acac0101adad0101aeae010"..., 512) = 512 read(3, "efinition =000020000000200000002"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "002000\n\tdefinition =000020000000"..., 512) = 512 read(3, "00002000000020000000200000002000"..., 512) = 512 read(3, "finition =b0b00101b1b10101b2b201"..., 512) = 512 read(3, "002000000020000000200000002000\n\t"..., 512) = 512 read(3, "02000\n\tdefinition =0000200000002"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "inition =80802020818120208282202"..., 512) = 512 read(3, "40101b5b50101b6b60101b7b70101\n\td"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "nition =000020000000200000002000"..., 512) = 512 read(3, "0101858501018686010187870101\n\tde"..., 512) = 512 read(3, "b80101b9b90101baba0101bbbb0101bc"..., 512) = 512 read(3, "000000200000002000\n\tdefinition ="..., 512) = 512 read(3, "ition =0000200000002000000020000"..., 512) = 512 read(3, "000000020000000200000002000\n\tdef"..., 512) = 512 read(3, "80101898901018a8a01018b8b01018c8"..., 512) = 512 read(3, "1bebe0101bfbf2020\n\tdefinition =0"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "00000020000000200000002000\n\tdefi"..., 512) = 512 read(3, "20000000200000002000000020000000"..., 512) = 512 read(3, "8e8e01018f8f2020\n\tdefinition =90"..., 512) = 512 read(3, "00000020000000200000002000000020"..., 512) = 512 read(3, "002000\n\tdefinition =000020000000"..., 512) = 512 read(3, "00000002000000020000000200000002"..., 512) = 512 read(3, "000200000002000\n\tdefinition =000"..., 512) = 512 read(3, "09292202093932020949420209595202"..., 512) = 512 read(3, "02000\n\tdefinition =0000200000002"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "00200000002000\n\tdefinition =0000"..., 512) = 512 read(3, "00002000000020000000200000002000"..., 512) = 512 read(3, "2020\n\tdefinition =98982020999920"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "* Map - 1d *\n\tdefinition =00002"..., 512) = 512 read(3, "00020000000200000002000000020000"..., 512) = 512 read(3, "000\n\tdefinition =000020000000200"..., 512) = 512 read(3, "b20209c9c20209d9d20209e9e20209f9"..., 512) = 512 read(3, "ition =0000200000002000000020000"..., 512) = 512 read(3, "00200000002000000020000000200000"..., 512) = 512 read(3, "00\n\tdefinition =0000200000002000"..., 512) = 512 read(3, "20000000200000002000000020000000"..., 512) = 512 read(3, "tion =a0a02020a1a12020a2a22020a3"..., 512) = 512 read(3, "00000020000000200000002000\n\tdefi"..., 512) = 512 read(3, "00000000000000000000000000000000"..., 512) = 512 read(3, "000000000000\n\tdefinition =000000"..., 512) = 59 close(3) = 0 open("/opt/sybase//charsets/utf8/utf8.cfg", O_RDONLY) = 3 read(3, "; This is the Conversion Configu"..., 512) = 439 access("/opt/sybase//charsets/utf8/iso_1.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/roman8.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/cp850.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/cp437.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/mac.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/sjis.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/eucjis.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/deckanji.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/eucgb.ctb", R_OK) = 0 access("/opt/sybase//charsets/utf8/eucksc.ctb", R_OK) = 0 read(3, "", 512) = 0 close(3) = 0 open("/opt/sybase//charsets/utf8/binary.srt", O_RDONLY) = 3 read(3, "; semi-colon is the comment char"..., 512) = 512 read(3, "10646, UTF-8 character set (utf8"..., 512) = 150 read(3, "", 512) = 0 close(3) = 0 open("/opt/sybase//config/ocs.cfg", O_RDONLY) = -1 ENOENT (No such file or directory) open("/opt/sybase//locales/locales.dat", O_RDONLY) = 3 read(3, "; comment character is a semicol"..., 512) = 512 read(3, "vilian agency contracts and DFAR"..., 512) = 512 read(3, " entry is used for sybase intern"..., 512) = 512 read(3, "acter set\n;\t\tname for determinin"..., 512) = 512 read(3, "= fr_FR.ISO8859-1, french, iso_1"..., 512) = 512 read(3, "n, iso_1\n\tlocale = De_DE.IBM-850"..., 512) = 512 read(3, "japanese, sjis\n\tlocale = japanes"..., 512) = 512 read(3, "ch, iso_1\n\tlocale = de_DE, germa"..., 512) = 512 read(3, "CS, french, decmcs\n\tlocale = FRE"..., 512) = 512 read(3, "ard Professional Books\n\t; \tISBN "..., 512) = 512 read(3, "_1\n\tlocale = spanish, spanish, r"..., 512) = 512 read(3, "lish, iso_1\n\tlocale = default, u"..., 512) = 512 read(3, ", german, cp437\n\tlocale = de_DE."..., 512) = 512 read(3, "437\n\tlocale = fr_BE.850, french,"..., 512) = 512 read(3, "ault, us_english, iso_1\n "..., 512) = 512 read(3, " "..., 512) = 512 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ dds ~ #
export LC_ALL="";export LANG="ru_RU.KOI8-R";strace php -v open("/opt/sybase//locales/locales.dat", O_RDONLY) = 3 read(3, "; comment character is a semicol"..., 512) = 512 read(3, "vilian agency contracts and DFAR"..., 512) = 512 read(3, " entry is used for sybase intern"..., 512) = 512 read(3, "acter set\n;\t\tname for determinin"..., 512) = 512 read(3, "= fr_FR.ISO8859-1, french, iso_1"..., 512) = 512 read(3, "n, iso_1\n\tlocale = De_DE.IBM-850"..., 512) = 512 read(3, "japanese, sjis\n\tlocale = japanes"..., 512) = 512 read(3, "ch, iso_1\n\tlocale = de_DE, germa"..., 512) = 512 read(3, "CS, french, decmcs\n\tlocale = FRE"..., 512) = 512 read(3, "ard Professional Books\n\t; \tISBN "..., 512) = 512 read(3, "_1\n\tlocale = spanish, spanish, r"..., 512) = 512 read(3, "lish, iso_1\n\tlocale = default, u"..., 512) = 512 read(3, ", german, cp437\n\tlocale = de_DE."..., 512) = 512 read(3, "437\n\tlocale = fr_BE.850, french,"..., 512) = 512 read(3, "ault, us_english, iso_1\n "..., 512) = 512 close(3) = 0 [place for crash, but all normal!] open("/opt/sybase//charsets/cp850/charset.loc", O_RDONLY) = 3 read(3, ";\t\t charset.loc\n;\n; Comment char"..., 512) = 512 read(3, "d have it\'s own\n; charset.loc fi"..., 512) = 512 read(3, "ves\\\n\tall unpublished rights und"..., 512) = 512 read(3, "tion =10102020111120201212202013"..., 512) = 512 read(3, "11456501114666011147670101\n\tdefi"..., 512) = 512 read(3, "0102597901025a7a01027b7b20207c7c"..., 512) = 512 read(3, "aeae2020afaf2020\n\tdefinition =b0"..., 512) = 512 read(3, "02e2930101e3950101e5e40102e5e401"..., 512) = 512 read(3, "00000000000000000000000000000303"..., 512) = 512 read(3, "on =00\n", 512) = 7 close(3)
Not a bug. Sorry. dds bin # ./isql 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 /opt/sybase/. Check the environment variable SYBASE if it is not the one you want! Using locale name "ru_RU.UTF-8" defined in environment variable LANG Locale name "ru_RU.UTF-8" doesn't exist in your /opt/sybase//locales/locales.dat file An error occurred when attempting to allocate localization-related structures. I'm add to sybase/locales/locales.dat next string: ... [linux] ... locale = ru_RU.UTF-8,us_english, cp850 now all working.