Skip to Content.
Sympa Menu

freetds - Re: make check failed- help

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: make check failed- help
  • Date: Tue, 26 Jun 2001 09:48:04 -0400 (EDT)


Ok there was a similar problem a couple of weeks ago for Solaris on
x86. Something with libtool i think. Any of you solaris people care to
take a crack at this one?

On Tue, 26 Jun 2001, h franks wrote:

> Hum. I recompiled again and the problem disappeared
> and the tests worked. now does anyone know about the
> errors following the test. also does DBD::SYBASE does
> work with freetds in perl (given that i specify
> freetds as driver)
>
> {decibel.eng.utoledo.edu:188} make check
> make check-recursive
> Making check in include
> make
> Making check in src
> make check-recursive
> Making check in tds
> make check-recursive
> Making check in unittests
> make check-TESTS
> t0001.c: Testing login, logout
> PASS: t0001
> t0002.c: Test basic submit query, results
> PASS: t0002
> t0003.c: Testing DB change -- 'use tempdb'
> PASS: t0003
> t0004.c: Test large (>512 bytes) queries
> PASS: t0004
> t0005.c: Test large (>512 bytes) replies
> PASS: t0005
> t0006.c: Test SYBREAL, SYBFLT8 values
> PASS: t0006
> ==================
> All 6 tests passed
> ==================
> Making check in ctlib
> make check-recursive
> Making check in unittests
> gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\"
> -DSTDC_HEADERS=1 -DBSD_COMP=1 -DWOR
> 2 -c t0001.c
> gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\"
> -DSTDC_HEADERS=1 -DBSD_COMP=1 -DWOR
> 2 -c common.c
> /bin/sh ../../../libtool --mode=link gcc -g -O2
> -DTDS42 -o t0001 t0001.o commo
> mkdir .libs
> gcc -g -O2 -DTDS42 -o .libs/t0001 t0001.o common.o
> ../.libs/libct.so -lsocket -R
> Undefined first referenced
> symbol in file
> tds_alloc_login ../.libs/libct.so
> tds_process_result_tokens ../.libs/libct.so
> tds_get_null ../.libs/libct.so
> tds_set_charset ../.libs/libct.so
> tds_set_bulk ../.libs/libct.so
> tds_connect ../.libs/libct.so
> tds_submit_query ../.libs/libct.so
> g_tds_err_handler ../.libs/libct.so
> tds_get_conversion_type ../.libs/libct.so
> tds_free_results ../.libs/libct.so
> tds_set_version ../.libs/libct.so
> tds_set_parent ../.libs/libct.so
> tds_process_cancel ../.libs/libct.so
> tds_set_packet ../.libs/libct.so
> tds_set_app ../.libs/libct.so
> tds_convert ../.libs/libct.so
> tds_set_library ../.libs/libct.so
> tds_set_passwd ../.libs/libct.so
> tds_free_socket ../.libs/libct.so
> tds_set_user ../.libs/libct.so
> tds_set_server ../.libs/libct.so
> tds_free_login ../.libs/libct.so
> tdsdump_log ../.libs/libct.so
> tds_send_cancel ../.libs/libct.so
> g_tds_msg_handler ../.libs/libct.so
> tds_process_row_tokens ../.libs/libct.so
> ld: fatal: Symbol referencing errors. No output
> written to .libs/t0001
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `t0001'
> Current working directory
> /var/tmp/hfranks/src/ctlib/unittests
> *** Error code 1
> make: Fatal error: Command failed for target
> `check-recursive'
> Current working directory /var/tmp/hfranks/src/ctlib
> *** Error code 1
> make: Fatal error: Command failed for target `check'
> Current working directory /var/tmp/hfranks/src/ctlib
> *** Error code 1
> make: Fatal error: Command failed for target
> `check-recursive'
> Current working directory /var/tmp/hfranks/src
> *** Error code 1
> make: Fatal error: Command failed for target `check'
> Current working directory /var/tmp/hfranks/src
> *** Error code 1
> make: Fatal error: Command failed for target
> `check-recursive'
> Current working directory /var/tmp/hfranks
> *** Error code 1
> make: Fatal error: Command failed for target `check'
> {decibel.eng.utoledo.edu:189}
>
>
> --- h franks <harfranks AT yahoo.com> wrote:
> > hum interesting
> > correct me if i am not using sqsh right.
> >
> > {decibel.eng.utoledo.edu:169} setenv SYBASE
> > /var/tmp/hfranks
> > {decibel.eng.utoledo.edu:170} setenv LD_LIBRARY_PATH
> > $SYBASE/lib:${LD_LIBRARY_PATH}
> > {decibel.eng.utoledo.edu:171} echo $SYBASE
> > /var/tmp/hfranks
> > {decibel.eng.utoledo.edu:172} echo $LD_LIBRARY_PATH
> >
> /var/tmp/hfranks/lib:/var/tmp/hfranks/lib:/usr/lib:/usr/ccs/lib:/opt/SUNWspro/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:/eng/local/lib:/eng/gnu/lib:/eng/local/X/R6/lib:/eng/applications/CenterLine/lib
> > {decibel.eng.utoledo.edu:173} ls
> > COPYING ChangeLog FAQ README.bin doc
> >
> > sqsh
> > {decibel.eng.utoledo.edu:174} ./sqsh
> > ld.so.1: ./sqsh: fatal: libcs.so: open failed: No
> > such
> > file or directory
> > Killed
> > {decibel.eng.utoledo.edu:175}
> >
> > --- Brian Bruns <camber AT ais.org> wrote:
> > > Ok, perhaps there is something wrong with 'make
> > > check'? Can you do a make
> > > install (to a temp directory if necessary using
> > > --prefix) and then compile
> > > SQSH? Instructions are in the users guide if you
> > > need them.
> > >
> > > Brian
> > >
> > > On Mon, 25 Jun 2001, h franks wrote:
> > >
> > > > Brian, I have used both 4.2 and 7.0 along with
> > > various
> > > > combinations of the msdblib in fustration., But
> > to
> > > no
> > > > avail. does the make check depend on msdblib or
> > > not?
> > > > I know thatt if I end up using it for perl this
> > > would
> > > > be disabled.
> > > > thanks for the help
> > > >
> > > > Joe
> > > > --- Brian Bruns <camber AT ais.org> wrote:
> > > > >
> > > > > TDS 7.0 will not currently work from a
> > bigendian
> > > > > machine (such as
> > > > > sparc). you'll need to use TDS 4.2. You can
> > just
> > > > > export LD_LIBRARY_PATH if
> > > > > you can not add the freetds lib dir to the
> > > > > ld.so.conf file. The other
> > > > > thing is, unless you are porting dblib code
> > from
> > > > > Windows, don't use the
> > > > > --enable-msdblib option as most tools written
> > on
> > > > > unix use Sybase
> > > > > semantics.
> > > > >
> > > > > BTW, I am working on getting TDS 7.0 working
> > on
> > > > > bigendian but it may be a
> > > > > few weeks.
> > > > >
> > > > > Brian
> > > > >
> > > > > On Mon, 25 Jun 2001, Joe wrote:
> > > > >
> > > > > > hey,
> > > > > > I am running on a Sun Solaris machine and
> > am
> > > > > having touble getting make
> > > > > > check to connect to a MS SQL 7.0. The
> > server
> > > is
> > > > > listing and I have
> > > > > > configured like this. ./configure
> > > > > --prefix=/var/tmp/hfranks
> > > > > > --with-tdsver=7.0 --enable-msdblib
> > > > > > I have also setenv SYBASE /var/tmp/hfranks
> > > > > > setenv LD_LIBRARY_PATH
> > > > > $SYBASE/lib:${LD_LIBRARY_PATH}
> > > > > >
> > > > > > also set the interfaces file and the PWD
> > file
> > > to
> > > > > be correct.
> > > > > >
> > > > > > i have alos asked my boss to edit the
> > > ld.so.config
> > > > > file to allow use of my
> > > > > > path, but dont know if he has done so. He's
> > > rather
> > > > > picky about granting
> > > > > > access to the lib directory
> > > > > >
> > > > > >
> > > > > > below is a snip from the output file
> > > > > >
> > > > > > t001.c: Testing login, logout
> > > > > > tds_connect() failed
> > > > > > try_tds_login() failed
> > > > > > FAIL:t001
> > > > > >
> > > > > > It looks to me that he didnt edit the
> > > ld.so.config
> > > > > file but i would like
> > > > > > some feedback
> > > > >
> > > > >
> > > > > ---
> > > > > You are currently subscribed to freetds as:
> > > > > [harfranks AT yahoo.com]
> > > > > To unsubscribe, forward this message to
> > > > $subst('Email.Unsub')
> > > >
> > > >
> > > >
> > __________________________________________________
> > > > Do You Yahoo!?
> > > > Get personalized email addresses from Yahoo!
> > Mail
> > > > http://personal.mail.yahoo.com/
> > > >
> > > > ---
> > > > You are currently subscribed to freetds as:
> > > [camber AT ais.org]
> > > > To unsubscribe, forward this message to
> > > $subst('Email.Unsub')
> > > >
> > >
> > >
> > > ---
> > > You are currently subscribed to freetds as:
> > > [harfranks AT yahoo.com]
> > > To unsubscribe, forward this message to
> > $subst('Email.Unsub')
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > ---
> > You are currently subscribed to freetds as:
> > [harfranks AT yahoo.com]
> > To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page