Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 1997 11:43:26 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Mark Ovens <Mark.Ovens@uk.radan.com>
Cc:        questions@freebsd.org
Subject:   Re: ld.so error
Message-ID:  <Pine.BSI.3.94.970206114212.829U-100000@localhost>
In-Reply-To: <199702050831.IAA07887@support-5.uk.radan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 Feb 1997, Mark Ovens wrote:

> 	I found an old Sun OpenWindows demo CD at work with various source
> code files on it. With a few mods to the source I have got most of them to
> compile & link without errors on my PC under FreeBSD 2.1.0.
> 
> 	However, one of them produces the following error when I attempt to
> run the executable:
> 
> 	ld.so: Undefined symbol "_cfree" called from textedit:/usr/X11R6/lib
> /libxview.s0.6.2 at 0x8123710
> 
> 	Can anyone explain this error, and more importantly tell me how to
> fix it!!. I am curious that such an error should occur when running the prog
> on the same machine it was compiled & linked on.

It makes a call to a shared library.  I don't believe symbols are resolved
in shared libs until runtime.  You'll have to dig through the libxview
source and find where cfree is, or remove the call in your source.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970206114212.829U-100000>