Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 21:33:05 -0400
From:      Sahil Tandon <sahil@tandon.net>
To:        kalin m <kalin@el.net>
Cc:        mysql@lists.mysql.com, freebsd-questions@freebsd.org
Subject:   Re: mysql 5.0.51b and ssl
Message-ID:  <20080624013305.GA11864@shepherd>
In-Reply-To: <486047F4.1080505@el.net>
References:  <486047F4.1080505@el.net>

next in thread | previous in thread | raw e-mail | index | archive | help
kalin m <kalin@el.net> wrote:

> i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with it 
> on a freebsd 7 machine. i get this:
>
> /usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation R_X86_64_32 
> can not be used when making a shared object; recompile with -fPIC
> /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
>
> any ideas?

You have a 64-bit system, yes?  Try recompiling OpenSSL with the appropriate 
CFLAGS as suggested in the error output.  Google portions of what you pasted 
above for more background on this issue.

-- 
Sahil Tandon <sahil@tandon.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080624013305.GA11864>