I'm attempting to install MySQL 3.23.55 from source on a Red Hat Linux 7.3
machine.  I have recently built and installed GCC 3.2.2 and GNU make 3.80
successfully.  Following the steps given on mysql.com for a source
installation, I can go through the install up to and including
"./configure --prefix=/usr/local/mysql".  However, when I run make, the
program terminates early, giving these messages:

./gen_lex_hash > lex_hash.h
./gen_lex_hash: error while loading shared libraries: libstdc++.so.5: cannot
open shared object file: No such file or directory
make[4]: *** [lex_hash.h] Error 127
make[4]: Leaving directory `/src/mysql-3.23.55/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/src/mysql-3.23.55/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/src/mysql-3.23.55/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/mysql-3.23.55'
make: *** [all] Error 2

I have run "locate libstdc++.so.5", and it is located in "/usr/local/lib".

A different computer, running Red Hat 7.3, GCC 2.96, and make 3.8, compiles
without a problem, but "locate libstdc++.so.5" indicates that the file does
not exist on that machine.

Any thoughts?

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to