Bug 147775 - mail/dkim-milter: Broken symlink to shared object
Summary: mail/dkim-milter: Broken symlink to shared object
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sahil Tandon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 22:50 UTC by Glen Barber
Modified: 2010-07-04 17:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glen Barber 2010-06-10 22:50:00 UTC
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.

Fix: 

The following workaround resolves it:

  unlink /usr/local/lib/libdkim.so
  ln -s /usr/local/lib/libdkim.so.0 /usr/local/lib/libdkim.so
How-To-Repeat: make WITH_LIBDKIM_INSTALL=yes
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-10 22:50:07 UTC
Maintainer of mail/dkim-milter,

Please note that PR ports/147775 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147775

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-10 22:50:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Sahil Tandon freebsd_committer freebsd_triage 2010-06-12 05:24:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sahil

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-07-04 17:08:06 UTC
sahil       2010-07-04 16:07:57 UTC

  FreeBSD ports repository

  Modified files:
    mail/dkim-milter     Makefile 
    mail/dkim-milter/files patch-devtools__M4__UNIX__sharedlib.m4 
  Log:
  - Fix broken symlink when WITH_LIBDKIM_INSTALL=yes
  - Fix plist
  
  PR:             ports/147775
  Submitted by:   Glen Barber <glen.j.barber@gmail.com>
  Approved by:    maintainer, wxs@ (mentor)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.65      +1 -1      ports/mail/dkim-milter/Makefile
  1.3       +1 -1      ports/mail/dkim-milter/files/patch-devtools__M4__UNIX__sharedlib.m4
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Sahil Tandon freebsd_committer freebsd_triage 2010-07-04 17:08:48 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!