473,327 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Problem building MySQL on SPARC Solaris 9

Hello,

I have been trying to compile MySQL 4.0.15a on a Sparc Solaris 9 machine
without any success. I do not know if the reason of my failure is the fact
that I want to include SSL support on my MySQL binary. I have successfully
installed (at least that's what I think) OpenSSL on my machine, but have
reached a point where I do not know what else to do.

This is the command I am issuing:

# CFLAGS="-03" CXX=gcc
CXXFLAGS="-03 -felide-constructors -fno-exceptions -fno-rtti"
../configure --enable-assembler --with-vio --with-openssl

Which runs fine, but after I run the "make" command I am getting this:

gcc -O3 -DDBUG_OFF -03 -felide-constructors -fno-exceptions -fno-rtti -fno-i
mplicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PUR
E_VIRTUAL -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -o .libs/mysql mysql.o
readline.o sql_string.o completion_hash.o
../readline/libreadline.a -lcurses
.../libmysql/.libs/libmysqlclient.so -L/usr/local/lib/ -lz -lposix4 -lcrypt -
lgen -lsocket -lnsl -lm -lssl -lcrypto -R/usr/local/lib/mysql
gcc: unrecognized option `-03'
ld: warning: file /usr/local/lib//libssl.a(t1_srvr.o): wrong ELF class:
ELFCLASS64
ld: warning: file /usr/local/lib//libcrypto.a(bn_lib.o): wrong ELF class:
ELFCLASS64
Undefined first referenced
symbol in file
SSL_CTX_set_session_id_context ../libmysql/.libs/libmysqlclient.so
SSL_get_shared_ciphers ../libmysql/.libs/libmysqlclient.so
SSL_CTX_set_cipher_list ../libmysql/.libs/libmysqlclient.so
SSL_CTX_ctrl ../libmysql/.libs/libmysqlclient.so
X509_get_issuer_name ../libmysql/.libs/libmysqlclient.so
X509_STORE_CTX_get_current_cert ../libmysql/.libs/libmysqlclient.so
SSL_shutdown ../libmysql/.libs/libmysqlclient.so
X509_free ../libmysql/.libs/libmysqlclient.so
ERR_get_error_line_data ../libmysql/.libs/libmysqlclient.so
SSL_SESSION_set_timeout ../libmysql/.libs/libmysqlclient.so
SSL_CIPHER_get_name mysql.o
X509_STORE_CTX_get_error_depth ../libmysql/.libs/libmysqlclient.so
SSL_CTX_use_PrivateKey_file ../libmysql/.libs/libmysqlclient.so
BN_bin2bn ../libmysql/.libs/libmysqlclient.so
TLSv1_server_method ../libmysql/.libs/libmysqlclient.so
SSL_CTX_set_verify ../libmysql/.libs/libmysqlclient.so
X509_STORE_CTX_get_error ../libmysql/.libs/libmysqlclient.so
SSL_CTX_check_private_key ../libmysql/.libs/libmysqlclient.so
ERR_print_errors_fp ../libmysql/.libs/libmysqlclient.so
SSL_load_error_strings ../libmysql/.libs/libmysqlclient.so
SSL_get_current_cipher mysql.o
SSL_set_accept_state ../libmysql/.libs/libmysqlclient.so
SSL_CTX_use_certificate_file ../libmysql/.libs/libmysqlclient.so
DH_free ../libmysql/.libs/libmysqlclient.so
TLSv1_client_method ../libmysql/.libs/libmysqlclient.so
SSL_CTX_new ../libmysql/.libs/libmysqlclient.so
SSL_set_connect_state ../libmysql/.libs/libmysqlclient.so
X509_get_subject_name ../libmysql/.libs/libmysqlclient.so
SSL_set_fd ../libmysql/.libs/libmysqlclient.so
SSL_get_session ../libmysql/.libs/libmysqlclient.so
SSL_CTX_set_default_verify_paths ../libmysql/.libs/libmysqlclient.so
SSL_write ../libmysql/.libs/libmysqlclient.so
SSL_CTX_load_verify_locations ../libmysql/.libs/libmysqlclient.so
SSL_new ../libmysql/.libs/libmysqlclient.so
SSL_get_error ../libmysql/.libs/libmysqlclient.so
SSL_do_handshake ../libmysql/.libs/libmysqlclient.so
SSL_free ../libmysql/.libs/libmysqlclient.so
SSL_clear ../libmysql/.libs/libmysqlclient.so
DH_new ../libmysql/.libs/libmysqlclient.so
OPENSSL_add_all_algorithms_noconf ../libmysql/.libs/libmysqlclient.so
SSL_get_peer_certificate ../libmysql/.libs/libmysqlclient.so
SSL_read ../libmysql/.libs/libmysqlclient.so
X509_NAME_oneline ../libmysql/.libs/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to .libs/mysql
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/tmp/mysql-4.0.15a/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mysql-4.0.15a'
make: *** [all] Error 2
Any help would be greatly appreciated

Thanks.
Jul 19 '05 #1
0 1927

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pancho | last post by:
Greetings, I need help configuring/building PHP3 with MySQL as a DSO on a Solaris 8 box - this module is needed to host some existing sites I will be migrating Note. I built PHP4 from source and...
0
by: Bob Swerdlow | last post by:
I'm trying to install MySQLdb 0.9.2 so I can access my MySQL database from python under Solaris 8. I found the notes on changing the include and lib paths and it seems to find them okay, but when...
3
by: Christian Eriksson | last post by:
Hi! I'm programming Perl DBI accessing Informix databases. I have a problem on a Solaris machine to use my installed Informix driver (DBD::Informix). I get the following error message: ...
0
by: Andrew Keating | last post by:
------=_NextPart_000_0005_01C36576.78A1ECD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To whom it may concern, We are having some trouble installing a...
0
by: muergano terrible | last post by:
Hello, I have been trying to compile MySQL 4.0.15a on a Sparc Solaris 9 machine without any success. I do not know if the reason of my failure is the fact that I want to include SSL support on...
0
by: Robert Mazur | last post by:
Solaris 9 - sparc 64bit MySQL 5.0 alpha (installed using binary from MySQL) --------------------------------- Has anyone expereinced this? The client will launch locally and process SQL...
1
by: Andres Monroy-Hernandez | last post by:
Hi, I'm trying to compile the latest mysql source in a Sun box: # uname -a SunOS bucktown 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-80 My configration looks like this: CFLAGS="-O3"...
2
by: David Parker | last post by:
Hi. I'm trying to build 7.4.3 on Solaris 9/Intel (gcc 3.2.2), and I get the following: ======================================================================== ================ gcc -O2...
7
by: plumb and tree | last post by:
I've been trying for days to build 64 bit python with Solaris 10 + Sun Studio 12. Can anyone helpl please. This is how I tried to do build: # ./configure --prefix=/opt/python2.4...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.