List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:August 9 1999 8:44am
Subject:Can not run mysql with win1215
View as plain text  
> Hello all ! Please help ! This is what mysqlbug says :
> 
> >Release: mysql-3.22.25 (Source distribution)
> 
> >Environment:
> System: FreeBSD srv.inforser.ru 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: =
> Tue Jul 27 19:33:14 MSD 1999     =
> root@stripped:/usr/src/sys/compile/SRV  i386
> 
> Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
> GCC: gcc version 2.7.2.1
> Compilation info: CC=3D'gcc'  CFLAGS=3D''  CXX=3D'gcc'  CXXFLAGS=3D''  =
> LDFLAGS=3D''
> Configure command: ./configure  =
> --with-unix-socket-path=3D/var/tmp/mysql.sock --with-low-memory =
> --with-mit-threads=3Dyes
> Perl: This is perl, version 5.005_58 built for i386-freebsd
> 
> 
> But when we compiled the source we used one more options that is not =
> listed here. It is --with-charset=3Dwin1251. And when we run the mysql =
> we got error message.
> 
> srv:/usr/local/mysql/bin#./mysql
> ld.so failed: Undefined symbol "_ctype_win1251" in mysql:mysql
> srv:/usr/local/mysql/bin#

Hi!

This means that somehow the file ctype-win1251.c in the strings
directory wasn't included in the libmystrings.a

Are you sure you didn't run configure 2 times, without removing
config.cache in between?

Fix:

Go to the strings library and compile ctype-win1251.c, with the same
options as the other files, and include this in the libmysqlstrings.a
file.

You should be able to do something like this:

touch bchange.c
make

Look at the commands executed and repeat them, but replace bchange.c
with ctype-win1251.c

Regards,
Monty
Thread
Can not run mysql with win1215Andrey Muratov9 Aug
  • Can not run mysql with win1215Michael Widenius9 Aug
Re: Can not run mysql with win1215Andrey Muratov9 Aug
  • Re: Can not run mysql with win1215Michael Widenius9 Aug
Re: Can not run mysql with win1215Andrey Muratov9 Aug
Re: Can not run mysql with win1215Andrey Muratov13 Aug
  • Re: BAD USER OF PAGERGATEsasha13 Aug