Date: Thu, 15 Apr 2010 19:33:38 -0500 From: Antonio Olivares <olivares14031@gmail.com> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: 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: <h2z75107331004151733q478e9ceaid2a71cdb227efe05@mail.gmail.com> In-Reply-To: <20100416002741.GF91992@mech-cluster241.men.bris.ac.uk> References: <u2l75107331004151649k79dee2b7w2567098010dc177f@mail.gmail.com> <20100415235831.GE91992@mech-cluster241.men.bris.ac.uk> <m2u75107331004151711j86ba2c22t6402f1391c63e430@mail.gmail.com> <20100416002741.GF91992@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mexas@bristol.ac.uk> 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 <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?h2z75107331004151733q478e9ceaid2a71cdb227efe05>