Portupgrade problem

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Oct 19 13:14:36 PDT 2005


"Craig Deal" <craig at advantagecomputer.biz> writes:

>  
> > -----Original Message-----
> > From: Lowell Gilbert [mailto:lowell at be-well.ilk.org] 
> > Sent: Wednesday, October 19, 2005 2:40 PM
> > To: freebsd-questions at freebsd.org
> > Cc: Craig Deal
> > Subject: Re: Portupgrade problem
> > 
> > Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> writes:
> > 
> > > "Craig Deal" <craig at advantagecomputer.biz> writes:
> > > 
> > > >  
> > > > 
> > > > > -----Original Message-----
> > > > > From: owner-freebsd-questions at freebsd.org
> > > > > [mailto:owner-freebsd-questions at freebsd.org] On Behalf 
> > Of Lowell 
> > > > > Gilbert
> > > > > Sent: Wednesday, October 19, 2005 1:39 PM
> > > > > To: Craig Deal
> > > > > Cc: freebsd-questions at freebsd.org
> > > > > Subject: Re: Portupgrade problem
> > > > > 
> > > > > "Craig Deal" <craig at advantagecomputer.biz> writes:
> > > > > 
> > > > > > I installed portupgrade from packages today. Whenever I run 
> > > > > > "portupgrade -arR" or "pkgdb -uvF" I get the following message:
> > > > > > 
> > > > > > "/libexec/ld-elf.so.1: Shared object "libcrypt.so.3" not found, 
> > > > > > required by "ruby18"
> > > > > > 
> > > > > > I'm not sure what to do from here. I have "ruby-1.8.2_4"
> > > > > > and "ruby18-bdb1-0.2.2" installed from packages also. Any
> > > > > > suggestions on what to do from here?
> > > > > 
> > > > > Wild guess: you installed a 6.0 package on a 5.4 system.
> > > > > _______________________________________________
> > > > 
> > > > 
> > > > Is that possible using "pkg_add -r portupgrade"?
> > > 
> > > It shouldn't be.  It looks like it can happen if you upgrade pkg_add 
> > > or the kernel without the other, and occasional bugs do slip in.
> > > 
> > > What does "uname -a" tell you?  [This is almost always a good thing to 
> > > include in your questions.]
> > 
> > Oh, yes:  and "sysctl kern.osreldate"?
> > 
> 
> 
> FreeBSD mx1.acspros.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8
> 10:21:06 UTC 2005
> root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> 
> kern.osreldate: 504000

Well, those should definitely be fetching the 5.4-RELEASE packages.

How did you install ruby?  
That's the program (as opposed to portupgrade) that's trying to link
to the wrong library, and the version you have installed is not the
one you would have gotten from the 5.4-RELEASE packages.


More information about the freebsd-questions mailing list