>>>>> "piou" == piou <piou@stripped> writes:
>> Description:
piou> When I run mysql_install_db, it gives this output:
piou> =====
piou> Creating db table
piou> Creating host table
piou> Creating user table
piou> Creating func table
piou> Creating tables_priv table
piou> Creating columns_priv table
piou> /usr/libexec/ld.so: mysqld: libstdc++.so.29.0: No such file or directory
piou> Installation of grant tables failed!
piou> Examine the logs in ./data for more information.
piou> =====
piou> Trying to run "./bin/mysqld --skip-grant &" gives the same error: can't find
> the libstdc++.so.29.0 file. As far as I can tell, OpenBSD comes with a libstdc++.so.28.0
> file in /usr/lib, but there is no libstdc++.so.29.0 file in the current distribution
> (OpenBSD 2.5). Is there a libstdc++.so.29.0 file available for download somewhere (either
> through you or elsewhere), or is there a way to get around this error?
>> How-To-Repeat:
piou> Typical binary installation on FreeBSD 2.5:
shell> gunzip < mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
>> Fix:
>> Submitter-Id: <submitter ID>
>> Originator: Edward T. Piou
>> Organization:
piou> ep Productions, Inc.
>> MySQL support: none
>> Synopsis: can't install binary mysql-3.22.22 for OpenBSD 2.5
>> Severity:
>> Priority:
>> Category: mysql
>> Class:
>> Release: mysql-3.22.22 (Source distribution)
>> Environment:
piou> System: OpenBSD dhalgren 2.5 GENERIC#243 i386
Hi!
Fix:
Install libstdc++.so.29.0 or configure MySQL with:
CC=gcc CXX=gcc ./configure ....
Regards,
Monty