Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 02:24:26 +0100
From:      "Dr. Peter Voigt" <pvoigt@uos.de>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Emacs 24.4_4,3 does not build - png error?
Message-ID:  <20141228022426.19f4ed4b@kirk.drpetervoigt.private>
In-Reply-To: <CAN6yY1vRZru73Hwf4zQpeUWXYCq%2B-cMPYB0ewDPpcXcMwA7fuQ@mail.gmail.com>
References:  <20141227140028.514cd3f1@kirk.drpetervoigt.private> <CAN6yY1vRZru73Hwf4zQpeUWXYCq%2B-cMPYB0ewDPpcXcMwA7fuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Dec 2014 09:31:03 -0800
Kevin Oberman <rkoberman@gmail.com> wrote:

> I hit this same issue. You will need to re-install librsvg2. It has a
> linkage to the old libpng:
> Shared object "libpng15.so.15" not found, required by "librsvg-2.so.2"
> # locate "librsvg-2.so.2"
> /usr/local/lib/librsvg-2.so.2
> /usr/local/lib/librsvg-2.so.2.40.4
> # pkg which /usr/local/lib/librsvg-2.so.2
> /usr/local/lib/librsvg-2.so.2 was installed by package librsvg2-2.40.4
>

Thank you very much for this hint, it helped me to upgrade
editors/emacs to the latest version.

> I found several ports that had links to the libpng15.so using
> "pkg_libchk -o". That tool is part of sysutils/bsdadminscripts. I
> have found it to be very rigorous and trust it a bit more than "pkg
> check -B". I did drop bapt a note listing the ports I found linked to
> libpng15.so, but I may have missed librsvg2 as I hit that one very
> early in the process. --

Hm, I have followed png hints in UPDATING suggesting that rebuilding all
packages found by

# pkg info -r png

would be sufficient. Though this lists emacs24 as well, a check like:

# pkg info -d emacs24
# pkg info -d librsvg2

does not reveal librsvg2 depending on png. I have learned now that
package dependencies do not go along with depenencies of shared libs.

The command

# pkg check -B

is new to me. A direct analyse of shared libs does not show any
problems on my system. But due to your recommendation I will have to
install and use sysutils/bsdadminscripts to get more detailed
information.

In the meantime I am interested to read what bapt is going to recommend
as part of the png upgrade.

And last but not least I am glad having asked the list before creating
an unnecessary PR for editors/emacs.

Regards,
Peter



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