Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sprintlink.net!news.accessone.com!not-for-mail From: jdp@polstra.com (John Polstra) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ld.so errors Date: 8 Jan 1996 09:55:33 -0800 Organization: Polstra & Co., Seattle, WA Lines: 60 Message-ID: <4crlql$5ai@austin.polstra.com> References: <30EEF166.41C67EA6@vt.edu> NNTP-Posting-Host: austin.polstra.com In article <30EEF166.41C67EA6@vt.edu>, Ryan Schutt <rschutt@vt.edu> wrote: > I get the following error when trying to run display from > ImageMagick : > > ld.so: display: libMagick.so.3.6: Undefined error: 0 > > I get the following error when trying to run xpaint: > > ld.so: xpaint: libtiff.so.3.3: Undefined error: 0 Whenever you report a problem, please be sure to say which version of FreeBSD you're using. From these messages, it seems likely that you're running FreeBSD-2.0.5 or earlier. You get a more reasonable error message from ld.so in 2.1. Anyway, the application needs a particular shared library, but cannot find it on the system. This is because either (1) you have not installed the library on your system, or (2) you forgot to run "ldconfig" after installing the library. To see whether the library is installed, look for the file (e.g., "libMagick.so.3.6") in these directories: /usr/lib /usr/X11R6/lib /usr/local/lib If the library is installed (or, after you've installed it), either reboot the system, or run "ldconfig" by hand, as root: /sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib (On 2.1, there's a slightly simpler way to do this, but it looks like you're not running 2.1.) > I get the following error when running dip: > > ld.so: warning: libc.so.2.1: minor version < 2 expected, using > it anyway This is a very confusing message, isn't it?? I've changed it in my current working version of ld.so (soon to be released). Here's what it means: Your application was built on a system that whose "libc" version number was 2.2. But on your system, the most up-to-date "libc" version is 2.1, which is older than 2.2. The dynamic linker is warning you that your version of "libc" may not work for your application. You can fix this by installing "libc.so.2.2" or later into "/usr/lib". > So, what's up with my ld.so or whatever ?!?!?!? Where can I > get a newer ld.so? Unless you're pretty sure you know what you're doing, your best bet is just to upgrade to 2.1. There are interdependencies between various parts of the system, and it's hard to know what's compatible with what. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth