Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!ix.netcom.com!news.webspan.net!usenet From: gpalmer@mutara.noc.webspan.net (Gary Palmer) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Sybase CTLib for Linux on FreeBSD Date: 29 Jan 1997 00:52:38 GMT Organization: WebSpan Inc., New Jersey Lines: 26 Message-ID: <5cm70m$ssn@news.webspan.net> References: <32EB936E.3F54BC7E@li.net> NNTP-Posting-Host: mutara.noc.webspan.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34081 In article <32EB936E.3F54BC7E@li.net>, "John W. Carbone" <jwc@li.net> writes: > When trying to compile one of the sample programs for CT-Lib, > I get the following undefined symbols: > > Undefined symbol `__IO_stderr_' referenced from text segment > Undefined symbol `__IO_stdout_' referenced from text segment > Undefined symbol `___ctype_b' referenced from text segment > Undefined symbol `___overflow' referenced from text segment > > I'm hoping that since Linux uses IBCS2, I'll be able to write Sybase > client for FreeBSD using these libraries by mapping the symbols > to FreeBSD counterparts or by supplying equivalent the functionality > for the missing symbols. Sorry if I'm barking up the wrong binary tree here, but as far as I know Linux needs the special kernel emulator, and IBCS2 was really only meant for SCO. If this is an ELF binary that you're running, you may be running into the problem that ELF binaries contain *NO* OS tag, so the kernel currently assumes (wrongly) that it's a native FreeBSD ELF binary rather than a Linux binary to be run under emulation. Yours Gary