473,385 Members | 2,014 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,385 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 1846

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

Similar topics

0
by: Volker | last post by:
Hello, i want to compiled PHP 4.3.3 under Solaris 8. My Configuration: Solaris Version 5.8 gcc Version 3.2 PHP 4.3.3 The compile prozess stopped by the compiling
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.