apr-util not building because it can't find db

Ryan Schmidt ryandesign at macports.org
Sun Oct 11 22:36:16 PDT 2009


On Oct 11, 2009, at 22:55, David Cake wrote:

> 	Well, there is the problem
> lipo -info /opt/local/lib/db46/libdb-4.6.dylib
> Non-fat file: /opt/local/lib/db46/libdb-4.6.dylib is architecture:  
> i386
> 	But why? I installed it on Snow Leopard, so why didn't it build it  
> for both architectures?

If you installed it on Snow Leopard, it should have built for x86_64  
only. If you want both x86_64 and i386, you need to build with the  
+universal variant.

> And how do I make it do so? And how do I change my whole  
> installation so this is the default (as I am having similar problems  
> with other installs)?

x86_64 is the default on Snow Leopard. Check your macports.conf to  
verify that you haven't changed build_arch to i386.



More information about the macports-users mailing list