apr-util not building because it can't find db
Bryan Blackburn
blb at macports.org
Sun Oct 11 19:32:52 PDT 2009
On Sun, Oct 11, 2009 at 08:47:43PM -0500, Ryan Schmidt said:
> On Oct 11, 2009, at 19:10, Daniel J. Luke wrote:
>
> >so, here's the problem, do you have /opt/local/lib/db46/
> >libdb-4.6.dylib ?
> >
> >If you do have that file, is it the right architecture? (try `file
> >/opt/local/lib/db46/libdb-4.6.dylib`)
>
> I don't recall what OS David is using, but it seems on Snow Leopard
> "file" no longer tells you the architectures in a file. "lipo -info"
> still does, though.
'which file' are you using?
$ file /bin/ls
/bin/ls: Mach-O universal binary with 2 architectures
/bin/ls (for architecture x86_64): Mach-O 64-bit executable x86_64
/bin/ls (for architecture i386): Mach-O executable i386
Bryan
>
>
> $ file /opt/local/lib/db46/libdb-4.6.dylib
> /opt/local/lib/db46/libdb-4.6.dylib: Mach-O fat file with 2
> architectures
> $ lipo -info /opt/local/lib/db46/libdb-4.6.dylib
> Architectures in the fat file: /opt/local/lib/db46/libdb-4.6.dylib
> are: i386 x86_64
More information about the macports-users
mailing list