Hello Sinisa,
Thursday, August 23, 2001, 3:42:53 PM, you wrote:
SM> Peter Zaitsev writes:
>> Hello mysql,
>>
>> I'm trying to compile mysql 3.23.41 with recent glibc 2.2.4 but this
>> somehow does not work with the following diagnose:
>>
>> l/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\""
> -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include
> -I./../include
>> -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF
>-g -O6 -mpentiumpro -fno-omit-frame-pointer -pipe -I/usr/local/glibc-2.2.4/include
>-c password.c
>> /bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -g -O6 -mpentiumpro
>-fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -pipe
>-fno-implicit-templates -fno-exceptions
>> -fno-rtti -fpermissive -I/usr/local/glibc-2.2.4/include -static
>-L/usr/local/glibc-2.2.4/lib -o mysqlbinlog mysqlbinlog.o mini_client.o net_serv.o
>mini_client_errors.o violite.o password.o
>> ../isam/libnisam.a ../merge/libmerge.a
>../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a
>
>> ../mysys/libmysys.a ../dbug/libdbug.a
>../regex/libregex.a ../strings/libmystrings.a -lpthread -lz
>-lcrypt -lnsl -lm -lpthread
>> mkdir .libs
>> gcc -O3 -DDBUG_OFF -g -O6 -mpentiumpro -fno-omit-frame-pointer -felide-constructors
>-fno-exceptions -fno-rtti -pipe -fno-implicit-templates -fno-exceptions -fno-rtti
>-fpermissive
>> -I/usr/local/glibc-2.2.4/include -L/usr/local/glibc-2.2.4/lib -o mysqlbinlog
>mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o password.o
>../isam/libnisam.a ../merge/libmerge.a
>> ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a
>../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a
>-lpthread -lz -lcrypt -lnsl -lm -lpthread
>> /usr/local/glibc-2.2.4/lib/libpthread.so: undefined reference to
>`_dl_cpuclock_offset'
>> /usr/local/glibc-2.2.4/lib/libc.so.6: undefined reference to
>`[EMAIL PROTECTED]'
>> /usr/local/glibc-2.2.4/lib/libc.so.6: undefined reference to
>`[EMAIL PROTECTED]'
>> collect2: ld returned 1 exit status
>> make[3]: *** [mysqlbinlog] Error 1
>> make[3]: Leaving directory `/home/mysql/mysql-3.23.41g/sql'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/mysql/mysql-3.23.41g/sql'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/mysql/mysql-3.23.41g'
>> make: *** [all-recursive-am] Error 2
>>
>> This is rather strange as static option is not passed therefor I'm
>> compiling it with --all-static option.
>>
>>
>> --
>> Best regards,
>> Peter mailto:[EMAIL PROTECTED]
>>
SM> Can't help you as I can't install 2.2.4 as it they clearly stated that
SM> it must not be compiled with gcc 3.0 and I use 3.0.1.
SM> The above error happens when some of the libs or modules still have
SM> references to the older glibc version, like for example GCC objects
SM> and other ones.
This is strange As I've compiled plain gcc 2.2.4 into other directory
and now running --with-other-libc= and It swears about glibc 2.2.3
therefore my system glibc is 2.2.0 and I have never used 2.2.3
SM> Check also version of your /lib/libdl.so.*
--
Best regards,
Peter mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
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