[MacPorts] #32391: Lion: cyrus-sasl @2.1.23_3+kerberos causes Incompatible library version: LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0

MacPorts noreply at macports.org
Wed Mar 21 03:24:19 PDT 2012


#32391: Lion: cyrus-sasl @2.1.23_3+kerberos causes Incompatible library version:
LDAP requires version 3.0.0 or later, but libsasl2.2.dylib provides version
0.0.0
--------------------------------------+-------------------------------------
 Reporter:  nelson.ferreira@…         |       Owner:  jmpp@…           
     Type:  defect                    |      Status:  new              
 Priority:  Normal                    |   Milestone:                   
Component:  ports                     |     Version:  2.0.3            
 Keywords:                            |        Port:  cyrus-sasl2      
--------------------------------------+-------------------------------------

Comment(by kato23@…):

 Replying to [comment:2 kato23@…]:
 > The error is from the buggy pattern matching of a  {{{case}}}  command
 in {{{cyrus-sasl-2.1.23/config/ltconfig}}}  where (on my machine) {{{case
 "$host_os" in ... darwin[15]* | rhapsody*)}}} unfortunately matches
 '''{{{i386-apple-darwin10.8.0}}}''' .

 ----

 Should read:

 The error is from the buggy pattern matching of a  {{{case}}}  command in
 {{{cyrus-sasl-2.1.23/config/ltconfig}}}  where (on my machine) {{{case
 "$host_os" in ... darwin[15]* | rhapsody*)}}} unfortunately matches
 '''{{{darwin10.8.0}}} (as derived from {{{i386-apple-darwin10.8.0}}})''' .

 ----


 {{{

 # In cyrus-sasl-2.1.23/config/ltconfig we have the following commands (in
 an abridged form) ...
 echo $ac_n "checking host system type""... $ac_c" 1>&6
 host_alias=`$SHELL $ac_config_guess`
 host=`$SHELL $ac_config_sub $host_alias`
 echo "$ac_t$host" 1>&6
 ...
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`

 # ... which can be roughly reproduced in the shell using ...
 cd "$(port dir cyrus-sasl2)"/work/cyrus-sasl-2.1.23
 host_alias=`/bin/sh config/config.guess`
 host=`/bin/sh config/config.sub $host_alias`
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`

 printf '%s\n' "host: $host" "host_os: $host_os"
 # host: i386-apple-darwin10.8.0
 # host_os: darwin10.8.0

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32391#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list