Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 12:58:44 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        apache-list freebsd <freebsd-apache@freebsd.org>
Subject:   Re: devel/apr1 new libaprutil-1 links old libapr-1
Message-ID:  <20140613125844.332bd831@kalimero.tijl.coosemans.org>
In-Reply-To: <539AD116.2010402@janh.de>
References:  <539AD116.2010402@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Jun 2014 12:23:18 +0200 Jan Henrik Sylvester wrote:
> After upgrading devel/apr1 yesterday using portmaster, I now have the
> new libaprutil-1 linking the old libapr-1:
> 
> # cd /usr/local/lib/
> # ls -l libapr*-1.so.*
> lrwxr-xr-x  1 root  wheel      17 Jun 12 14:20 libapr-1.so.0 ->
> libapr-1.so.0.5.1
> -rwxr-xr-x  1 root  wheel  198008 Jun 12 14:20 libapr-1.so.0.5.1
> lrwxr-xr-x  1 root  wheel      21 Jun 12 14:20 libaprutil-1.so.0 ->
> libaprutil-1.so.0.5.3
> -rwxr-xr-x  1 root  wheel  153280 Jun 12 14:20 libaprutil-1.so.0.5.3
> # readelf -d libaprutil-1.so.0 | grep libapr-1
>  0x0000000000000001 (NEEDED)             Shared library: [libapr-1.so.5]
> 
> This is obviously not correct and causes editors/openoffice-4 to fail.
> 
> Forcibly deleting devel/apr1 and reinstalling it solves the problem:
> 
>  0x0000000000000001 (NEEDED)             Shared library: [libapr-1.so.0]
> 
> If this is required, it is missing from UPDATING. Otherwise, devel/apr1
> needs to be fixed not to link against its older self (and another
> PORTREVISION is due).

I figured out the true cause of this and submitted a patch in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190941
but this patch has some negative side effects and needs to be reworked.

So for now it's probably best to add an UPDATING entry similar to the
20140322 entry.



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