freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] problem about freeTDS installing on solaris, help me
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] problem about freeTDS installing on solaris, help me
- Date: Thu, 10 Jun 2004 17:19:15 +0200
>
> On Thu, 10 Jun 2004 10:58:33 +0200, Magnus B�ck wrote
> > On Thursday, June 10, 2004 at 07:59 CEST,
> > ldai <ldai AT accunettech.com> wrote:
> >
> > > I download freetds-stable.tgz to install on solaris 8.
> Succeeded in
> > > installing. When I try to compile test programe on solaris, I get
> > > thoes results. I found those messages is about functions
> which are not
> > > been supported by solaris.
> >
> > They are, but you need to link your program with the
> correct libraries.
> > Specifically, you're missing libsocket and libnsl, so add
> "-lsocket -
> > lnsl" to the linker arguments.
> >
> > Do not start new threads by replying to old messages in unrelated
> > threads. It's not that hard work to start a new message and address
> > it correctly.
> >
> > [...]
> >
> Hi:
> Thank your reply so much.
> I add "-lsocket -lnsl" to compile my programe, but I still
> get serveral
> errors.
> This is my compiling command. Is it right? It may succeed
> in compiling in
> linux.
> May you check it for me?
>
> Best regards.
> Leon
> 9th,June 2004
> gcc -I. -I/usr/local/freetds/include
> test.c /usr/local/freetds/lib/libsybdb.a -lm -o test -lsocket -lnsl
>
> ------link results-----------------
> Undefined first referenced
> symbol in file
> libiconv
> /usr/local/freetds/lib/libsybdb.a(iconv.o)
> libiconv_open
> /usr/local/freetds/lib/libsybdb.a(iconv.o)
> ReleaseIPAddress
> libnextipc.a(f_nip_UpdateDHCPAlloc.o)
> libiconv_close
> /usr/local/freetds/lib/libsybdb.a(iconv.o)
> ld: fatal: Symbol referencing errors. No output written to ms_sql
> collect2: ld returned 1 exit status
>
Try to add -liconv. It's quite strange that linker it's trying to link static
library and not dynamic one...
About ReleaseIPAddress I don't know, f_nip_UpdateDHCPAlloc module it's not in
FreeTDS
freddy77
-
RE: [freetds] problem about freeTDS installing on solaris, help me,
ZIGLIO, Frediano, VF-IT, 06/10/2004
- <Possible follow-up(s)>
-
RE: [freetds] problem about freeTDS installing on solaris, help me,
Lowden, James K, 06/10/2004
- RE: [freetds] problem about freeTDS installing on solaris, help me, ldai, 06/10/2004
Archive powered by MHonArc 2.6.24.