Open LDAP +universal won't build on 10.6.2

Mark Hattam mark at dxradio.demon.co.uk
Fri Jan 22 15:00:09 PST 2010


On 22 Jan 2010, at 08:57, Ryan Schmidt wrote:

> On Jan 22, 2010, at 02:53, Russell Jones wrote:
> 
>> Ryan Schmidt wrote:
> 
>> 
> 
>>> On Jan 21, 2010, at 10:16, Russell Jones wrote:
>>> 
>>>> I filed a bug in trac ( http://trac.macports.org/ticket/23300 ) about this a few days ago. Anyone able to shed some light on why it doesn't work? It wasn't clear to me from the debug output. Something to do with the wrong type of libraries being created for the storage back-ends, it seems. I can't see why it happens or what to do about it. I suppose the +aci variant is irrelevant? Is any further information needed? 
>>> 
>>> I'm fixing this momentarily. Please wait an hour, then "sudo port selfupdate" and try again.
>> 
>> Now working, thanks!
>> So the problem was that openldap didn't depend on icu?
> 
> The universal build was fixed by switching to the muniversal portgroup.
> 
> But I fixed many other things at the same time, including updating the version and adding the missing icu dependency.
> 
> See all my changes here:
> 
> http://trac.macports.org/changeset/62920


Just rebooted the iMac to find that Apache2 no longer runs following the ldap upgrade today ...

httpd: Syntax error on line 117 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded: /opt/local/lib/libldap-2.3.0.dylib\n  Referenced from: /opt/local/apache2/modules/libphp5.so\n  Reason: image not found


Do I have to start rebuilding Apache2 or php5 to get round this?

searching for linldap seems to find it still listed

iMac:logs mark$ locate libldap
/opt/local/lib/libldap-2.3.0.2.23.dylib
/opt/local/lib/libldap-2.3.0.dylib
/opt/local/lib/libldap.a
/opt/local/lib/libldap.dylib
/opt/local/lib/libldap.la
/opt/local/lib/libldap_r-2.3.0.2.23.dylib
/opt/local/lib/libldap_r-2.3.0.dylib
/opt/local/lib/libldap_r.a
/opt/local/lib/libldap_r.dylib
/opt/local/lib/libldap_r.la


Mark


More information about the macports-users mailing list