freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Anders <vaerge AT gmail.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] cannot compile with openssl
- Date: Tue, 25 May 2010 16:21:28 -0400
Hi,
I have two machines, same hardware, same OS (Debian Lenny) - but they
do not behave the same, it seems.
I want to compile freetds with OpenSSL, but whatever I do, i cannot
get it to compile without error. These are the 'last words' it sends
to me when running 'make':
gcc -shared .libs/ct.o .libs/cs.o .libs/blk.o .libs/ctutil.o
-Wl,--whole-archive ../tds/.libs/libtds.a
../replacements/.libs/libreplacements.a -Wl,--no-whole-archive
-L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lrt -pthread
-Wl,-Bsymbolic -Wl,-soname -Wl,libct.so.4 -Wl,-version-script
-Wl,.libs/libct.ver -o .libs/libct.so.4.0.0
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64-gcc.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libct.la] Error 1
make[3]: Leaving directory `/root/soft/freetds-0.82/src/ctlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/soft/freetds-0.82/src/ctlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/freetds-0.82/src'
make: *** [all-recursive] Error 1
Anyone that has an idea what this is about?
Thanks!!
-
[freetds] cannot compile with openssl,
Anders, 05/25/2010
- Re: [freetds] cannot compile with openssl, Christos Zoulas, 05/25/2010
Archive powered by MHonArc 2.6.24.