Hello all,

I am having some problems with installing 3.23.49 from source.  Below is the
output from mysqlbug with my additions to help explain the problem.  Any
help would be great - my experience with this kind of stuff is not that
great.

>Description:
        I am trying to upgrade from 3.20.32a by installing the source since
there is no       binary for Solaris 2.6.  While attempting to install make
fails:
                I used
                        CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3
-felide-constructors 
                        -fno-exceptions -fno-rtti" ./configure
--prefix=/usr/local/mysql 
                        --enable-assembler --with-mysqld-ldflags=-all-static
                Here's the end of the output from the make

mkdir .libs
gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -o mysqld
sql_lex.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o
item_strfunc.o item_timefunc.o thr_malloc.o item_create.o field.o key.o
sql_class.o sql_list.o net_serv.o violite.o net_pkg.o lock.o my_lock.o
sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o
hostname.o convert.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o
sql_insert.o sql_update.o sql_delete.o sql_do.o procedure.o item_uniq.o
sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o time.o
opt_range.o opt_sum.o opt_ft.o records.o filesort.o handler.o ha_heap.o
ha_myisam.o ha_myisammrg.o ha_berkeley.o ha_innobase.o ha_gemini.o ha_isam.o
ha_isammrg.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o
mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o
slave.o sql_repl.o mini_client.o mini_client_errors.o md5.o stacktrace.o
-static ../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 -ldl
-lpthread -lthread -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
ld: fatal: library -ldl: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found
ld: fatal: File processing errors. No output written to mysqld
collect2: ld returned 1 exit status
make[3]: *** [mysqld] Error 1
make[3]: Leaving directory `/tmp/mysql-3.23.49/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mysql-3.23.49/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mysql-3.23.49'
make: *** [all-recursive-am] Error 2


>How-To-Repeat:
        make
>Fix:
        <how to correct or work around the problem, if known (multiple
lines)>

>Submitter-Id:  <submitter ID>
>Originator:    Duncan Salada
>Organization:
 <organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:      <synopsis of the problem (one line)>
>Severity:      <[ non-critical | serious | critical ] (one line)>
>Priority:      <[ low | medium | high ] (one line)>
>Category:      mysql
>Class:         <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release:       mysql-3.23.49 (Source distribution)
>Server: mysqladmin  Ver 8.23 Distrib 3.23.49, for sun-solaris2.6 on sparc
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          3.20.32a
Protocol version        9
Connection              Localhost via UNIX socket
UNIX socket             /tmp/mysql.sock
Uptime:                 20 hours 2 min 24 sec

Running threads: 1  Questions: 35871  Reloads: 1  Open tables: 15
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: SunOS literacy 5.6 Generic_105181-12 sun4u sparc SUNW,Ultra-1
Architecture: sun4

Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc
/usr/ucb/cc
GCC: Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
LIBC:

Duncan
--
Duncan Salada | Titan | www.titan.com/testeval
Email: [EMAIL PROTECTED] | Voice: 301-925-3222x375 | Fax: 301-925-3216

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