Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: freetds on solaris 9: msg#00091

db.tds.freetds

Subject: RE: freetds on solaris 9

Hi all !
I'm sorry, forgot about #6...
6) make ;)

Sincerely yours.

------------------------------------------------------------
Vitaly Zverev, Oracle Applications DBA,
Genesis Ltd., S.Petersburg, Russia


-----Original Message-----
From: Зверев Виталий Борисович [mailto:VZverev@xxxxxxxxxxxxxx]
Sent: Friday, September 19, 2003 12:52 PM
To: 'FreeTDS Development Group'
Subject: RE: [freetds] freetds on solaris 9


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.
**************************************************************

_______________________________________________
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>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation