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)
------------------------------------------------------------------------------
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

Reply via email to