Skip to Content.
Sympa Menu

freetds - Re: dbdead

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: dbdead
  • Date: Fri, 14 Jun 2002 16:16:09 -0400


> From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
> Sent: June 14, 2002 3:28 PM
>
> > dbdead is not there but the sybase equivilent DBDEAD is.
>
> $ uname -a
> OSF1 dec050.beehive.com V4.0 878 alpha
>
> I used Gnu make to make FreeTDS, which invoked Gnu's make and gcc.

Update.

It linked. Somewhere something, probably one of my firm's old libraries,
must have been calling "dbdead". Using "nm", I found DBDEAD in libsybdb.a,
so I wrote a local dbdead() to call DBDEAD(). On to problem #2.

Now I've moved onto runtime errors. I'm not familiar with OSF1; I've never
built anything on this box before. i hope someone here knows more about my
environment than I do. :) Who put Australia 12 timezones into Saturday,
anyway?

$ ./sybasebulkcopycall # name of homegrown app
27265:./sybasebulkcopycall: /sbin/loader: Error: Unresolved symbol in
/usr/users/jklowden/local/lib/libsybdb.so: iconv_open
27265:./sybasebulkcopycall: /sbin/loader: Error: Unresolved symbol in
/usr/users/jklowden/local/lib/libsybdb.so: iconv
27265:./sybasebulkcopycall: /sbin/loader: Error: Unresolved symbol in
/usr/users/jklowden/local/lib/libsybdb.so: vsnprintf
27265:./sybasebulkcopycall: /sbin/loader: Error: Unresolved symbol in
/usr/users/jklowden/local/lib/libsybdb.so: iconv_close
27265:./sybasebulkcopycall: /sbin/loader: Fatal Error: this executable has
unresolvable symbols

Looks like I've got a "Run-time linker and loader", according to loader(5).


The FreeTDS config.cache says

$ grep iconv config.cache
am_cv_func_iconv=${am_cv_func_iconv=yes}
am_cv_lib_iconv=${am_cv_lib_iconv=yes}
am_cv_proto_iconv=${am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char
* *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'}
am_cv_proto_iconv_arg1=${am_cv_proto_iconv_arg1=''}

Do you think ./configure found a real iconv but loader(5) doesn't know where
it is? Or do I have to adjust the Makefile somehow?

Thanks.

--jkl



  • dbdead, Lowden, James K, 06/14/2002
    • <Possible follow-up(s)>
    • Re: dbdead, Brian Bruns, 06/14/2002
    • Re: dbdead, Lowden, James K, 06/14/2002
    • Re: dbdead, Lowden, James K, 06/14/2002
    • Re: dbdead, Lowden, James K, 06/14/2002
    • Re: dbdead, Brian Bruns, 06/15/2002
    • Re: dbdead, James K . Lowden, 06/15/2002

Archive powered by MHonArc 2.6.24.

Top of Page