Skip to Content.
Sympa Menu

freetds - Re: [freetds] Freetds 0.62.4 on Solaris 8

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Alex S Moore <asmoore AT edge.net>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Freetds 0.62.4 on Solaris 8
  • Date: Fri, 15 Oct 2004 14:22:48 -0500

On Fri, 2004-10-15 at 10:02 -0700, joekewl AT socal.rr.com wrote:
> Hello all,
>
> I am having the exact same problem on a sparc Solaris 9 system. Does anyone
> know what the fix to this problem was?
> Thanks,
>
> --Robert
>
>
> > ------ Original Message -----
> >
> > Having problems when running make.
> >
> > Getting the following error:-
> >
> > gcc -g -O2 -o .libs/tsql tsql.o -lncurses -lreadline
> > ../tds/.libs/libtds.so
> > -lnsl -lsocket -R/usr/local/lib
> > Undefined first referenced
> > symbol in file
> > tds_set_interfaces_file_loc tsql.o

Not seeing anything like that here on either Solaris 8 or 9, but I may
be using different configure options.

Still, you probably should have '-L/usr/local/lib' on the gcc line.
What is $LDFLAGS? In your case, it appears that
LDFLAGS='-L/usr/local/lib' would be appropriate.

The '-R' option is used by the linker and does not help the compiler
find libraries. I use LD_OPTIONS to set the '-R' option.

Alex






Archive powered by MHonArc 2.6.24.

Top of Page