Kevin Oberman <kob6...@gmail.com> wrote ..
> On Sun, Jun 10, 2012 at 10:52 PM, Michael Scheidell
> <scheid...@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),  the new
> > version of png uses lib: libpng.so.15.
> > Did you rebuild all packages from source?
> > quick 'cheat' would be to  restore 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: kob6...@gmail.com
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@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

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to