Bug #26249 5.2.0 wants libstdc++
Submitted: 10 Feb 2007 2:07 Modified: 13 Dec 2007 16:20
Reporter: [ name withheld ] Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.2.0 OS:Other (irix 6.5.30)
Assigned to: CPU Architecture:Any

[10 Feb 2007 2:07] [ name withheld ]
Description:
CC -O3 -mips4 -TARG:platform=IP27:proc=r12000 -OPT:Olimit=0:roundoff=3:IEEE_arithmetic=3 -D_BOOL -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o -fexceptions  -lm -L/usr/local/lib -L/usr/local2/lib -L/usr/nekoware/lib -L/usr/freeware/lib32 ../cmd-line-utils/libedit/libedit.a -lncurses -lpthread ../libmysql/.libs/libmysqlclient.so -lm -lm -lfastm -lm -lm -lstdc++ -lgen -lnsl -lm -lz -Wl,-rpath -Wl,/usr/local/mysql/lib/mysql
C++ prelinker: warning: could not locate library -lstdc++; assuming /usr/lib/libstdc++.a
ld32: WARNING 84 : /usr/lib32/libpthread.so is not used for resolving any symbol.
ld32: FATAL   9  : I/O error (-lstdc++): No such file or directory

is libstdc++ required? configure did not check for it.
anyway seems unlikely to me that using mysql could force you to have gcc?

How to repeat:
compile 5.2.0
[12 Feb 2007 11:10] Valeriy Kravchuk
Thank you for a problem report. Please, send the exact ./configure command line, as well CFLAGS and CXXFLAGS values used (can be guessed, but anyway...).
[25 Feb 2007 20:16] [ name withheld ]
doesn't matter. after i gave the gcc lib to it it went right away into bug #18159.

anyway does it have to require that lib?
[19 Apr 2007 17:40] Sveta Smirnova
Thank you for the feedback.

Verified as described.

To repeat just run CC=cc CXX=CC ./configure

To workaround read comment "[3 Feb 2004 15:47] Konstantin Osipov" in the bug #2214
[13 Dec 2007 16:20] Daniel Fischer
IRIX is not a supported platform.