[freetds] freetds on solaris 9
Зверев Виталий Борис
Зверев Виталий Борис
Wed Sep 17 19:07:37 EDT 2003
Hi again, Allan!
Do you make FreeTDS from fresh installation?
Perhaps, libtds.so was compiled in 32 bit mode (previous build) & you forgot
about 'make clean'.
Try to clean and rebuild all, because dynamic libs (*.so) & executable
modules MUST BE in same bit mode.
Sincerely yours.
------------------------------------------------------------
Vitaly Zverev, Oracle Applications DBA,
Genesis Ltd., S.Petersburg, Russia
-----Original Message-----
From: Ako Ito [mailto:allan at lxd1.asiandevbank.org]
Sent: Wednesday, September 17, 2003 11:18 AM
To: freetds at lists.ibiblio.org
Subject: [freetds] freetds on solaris 9
i am having a problem in compiling freetds-0.61 and freetds-current on my
solaris 9 machine.. i am configuring it to support 64 bit but encountered
problems shown below.. any ideas on how i can fix it.. or freetds as of now
dont support 64 bit?
thanks,
allan
make[2]: Entering directory
`/adb/ops/home/a3g/freetds-0.62.dev.20030814/src/apps'
if
c -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRA
RY_SOURCE -DTDS50 -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-proto
types -Wmissing-prototypes -m64 -MT tsql.o -MD -MP -MF ".deps/tsql.Tpo" \
-c -o tsql.o `test -f 'tsql.c' || echo './'`tsql.c; \
then mv ".deps/tsql.Tpo" ".deps/tsql.Po"; \
else rm -f ".deps/tsql.Tpo"; exit 1; \
fi
/bin/bash ../../libtool --mode=link gcc -m64 -mcpu=v9 -m64 -o tsql
tsql.o -lcurses ../tds/libtds.la
mkdir .libs
gcc -m64 -mcpu=v9 -m64 -o .libs/tsql tsql.o -lcurses
./tds/.libs/libtds.so -lsocket -lnsl -R/usr/local/lib
ld: fatal: file ../tds/.libs/libtds.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to .libs/tsql
collect2: ld returned 1 exit status
make[2]: *** [tsql] Error 1
make[2]: Leaving directory
`/adb/ops/home/a3g/freetds-0.62.dev.20030814/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/adb/ops/home/a3g/freetds-0.62.dev.20030814/src'
make: *** [all-recursive] Error 1
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
**************************************************************
Scanned by MailScan Anti-Virus and Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************
More information about the FreeTDS
mailing list