Apachectl refuses to start (dyld: Library not loaded)



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?

Regards, Morten
.



Relevant Pages

  • Re: Apachectl refuses to start (dyld: Library not loaded)
    ... When I log in as root in Terminal, ... Macintosh:~ root# apachectl start ... Reason: no suitable image found. ...
    (comp.sys.mac.misc)
  • Re: apache install problem
    ... > $ which apachectl ... > Unable to open logs ... root or you have something else listening on that port. ... if that still doesn't work then *as* root execute ...
    (freebsd-questions)
  • Re: apache2 up! Q on socket 80
    ... you have to start it as root if you want it to bind to any port below 1024. ... this will be true of ANY tcp service. ... run the apachectl as root. ... get it to work if I put the correct socket ...
    (AIX-L)
  • Re: SCSI vs S-ATA
    ... Steve - Please stop shedding light upon the root. ... >> The trouble with AMD classically is that they always used VIA ... >> chipsets and classically they never worked reliably nor robustly. ... OR maybe when Intel ...
    (microsoft.public.windows.server.sbs)
  • Re: [opensuse] XGL to compiz
    ... Or if you are certain that your graphics is fully supported(most ... intel) run the following at run level 3 as root: ... wobbly windows and all). ...
    (SuSE)