[freetds] problem about freeTDS installing on solaris, help me
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Thu Jun 10 11:19:15 EDT 2004
> 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.
> > [...]
> Thank your reply so much.
> I add "-lsocket -lnsl" to compile my programe, but I still
> get serveral
> This is my compiling command. Is it right? It may succeed
> in compiling in
> May you check it for me?
> Best regards.
> 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
> 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
More information about the FreeTDS