From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 00:33:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C0C1065672 for ; Fri, 16 Apr 2010 00:33:42 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 671188FC15 for ; Fri, 16 Apr 2010 00:33:40 +0000 (UTC) Received: by wyb28 with SMTP id 28so1022519wyb.13 for ; Thu, 15 Apr 2010 17:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=rOk+4RmUOVZ5bm0DPZzZ6X4ckYVLExvbEpRAgRdMIzM=; b=uc7VYY+eyMXLY827yudmbVJ/NabrJzFZ72kmb2bage+eeKCeZqFnejVqje8RQprItI gclWdSF59PTn7oi7ev6l6pvAPFPwgHPJwU4BVFWsr1H2OpcmTU1/2Fq5GDq2rIY8NrB0 VV1Ey+Yz6HelXriyn8RpVxHVDBCP1qvbUlaFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hzoKcnVefLEbEB5IJQbIqMDpNKyczioT2JVGNq3GHjNTnmwtH5jJsQegumwKbL6YUt J0Kc5xN1DYpaAGKTAczXRyudA/cJEjHzNjcXL3ZNBfgByAczbumt7WZixSD5Yu8WGEAn wGGdtPYtAyDEwM3bE6a+QzacyNH+r2CRXfxzY= MIME-Version: 1.0 Received: by 10.216.179.9 with HTTP; Thu, 15 Apr 2010 17:33:38 -0700 (PDT) In-Reply-To: <20100416002741.GF91992@mech-cluster241.men.bris.ac.uk> References: <20100415235831.GE91992@mech-cluster241.men.bris.ac.uk> <20100416002741.GF91992@mech-cluster241.men.bris.ac.uk> Date: Thu, 15 Apr 2010 19:33:38 -0500 Received: by 10.216.90.206 with SMTP id e56mr840133wef.167.1271378018958; Thu, 15 Apr 2010 17:33:38 -0700 (PDT) Message-ID: From: Antonio Olivares To: Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: libexec/ld-elf.so.1: Shared object "libpng.so.5" not found, required by "gnome-session" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 00:33:42 -0000 Thank you Anton for helping me. The output of pkg_info -W /usr/local/bin/gnome-session is pkg_info: corrupted record (pkgdep line without argument), ignoring pkg_info: corrupted record (pkgdep line without argument), ignoring /usr/local/bin/gnome-session was installed by package gnome-session-2.26.2_1 The ports system report gnome 2.28 while this points to 2.26, is there anything I can try? Regards, Antonio On 4/15/10, Anton Shterenlikht wrote: > On Thu, Apr 15, 2010 at 07:11:24PM -0500, Antonio Olivares wrote: >> I have rebuilt everything from scratch ran it for several days. Have >> tried it back and forth still get the same thing. I guess I should >> keep trying for a while Till I give up and maybe install 7.3? > > I don't think your problem has anything to do with the base OS. > I think this is only related to the ports tree. > >> I did not read /usr/ports/UPDATING entry from that day, or maybe it >> was there but too many things worked apparently except KDE and/or >> GNOME :( > > well, the png upgrade was painful for all. But all you need is > to rebuild all png-dependent ports. In your example of gnome-session > you can try to find which port installed it and rebuild that port. > Something like > > # which gnome-session > > or > > # find /usr -name "gnome-session" > > should give you the full path to the executable. > > Then you can try > > # pkg_info -W > > this should give you the port name. Try to rebuild > it. If all goes well you are likely to be stopped > at another png-dependent port needing rebuilding. > So you just repeat this process for all such ports. > > But as I said, if you have lots of png dependent ports > it might be easier to delete all ports and install them > from scratch. I don't use gnome or kde myself, so can't > advise here. > > anton > > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 >