Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 01:27:41 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: libexec/ld-elf.so.1: Shared object "libpng.so.5" not found, required by "gnome-session"
Message-ID:  <20100416002741.GF91992@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <m2u75107331004151711j86ba2c22t6402f1391c63e430@mail.gmail.com>
References:  <u2l75107331004151649k79dee2b7w2567098010dc177f@mail.gmail.com> <20100415235831.GE91992@mech-cluster241.men.bris.ac.uk> <m2u75107331004151711j86ba2c22t6402f1391c63e430@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <full path to the executable>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100416002741.GF91992>