*BSD News Article 58930


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!news.gtn.com!knobel.gun.de!usenet
From: andreas@knobel.gun.de (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ld.so errors
Date: 7 Jan 1996 10:10:58 GMT
Lines: 66
Message-ID: <4co67i$cn@knobel.gun.de>
References: <30EEF166.41C67EA6@vt.edu>
NNTP-Posting-Host: knobel.gun.de
X-Newsreader: knews 0.9.3
In-Reply-To: <30EEF166.41C67EA6@vt.edu>
To: Ryan Schutt <rschutt@vt.edu>

In article <30EEF166.41C67EA6@vt.edu>,
	Ryan Schutt <rschutt@vt.edu> writes:
>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
>
>I get the following error when running dip:
>
>ld.so: warning: libc.so.2.1: minor version < 2 expected, using
>it anyway
>
>So, what's up with my ld.so or whatever ?!?!?!?  Where can I
>get a newer ld.so?
>
>Please reply in email to rschutt@vt.edu

Usually a reply via e-mail gets to the address where the message
is from ... And since you have a fine From: line, it's not needed
to say that ....

You have possibly installed a new FreeBSD with new Shared
libraries and are running applications on it, that were
compiled and linked with an older FreeBSD with older Shared
libs. So the dynamic loader complains about the fact, that
he can't find exactly the same shared libs, with that the executable
was linked.

You should install either the compat1 and compat2 libraries, or
you simply make a symbolic link, so that your new shared libs
are also known under the other name, where ld.so complains about
it...

Look at my /usr/lib/libc.* files

-r--r--r--  1 bin  bin  523266 Jan  6 14:35 /usr/lib/libc.a
lrwxr-xr-x  1 bin  bin      11 Jan  6 14:48 /usr/lib/libc.so.1.0 -> libc.so.2.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some program needed a libc.so.1.0. I don't have the shared lib
anymore ... So I did the trick, to make a symbolic link, that 
points to the newest shared lib on the system
	# cd /usr/lib
	# ln -s libc.so.2.2 libc.so.1.0
				^^^^--- the file that should be created
		^^^^^^^^^^---- where the link should point to

-r--r--r--  1 bin  bin  403106 Jul  3  1994 /usr/lib/libc.so.1.1
-r--r--r--  1 bin  bin  425907 Jun 10  1995 /usr/lib/libc.so.2.1
-r--r--r--  1 bin  bin  464121 Jan  6 14:35 /usr/lib/libc.so.2.2
These are some older versions of libc, that I kept here....

Hope everything is clear ?! ;-)

	Andreas ///

-- 
andreas@knobel.gun.de       /\/\___  Wiechers & Partner Datentechnik GmbH
   Andreas Klemm        ___/\/\/       - Support Unix - aklemm@wup.de -
                             \/
       ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz
apsfilter - magic print filter 4lpd  >>> knobel is powered by FreeBSD <<<