Faine, Mark writes:
> Ok, so I've downgraded my compiler (gcc) to 2.95.3 since mysql seems to be
> incompatible with 3.0, yet I'm still getting an error during the make:
>  
> /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lrt
> collect2: ld returned 1 exit status
> make[3]: *** [mysqld] Error 1
> make[3]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home6/temp/mysql-3.23.41'
> make: *** [all-recursive-am] Error 2
>  
>  
> my config:
> ./configure --enable-static 
> --enable-assembler 
> --disable-shared 
> --with-libwrap 
> --without-debug 
> --with-mysqld-ldflags=-all-static
> --without-docs 
> --without-bench 
> --with-charset=latin1 
> --with-berkeley-db 
> --with-innodb 
> --with-mysqld-user=mysql
> 
> OS: Solaris 8
> 
> Looks like a missing library to me but I checked and it's there?
> 
> -Mark
> 

MySQL builds just fine with gcc 3.0.

All you have to do is :

export CXXLD=g++

prior to running configure....

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


---------------------------------------------------------------------
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