Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Apachectl refuses to start (dyld: Library not loaded)

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  Safari 3 ??? causes weird problems  
Author Message
adsense

External


Since: Mar 25, 2008
Posts: 2



(Msg. 1) Posted: Tue Mar 25, 2008 7:39 am
Post subject: Apachectl refuses to start (dyld: Library not loaded)
Archived from groups: comp>sys>mac>misc (more info?)

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

 >> Stay informed about: Apachectl refuses to start (dyld: Library not loaded) 
Back to top
Login to vote
Chris Ridd

External


Since: Jun 24, 2004
Posts: 439



(Msg. 2) Posted: Tue Mar 25, 2008 6:32 pm
Post subject: Re: Apachectl refuses to start (dyld: Library not loaded) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-03-25 14:39:17 +0000, adsense.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) 
Back to top
Login to vote
Darrell Greenwood

External


Since: Feb 23, 2007
Posts: 48



(Msg. 3) Posted: Tue Mar 25, 2008 6:41 pm
Post subject: Re: Apachectl refuses to start (dyld: Library not loaded) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
<e9bb9401-d764-4d9b-8871-931b36c4155b RemoveThis @i7g2000prf.googlegroups.com>,
<adsense RemoveThis @bewide.no> wrote:

> I use apache2. Any sollutions?

May be related?

http://permalink.gmane.org/gmane.os.apple.macports.user/9049


Cheers,

Darrell

--
To reply, substitute .net for .invalid in address, i.e., darrell.usenet6 (at)
 telus.net
 >> Stay informed about: Apachectl refuses to start (dyld: Library not loaded) 
Back to top
Login to vote
adsense

External


Since: Mar 25, 2008
Posts: 2



(Msg. 4) Posted: Wed Mar 26, 2008 5:48 am
Post subject: Re: Apachectl refuses to start (dyld: Library not loaded) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Safari refuses to load - This has been happening for a while, maybe since before I updated Safari: all of a sudden no web pages can be loaded anymore. My mail and news program are able to connect just fine, but Safari fails on any domain: "Safari could not open the page..

FS: Loaded CUBE - Well, do to the fact that I am going to need pci slots, I have to sell my cube....... Here are the details: Powermac CUBE: Powerlogix 1.2Ghz G4 80 gig hd DVD-rom drive 1.5gig Ram Nvidia Geforce3 video card Papst super quiet fan NEW Apple keyboard NEW..

My iPod and I are fighting. She refuses to turn on. - Here's the dilemma: My iPod shows up on the desktop when loaded. It does NOT show up in iTunes when loaded. My harddrive is near compacity, however there are no songs visible. I believe they're in the invisible F1 - F19 folders. I could load them onto....

Tiger Refuses to Install on G3 Book - Today I was helping a friend install Tiger on her G3 iBook. What would happen is that the Tiger DVD would open and state that a restart was needed. When the restart was complete instead of the installation beginning things were back to a request to..

Panther (OS X v10.3) on iMac pre-loaded? - A friend recently bought an iMac (the G4 model with the dome base and flat screen) which had OS X v10.2 pre-loaded, I think. Anyway, P{anther (v10.3) CDs were shipped with the machine, and the upgrade was left to the buyer. Does anyone know if v10.3 is....
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]