freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Зверев Виталий Борисович <VZverev AT genesis.spb.ru>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] freetds on solaris 9
- Date: Fri, 19 Sep 2003 12:52:18 +0400
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 AT lxd1.asiandevbank.org]
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 AT genesis.spb.ru>
To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
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 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
>
-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.
> **************************************************************
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
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.
**************************************************************
-
[freetds] freetds on solaris 9,
Ako Ito, 09/17/2003
- <Possible follow-up(s)>
- RE: [freetds] freetds on solaris 9, Зверев Виталий Борисович, 09/17/2003
-
RE: [freetds] freetds on solaris 9,
Зверев Виталий Борисович, 09/17/2003
- Re: [freetds] freetds on solaris 9, Ako Ito, 09/18/2003
-
RE: [freetds] freetds on solaris 9,
Зверев Виталий Борисович, 09/19/2003
- Re: [freetds] freetds on solaris 9, Ako Ito, 09/22/2003
- RE: [freetds] freetds on solaris 9, Зверев Виталий Борисович, 09/19/2003
Archive powered by MHonArc 2.6.24.