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

Jan Henrik Sylvester me at janh.de
Fri Jun 13 10:23:30 UTC 2014


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).

Cheers,
Jan Henrik


More information about the freebsd-apache mailing list