Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 20:14:05 -0700 (PDT)
From:      "Waitman Gobble" <uzimac@da3m0n8t3r.com>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libpng.so.6 missing
Message-ID:  <1339470844.2302@da3m0n8t3r.com>
In-Reply-To: <CAN6yY1sCdpNUMH-5otkN6X6ZtXGHsp=OsUk6PoF7P%2BTAJvT96g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--bound1339470845
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Kevin Oberman <kob6558@gmail.com> wrote ..
> On Sun, Jun 10, 2012 at 10:52 PM, Michael Scheidell
> <scheidell@freebsd.org> wrote:
> >
> >
> > On 6/11/12 1:44 AM, Waitman Gobble wrote:
> >>
> >> Hi,
> >>
> >> I was reading the handbook about burning DVD's and thought I would check
> >> out K3b as recommended... so I attempted to install from ports. After an
> >> hour or so of the make script building a whole bunch of stuff my patience
> >> wore out, and I bailed.
> >>
> >> ports tree csup this morning.
> >>
> >> Now it seems many things that were working great will no longer load, it's
> >> missing libpng.so.6
> >>
> >> # SciTE
> >> Shared object "libpng.so.6" not found, required by
> >> "libpangocairo-1.0.so.0"
> >>
> >> # qtcreator
> >> Shared object "libpng.so.6" not found, required by "libQtGui.so.4"
> >>
> >> # xxxterm
> >> Shared object "libpng.so.6" not found, required by "libwebkitgtk-1.0.so.0"
> >>
> >>
> >> etc, etc. and so on.
> >>
> >> Anyhow, i am not sure which package 'libpng.so.6' comes from.. anyone have
> >> a tip or a pointer?
> >>
> > something is still looking for an old version of png (libpng.so.6), =A0the new
> > version of png uses lib: libpng.so.15.
> > Did you rebuild all packages from source?
> > quick 'cheat' would be to =A0restore libpng.so.6 to compat library from your
> > backup, or another system.
> >
> 
> Install sysutils/bsdadminscripts and 'pkg_chklib -o | grep libpng |
> sort'. This will provide a list of ports that need to be re-installed
> so that they will be linked to the new libpng. As pkg_chklib reports
> on every file that references the old libpng, you may see ports listed
> several times, once for every executable or shareable that references
> libpng.so.6.
> 
> This will really fix the problem. Pulling in a copy of libpng.so.6
> might make things work, but may fail if more than one version of
> libpng is linked to different shareables or executables.
> -- 
> R. Kevin Oberman, Network Engineer
> E-mail: kob6558@gmail.com
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

Again, thanks for the info. It seems that the script may be pkg_libchk instead of pkg_chklib (?) please confirm.

I ran pkg_libchk and it looks like a whole boatload of packages need to be replaced, so I decided to skip to the chase and give the update script a 'replace' option.. it checks the package version available in the packages directory on the freebsd site with what's installed, if there's a newer version it downloads it and does the MD5 check, creates an update.sh script to replace (the update script doesn't actually do any udpating!) Anyhow, with 'replace' it will either replace the existing or use the newer if available. I've been using this script to update the system and it works pretty good for me, except when I veer off path and get into ports like with my libpng issue. :)

Anyhow, hopefully this will fix it, I'll try it later tonight. Gotta run.


-- 
Waitman Gobble
San Jose California USA


--bound1339470845--




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