Skip to Content.
Sympa Menu

freetds - [freetds] Problem during "make check" unittest fails due to "missing" library

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jason Luros" <jluros AT qualys.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problem during "make check" unittest fails due to "missing" library
  • Date: Tue, 16 Dec 2003 16:53:50 -0800

I've read through the archives, and been working on this one for a few
days. Any help would be appreciated.



My configure switches:

# ./configure --prefix=/usr/local/freetds --with-tdsver=7.0
--with-iodbc=/usr/local/iODBC/





from "make check":

...

===================

All 24 tests passed

===================

make[4]: Leaving directory
`/home/jluros/src/freetds-0.61.2/src/dblib/unittests'

make[3]: Leaving directory
`/home/jluros/src/freetds-0.61.2/src/dblib/unittests'

make[3]: Entering directory `/home/jluros/src/freetds-0.61.2/src/dblib'

make[3]: Nothing to be done for `check-am'.

make[3]: Leaving directory `/home/jluros/src/freetds-0.61.2/src/dblib'

make[2]: Leaving directory `/home/jluros/src/freetds-0.61.2/src/dblib'

Making check in odbc

make[2]: Entering directory `/home/jluros/src/freetds-0.61.2/src/odbc'

Making check in unittests

make[3]: Entering directory
`/home/jluros/src/freetds-0.61.2/src/odbc/unittests'

make t0001 t0002 t0003 t0004 connect print date

make[4]: Entering directory
`/home/jluros/src/freetds-0.61.2/src/odbc/unittests'

if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
-I/usr/local/iODBC//include -D_FREETDS_LIBRARY_SOURCE -DTDS70 -DIODBC
-Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT t0001.o -MD
-MP -MF ".deps/t0001.Tpo" \

-c -o t0001.o `test -f 't0001.c' || echo './'`t0001.c; \

then mv ".deps/t0001.Tpo" ".deps/t0001.Po"; \

else rm -f ".deps/t0001.Tpo"; exit 1; \

fi

if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
-I/usr/local/iODBC//include -D_FREETDS_LIBRARY_SOURCE -DTDS70 -DIODBC
-Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT common.o -MD
-MP -MF ".deps/common.Tpo" \

-c -o common.o `test -f 'common.c' || echo './'`common.c; \

then mv ".deps/common.Tpo" ".deps/common.Po"; \

else rm -f ".deps/common.Tpo"; exit 1; \

fi

/bin/sh ../../../libtool --mode=link gcc -g -O2
-L/usr/local/iODBC//lib -o t0001 t0001.o common.o -lodbc -lnsl

mkdir .libs

gcc -g -O2 -o t0001 t0001.o common.o -L/usr/local/iODBC//lib -lodbc
-lnsl

/usr/bin/ld: cannot find -lodbc

collect2: ld returned 1 exit status

make[4]: *** [t0001] Error 1

_____________________
Jason Luros
CRM Manager
Qualys, Inc.
Security On-Demand

Tel: 650.801.6125
Email: <mailto:jluros AT qualys.com> jluros AT qualys.com
_____________________






  • [freetds] Problem during "make check" unittest fails due to "missing" library, Jason Luros, 12/16/2003

Archive powered by MHonArc 2.6.24.

Top of Page