Thanks for the reply.
$ file /usr/sbin/httpd
gives the same result as what you've got, but file /usr/lib/libexpat.
1.dylib gives me:
/usr/lib/libexpat.1.dylib: Mach-O dynamically linked shared library
i386
It might also be the installation of the iPhone SDK that did it... but
I'm not sure what to do...
Have tried to search for libexpat on the net, and it possible
recompile it, but I haven't found any solution yet...
Morten
On Mar 25, 7:32 pm, Chris Ridd <chrisr....RemoveThis@mac.com> wrote:
> On 2008-03-25 14:39:17 +0000, adse....RemoveThis@bewide.no said:
>
> > After the recent update from Apple, the web server on my Mac mini
> > (Intel) won't start. When I log in as root in Terminal, I get the
> > following message:
>
> > Macintosh:~ root# apachectl start
> > dyld: Library not loaded: /usr/lib/libexpat.1.dylib
> > Referenced from: /usr/sbin/httpd
> > Reason: no suitable image found. Did find:
> > /usr/lib/libexpat.1.dylib: mach-o, but wrong architecture
> > /usr/lib/libexpat.1.dylib: mach-o, but wrong architecture
> > /usr/lib/libexpat.1.dylib: mach-o, but wrong architecture
> > /usr/sbin/apachectl: line 78: 553 Trace/BPT trap $HTTPD -k
> > $ARGV
>
> > I use apache2. Any sollutions?
>
> Reapply whatever update it was, to undo the damage. My updated copy of
> libexpat and apache look like:
>
> $ file /usr/lib/libexpat.1.dylib
> /usr/lib/libexpat.1.dylib: Mach-O universal binary with 4 architectures
> /usr/lib/libexpat.1.dylib (for architecture ppc7400): Mach-O
> dynamically linked shared library ppc
> /usr/lib/libexpat.1.dylib (for architecture ppc64): Mach-O 64-bit
> dynamically linked shared library ppc64
> /usr/lib/libexpat.1.dylib (for architecture i386): Mach-O dynamically
> linked shared library i386
> /usr/lib/libexpat.1.dylib (for architecture x86_64): Mach-O 64-bit
> dynamically linked shared library x86_64
> $ file /usr/sbin/httpd
> /usr/sbin/httpd: Mach-O universal binary with 4 architectures
> /usr/sbin/httpd (for architecture ppc7400): Mach-O executable ppc
> /usr/sbin/httpd (for architecture ppc64): Mach-O 64-bit executable ppc64
> /usr/sbin/httpd (for architecture i386): Mach-O executable i386
> /usr/sbin/httpd (for architecture x86_64): Mach-O 64-bit executable x86_64
>
> In other words, consistent.
>
> Cheers,
>
> Chris >> Stay informed about: Apachectl refuses to start (dyld: Library not loaded)