Date: Sat, 22 Apr 2006 21:58:53 +0200 From: Guillermo MORENO-SOCIAS <Guillermo.Moreno-Socias@math.uvsq.fr> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@freebsd.org Subject: Re: library problem ? Message-ID: <20060422195853.GA21267@math.uvsq.fr> In-Reply-To: <20060422194825.GA15897@xor.obsecurity.org> References: <20060422182109.GA19495@math.uvsq.fr> <20060422182910.GA14697@xor.obsecurity.org> <20060422184415.GB19618@math.uvsq.fr> <20060422185932.GA15170@xor.obsecurity.org> <20060422194019.GA20380@math.uvsq.fr> <20060422194825.GA15897@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 22, 2006 at 03:48:25PM -0400, Kris Kennaway wrote: > On Sat, Apr 22, 2006 at 09:40:19PM +0200, Guillermo MORENO-SOCIAS wrote: > > On Sat, Apr 22, 2006 at 02:59:32PM -0400, Kris Kennaway wrote: > > > On Sat, Apr 22, 2006 at 08:44:15PM +0200, Guillermo MORENO-SOCIAS wrote: > > > > On Sat, Apr 22, 2006 at 02:29:10PM -0400, Kris Kennaway wrote: > > > > > On Sat, Apr 22, 2006 at 08:21:09PM +0200, Guillermo MORENO-SOCIAS wrote: > > > > > > Hello. > > > > > > > > > > > > When trying to use portsnap I get: > > > > > > > > > > > > # portsnap fetch > > > > > > Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org. > > > > > > Fetching public key... /libexec/ld-elf.so.1: /sbin/sha256: Undefined symbol "SHA256_File" > > > > > > [: =: unexpected operator > > > > > > key has incorrect hash. > > > > > > # > > > > > > > > > > > > The background is the following: After installing a RELENG_5_4 > > > > > > (FreeBSD 5.4-RELEASE) kernel and updating my ports tree I installed a > > > > > > RELENG_5 kernel (FreeBSD 5.5-PRERELEASE). Because of a problem of > > > > > > very slow network (which was not corrected by 5.5), I downgraded the > > > > > > kernel to a RELENG_5_4_0_RELEASE applying the security patches (from > > > > > > FreeBSD-SA-05:09.htt.asc to FreeBSD-SA-06:14.fpu.asc). > > > > > > > > > > Looks like you need to rebuild world. > > > > > > > > > > Kris > > > > > > > > This is what I did: > > > > > > > > cd /usr/src > > > > make buildworld > > > > make installworld > > > > make buildkernel KERNCONF=FERMAT2 > > > > make installkernel KERNCONF=FERMAT2 > > > > mergemaster > > > > > > > > Is not this enough? I hope I am not too ignorant... > > > > > > OK, try rebuilding the port & all its dependencies then. > > > > > > Kris > > > > I am trapped! How could I get out of this? > > > > # portupgrade -frv sysutils/portsnap -m '-DNO_CHECKSUM' > > ---> Session started at: Sat, 22 Apr 2006 21:36:23 +0200 > > ---> Reinstallation of sysutils/portsnap started at: Sat, 22 Apr 2006 21:36:25 +0200 > > ---> Reinstalling 'portsnap-1.0' (sysutils/portsnap) > > ---> Build of sysutils/portsnap started at: Sat, 22 Apr 2006 21:36:25 +0200 > > ---> Building '/usr/ports/sysutils/portsnap' > > ===> Cleaning for bsdiff-4.3 > > ===> Cleaning for freebsd-sha256-20050310 > > ===> Cleaning for portsnap-1.0 > > ===> Vulnerability check disabled, database not found > > ===> Extracting for portsnap-1.0 > > => MD5 Checksum OK for portsnap-1.0.tar.gz. > > /libexec/ld-elf.so.1: /sbin/sha256: Undefined symbol "SHA256_Init" > > *** Error code 1 > > ls -l /sbin/sha256 and check whether it is older than the other files > in the directory. I think this binary was added after 5.4-RELEASE, so > when you downgraded it stopped functioning, yet ports still see that > it is there and try to use it. If it's indeed older, just remove it. > > Kris That was it! Thank you very much! Guillermo Moreno-Socias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422195853.GA21267>