mysql 5.0.51b and ssl

Sahil Tandon sahil at tandon.net
Tue Jun 24 01:33:12 UTC 2008


kalin m <kalin at 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 at tandon.net>


More information about the freebsd-questions mailing list