Skip to Content.
Sympa Menu

freetds - Re: dbopen problem in dblib under Debian 2.0.36 (really)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: dbopen problem in dblib under Debian 2.0.36 (really)
  • Date: Thu, 29 Jul 1999 08:18:46 -0700 (PDT)


Tom Channic writes:
> Hi,
>
> I'm trying to port a SUNOS 4.x app to Debian 2.0.36.
>
> I got it to compile but when it runs I get a segmentation fault.
>
> Looking at the stack frame in the debugger, I can see that it gets
> into the "search_interfaces_file" function and finds the correct
> info from the interfaces file, and calls lookup_host. The SEGV
> comes when lookup_host calls getservbyname, which calls getservbyname_r,
> which then calls three unnamed functions, the last of which calls
> dbopen again (!?) with a null value for server.

Could getservbyname() interface to a db or ndbm file?
If so you're running into the classic dbopen() conflict between the
two libraries...

Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler AT peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com




Archive powered by MHonArc 2.6.24.

Top of Page