On Tue, Jan 1, 2013 at 12:52 PM, Computer Network Man
<comnet...@gmail.com>wrote:
> # file /usr/local/libexec/apache22/mod_fastcgi.so
> /usr/local/libexec/apache22/mod_fastcgi.so: ELF 64-bit LSB shared object,
> x86-64, version 1 (FreeBSD), dynamically linked, not stripped
>
> # file /usr/local/sbin/httpd
> /usr/local/sbin/httpd: ELF 32-bit LSB executable, Intel 80386, version 1
> (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900042),
> not stripped
>
Here you have your answer: your Apache is 32-bit but your mod_fastcgi is
64-bit. You cannot mix 32-bit and 64-bit executables. Solution: either
compile Apache for 64-bit, or compile mod_fastcgi for 32-bit.
> On Wed, Dec 26, 2012 at 8:50 PM, Pau Garcia i Quiles <pgqui...@elpauer.org
> > wrote:
>
>> Hello,
>>
>> Looks like mod_fastcgi.so is not in LD_LIBRARY_PATH. That may or may not
>> be a problem depending on how Apache is configured (which frankly I don't
>> know on FreeBSD, I haven't used it for a long time)
>>
>> Could you please post the output of:
>>
>> ldd /usr/local/libexec/apache22/mod_fastcgi.so
>> ldd /the/path/to/apachectl
>> ldd /the/path/to/httpd
>>
>> and
>>
>> file /usr/local/libexec/apache22/mod_fastcgi.so
>> file /the/path/to/apachectl
>> file /the/path/to/httpd
>>
>> ?
>>
>>
>>
>> On Wed, Dec 26, 2012 at 3:13 PM, Computer Network Man <
>> comnet...@gmail.com> wrote:
>>
>>> Dear Guys;
>>> Many thanks for your attention. I used ldd and file commands and below
>>> is the results. what do you think about it?
>>>
>>> FeeBCD64# ldd mod_fastcgi.so
>>> mod_fastcgi.so:
>>> ldd: mod_fastcgi.so: Shared object "mod_fastcgi.so" not found, required
>>> by "ldd"
>>> mod_fastcgi.so: exit status 1
>>>
>>> FeeBCD64# file mod_fastcgi.so
>>> mod_fastcgi.so: ELF 64-bit LSB shared object, x86-64, version 1
>>> (FreeBSD), dynamically linked, not stripped
>>>
>>>
>>> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>> On Wed, Dec 26, 2012 at 1:08 PM, Pau Garcia i Quiles <
>>> pgqui...@elpauer.org> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'd say the problem is he is mixing different architectures, i. e.
>>>> 32-bit and 64-bit libraries. It might also be he is mixing FreeBSD binaries
>>>> with Linux binaries (FreeBSD provides a compatibility layer for Linux
>>>> binaries but it has its limitations, it's not 100% transparent in all
>>>> cases).
>>>>
>>>>
>>>>
>>>> http://lists.freebsd.org/pipermail/freebsd-questions/2005-November/104793.html
>>>>
>>>> http://forums.freebsd.org/showthread.php?t=23585
>>>>
>>>>
>>>> On Wed, Dec 26, 2012 at 10:03 AM, Koen Deforche <k...@emweb.be> wrote:
>>>>
>>>>> Hey,
>>>>>
>>>>> No idea, but this does seem like a problem totally unrelated to Wt.
>>>>>
>>>>> What I would try: check whether the module file looks valid with the
>>>>> commands 'file' and 'ldd'.
>>>>>
>>>>> Regards,
>>>>> koen
>>>>>
>>>>>
>>>>> 2012/12/25 Computer Network Man <comnet...@gmail.com>
>>>>>
>>>>>> Dear Sir/Madam;
>>>>>> I have a trouble using wt. I followed instructions and installed C++
>>>>>> Boost and FastCGI and WT on FreeBSD 9 (64bit).
>>>>>> And also I make installed your examples and gain *.wt files for
>>>>>> example hello.wt. Now I want to test these examples. when I type
>>>>>> #apachectl start
>>>>>> to start apache, I get this error:
>>>>>> httpd: Syntax error on line 105 of
>>>>>> /usr/local/etc/apache22/httpd.conf: Cannot load
>>>>>> /usr/local/libexec/apache22/mod_fastcgi.so into server:
>>>>>> /usr/local/libexec/apache22/mod_fastcgi.so: unsupported file layout
>>>>>>
>>>>>> mod_fastcgi.so exists in that path! would anybody mind helping me?
>>>>>>
>>>>>> Thanks in advance
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>> Improve your efficiency, and focus on delivering more value-add
>>>>> services
>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>> _______________________________________________
>>>>> witty-interest mailing list
>>>>> witty-interest@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Pau Garcia i Quiles
>>>> http://www.elpauer.org
>>>> (Due to my workload, I may need 10 days to answer)
>>>>
>>>
>>>
>>
>>
>> --
>> Pau Garcia i Quiles
>> http://www.elpauer.org
>> (Due to my workload, I may need 10 days to answer)
>>
>
>
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest