Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2010 19:35:41 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Caleb Stein <caleb.stein@me.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: /libexec/ld-elf.so.1: Shared boject "libpng.so.5" not found
Message-ID:  <20100621003541.GA5799@dan.emsphone.com>
In-Reply-To: <op.vemh5rpeesa1c5@win7x64>
References:  <op.vemh5rpeesa1c5@win7x64>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 20), Caleb Stein said:
> Whenever I try running an application that relies on GTK+ or QT, I get
> that error message.  How should I fix this?

You must have upgraded your libpng port, and either the application or one
of the shared libraries it uses hasn't been rebuilt since then.  libpng.so.6
is the current version.  Run "ldd -a myapplication", and rebuild anything
that claims to depend on "libpng.so.5".  

One way to minimize damage like this is to use either portupgrade or
portmaster to do updates for you.  Those programs can back up old versions
of shared libraries to /usr/local/lib/compat/pkg, so you won't get errors
like that.  Portupgrade will make a backup automatically, and so will
portmaster if you add -w to the commandline.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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