devel/apr1 new libaprutil-1 links old libapr-1

Tijl Coosemans tijl at FreeBSD.org
Fri Jun 13 10:58:54 UTC 2014


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.


More information about the freebsd-apache mailing list