Opened 11 years ago

Closed 11 years ago

#41090 closed defect (fixed)

cyrus-sasl2 is broken after upgrade

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmpalacios (Juan Manuel Palacios)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: landonf (Landon Fuller), raimue (Rainer Müller)
Port: cyrus-sasl2

Description

rev-upgrade reports that cyrus-sasl2 is broken:

     cyrus-sasl2 @2.1.26 +kerberos
         /Volumes/Data/macports/leopard/sbin/pluginviewer
         /Volumes/Data/macports/leopard/sbin/sasldblistusers2
         /Volumes/Data/macports/leopard/sbin/saslpasswd2

This is because cyrus-sasl2 installs the dylib "libsasl2.dylib":

$ port -q contents cyrus-sasl2 | grep dylib$
  /Volumes/Data/macports/leopard/lib/libsasl2.dylib

However these three programs are linking with "libsasl2.2.dylib" which does not exist:

$ otool -L /Volumes/Data/macports/leopard/sbin/{pluginviewer,sasldblistusers2,saslpasswd2}
/Volumes/Data/macports/leopard/sbin/pluginviewer:
	/Volumes/Data/macports/leopard/lib/libsasl2.2.dylib (compatibility version 3.0.0, current version 3.25.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2)
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/Volumes/Data/macports/leopard/sbin/sasldblistusers2:
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2)
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Volumes/Data/macports/leopard/lib/libsasl2.2.dylib (compatibility version 3.0.0, current version 3.25.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/Volumes/Data/macports/leopard/sbin/saslpasswd2:
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2)
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Volumes/Data/macports/leopard/lib/libsasl2.2.dylib (compatibility version 3.0.0, current version 3.25.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Change History (2)

comment:1 Changed 11 years ago by raimue (Rainer Müller)

This could have been the problem with linking against existing libraries. Can you please try again with cyrus-sasl2 @2.1.26_1?

It is correctly linked on my system:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.9
BuildVersion:	13A603
$ port -q installed cyrus-sasl2 and active
  cyrus-sasl2 @2.1.26_1+kerberos (active)
$ otool -L /opt/local/sbin/pluginviewer |head -n2
/opt/local/sbin/pluginviewer:
	/opt/local/lib/libsasl2.dylib (compatibility version 3.0.0, current version 3.0.0)

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed by r112766 I think.

Note: See TracTickets for help on using tickets.