ports/147775: mail/dkim-milter: Broken symlink to shared object

Glen Barber glen.j.barber at gmail.com
Thu Jun 10 21:50:01 UTC 2010

>Number:         147775
>Category:       ports
>Synopsis:       mail/dkim-milter: Broken symlink to shared object
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 10 21:50:00 UTC 2010
>Originator:     Glen Barber
>Release:        8.1-PRERELEASE
FreeBSD orion 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0 r208605: Thu May 27 21:03:37 EDT 2010     root at orion:/usr/obj/usr/src/sys/ORION  amd64
mail/dkim-milter creates a broken symlink to a shared object.

The port was built using WITH_LIBDKIM_INSTALL=yes

  orion# file /usr/local/lib/libdkim.so
  /usr/local/lib/libdkim.so: broken symbolic link to `/usr/local/liblibdkim.so.0'

(Note the missing slash between lib and libdkim.so.0)

I expected to fix it by adding a trailing slash (/) to confLIBDIR and confSHAREDLIBDIR in mail/dkim-milter/files/site.config.m4, but this does not fix it.
The following workaround resolves it:

  unlink /usr/local/lib/libdkim.so
  ln -s /usr/local/lib/libdkim.so.0 /usr/local/lib/libdkim.so


More information about the freebsd-ports-bugs mailing list