List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 17 1999 7:49pm
Subject:Compilling mysql with cyrrilic (win1251) support
View as plain text  
<cut>

> Hello.
> Platform is Debian/Potato kernel 2.2.10
> trying to compile mysql 3.22.25 package with win1251 support use for =
> this --with-charset=3Dwin1251
> Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
> GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.1/specs
> gcc version 2.95.1 19990816 (release)
> Compilation info: CC=3D'gcc'  CFLAGS=3D'-O2 -fomit-frame-pointer' =
> CXX=3D'c++'  CXXFLAGS=3D'-O2 -fomit-frame-pointer -felide-constructors =
> -fno-exceptions -fno-rtti'  LDFLAGS=3D''
> Configure command: ./configure  --enable-shared --enable-assembler =
> --with-mysqld-user=3Dmysql =
> --with-unix-socket-path=3D/var/run/mysqld/mysqld.sock   --prefix=3D/usr =
> --exec-prefix=3D/usr --libexecdir=3D/usr/sbin --sysconfdir=3D/etc/mysql =
> --datadir=3D/usr/share --localstatedir=3D/var/lib/mysql =
> --infodir=3D/usr/info --includedir=3D/usr/include --mandir=3D/usr/man =
> --with-charset=3Dwin1251=20
> Perl: This is perl, version 5.005_03 built for i386-linux
> Everything is compiling without problems.
> Mysqld starts with no problem, but trying to start mysql client program =
> produces:
> mysql: error in loading shared libraries: mysql: undefined symbol: =
> sort_order_win1251
> =20
> Best regards,
> George Chavdarov
> System administrator - www.dir.bg

Hi!

A crude fix for now:

cd client
cp ../strings/ctype-win1251.c ctype-latin1.c
cd ..
make
make install

(I shall look into why the ctype-win1251 isn't used automaticly ASAP)

Regards,
Monty
Thread
Compilling mysql with cyrrilic (win1251) supportGeorge Chavdarov15 Sep
  • Compilling mysql with cyrrilic (win1251) supportMichael Widenius17 Sep