[Mono-osx] (DESPERATE!!) Getting Mono to work with Apache in Mac OS X Leopard
Asle Benoni
asle.benoni at gmail.com
Tue Aug 18 10:40:28 EDT 2009
Hello Curtis,
I am so grateful for your help. Here is what I did:
- Removed MacPorts completely with the suggestion on MacPorts manual
page.
- Installed again MacPorts from the latest DMG
- Did the changes to macports.conf and variants.conf
- Installed glib2 and libtool
- Built mod_mono from scratch
- ./configure etc. like you suggest (no errors!)
- make -> (no errors!)
- make install -> success!
- changed httpd.conf
So now I am waiting for the big success. But alas. Apache will not
start. Here is the error from the log
18.08.09 16.36.19 org.apache.httpd[17206] httpd: Syntax error on line
497 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /etc/
apache2/mod_mono.conf: Cannot load /usr/libexec/apache2/mod_mono.so
into server: dlopen(/usr/libexec/apache2/mod_mono.so, 10): image not
found
What can be wrong? All the includes are in place but I have no idea
about the "image not found".
Thank you,
/asle
Den 18. aug.. 2009 kl. 01.41 skrev eto:
>
> Hi asleB,
>
> Looks like you need to uninstall & re-build libiconv. Note that
> it's not
> JUST libtool and glib2 that need to be built for x64, it's ALL
> dependant
> libraries as well.
>
> You have a few choices: uninstall all macports manually then re-
> install
> them, or wipe your macports and install fresh, since nothing would
> have been
> compiled in 64 bit anyway.
>
> Hope this helps!
> Curtis.
>
>
> asleB wrote:
>>
>> Hello,
>> I wonder if anyone here could spare a little time to help me get
>> mod_mono configured with my Apache.
>> I am willing to pay to fix this!
>>
>> /asle
>>
>> Den 14. aug.. 2009 kl. 19.45 skrev Asle Benoni:
>>
>>> Hello,
>>> I think I progressed much here. I was able to uninstall old packages
>>> so that I could be X64 packages. First of all I think the clue was
>>> to get uninstall and install libtool and glib2. What a mess it was,
>>> I don' even remember now all I did.
>>>
>>>
>>> Anyway I downloaded mod_mono source and did the configure stuff but
>>> it fails on make with this error. I am not sure how to fix it:
>>
> --
> View this message in context: http://www.nabble.com/Re%3A-Getting-Mono-to-work-with-Apache-in-Mac-OS-X-Leopard-tp24971800p25016194.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20090818/61e8aea4/attachment.html
More information about the Mono-osx
mailing list