|
|
Choosing A Webhost: |
RE: freetds on solaris 9: msg#00090db.tds.freetds
Hi Allan! I found temporary workaround for same environment (freetds-0.61 & Solaris 8): 1) cd {$freetds-0.61} 2) make 3) cd src/tds 4) /usr/ccs/bin/ld -64 -G -h libtds.so.2 -o .libs/libtds.so.2.0 -z allextract ./.libs/libtds_objects.a ../replacements/.libs/libreplacements.a -z defaultextract ./.libs/libtds_objects.a -lsocket -lnsl ../replacements/.libs/libreplacements.a -lc 5) cd ../.. Hope this help... Sincerely yours. ------------------------------------------------------------ Vitaly Zverev, Oracle Applications DBA, Genesis Ltd., S.Petersburg, Russia -----Original Message----- From: Ako Ito [mailto:allan@xxxxxxxxxxxxxxxxxxxxx] Sent: Thursday, September 18, 2003 12:38 PM To: FreeTDS Development Group Subject: Re: [freetds] freetds on solaris 9 hello sir, thanks for the prompt response.. i followed your instruction but it is still not working.. here are my environment variables.. bash-2.05# env PWD=/adb/ops/home/a3g/freetds-0.61.1 TZ=Asia/Manila HZ= HOSTNAME=sdweb1.asiandevbank.org LD_LIBRARY_PATH=/usr/lib/sparcv9:/lib/sparcv9:/usr/local/lib/sparcv9:/usr/cc s/lib/sparcv9:/adb/apps/pkg/java/1.4.2_01/lib:/opt/local/sparc-sun-solaris2. 9/lib MACHTYPE=sparc-sun-solaris2.9 JAVA_HOME=/adb/apps/pkg/java/1.4.2_01 LOGNAME=root SHLVL=1 LDFLAGS=-mcpu=v9 -m64 SHELL=/sbin/sh HOSTTYPE=sparc OSTYPE=solaris2.9 HOME=/ TERM=xterm CFLAGS=-m64 PATH=/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin/sparcv9:/adb/apps/pkg/sparc-sun-s olaris2.9/bin:/usr/local/bin:/adb/apps/pkg/bin:/adb/apps/pkg/java/1.4.2_01/b in/sparcv9 _=/usr/bin/env OLDPWD=/adb/ops/home/a3g/freetds-0.61.1/src i have build and configured apache+openssl+openldap+db with the same environment but did not get any errors.. only when i compiled and make the freetds package, that i encounter the error.. anymore suggestions and ideas? thanks, allan ----- Original Message ----- From: "Зверев Виталий Борисович" <VZverev@xxxxxxxxxxxxxx> To: "'FreeTDS Development Group'" <freetds@xxxxxxxxxxxxxxxxx> Sent: Wednesday, September 17, 2003 10:07 PM Subject: RE: [freetds] freetds on solaris 9 > 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@xxxxxxxxxxxxxxxxxxxxx] > Sent: Wednesday, September 17, 2003 11:18 AM > To: freetds@xxxxxxxxxxxxxxxxx > 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 > -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@xxxxxxxxxxxxxxxxx > 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. > ************************************************************** > > _______________________________________________ > FreeTDS mailing list > FreeTDS@xxxxxxxxxxxxxxxxx > http://lists.ibiblio.org/mailman/listinfo/freetds _______________________________________________ FreeTDS mailing list FreeTDS@xxxxxxxxxxxxxxxxx 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. **************************************************************
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | SQLPrepare, SQL Execute fails on SQL 7 but works on SQL 2K, Rogers, Tom |
|---|---|
| Next by Date: | RE: freetds on solaris 9, Зверев Виталий Борисович |
| Previous by Thread: | Re: freetds on solaris 9, Ako Ito |
| Next by Thread: | Re: freetds on solaris 9, Ako Ito |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |