Apache FastCGI应用程序无法找到合适的libfcgi(Mac OS 10.8.4)
Apache FastCGI app fails to find suitable libfcgi (Mac OS 10.8.4)
我正在尝试制作一个实验性的FastCGI应用程序,但我一直遇到一些错误。
我已经在机器上编译了除了apache(Mac附带)之外的所有二进制文件和lib。
错误如下:
[Thu Jul 25 20:40:34 2013] [warn] FastCGI: (dynamic) server "/Library/WebServer/CGI-Executables/tiny-cgi.fcgi" started (pid 49396)
dyld: Library not loaded: /Users/fasihrana/Documents/apparicion/fcgi-dev/lib/libfcgi.0.dylib
Referenced from: /Library/WebServer/CGI-Executables/tiny-cgi.fcgi
Reason: no suitable image found. Did find:
/Users/fasihrana/Documents/apparicion/fcgi-dev/lib/libfcgi.0.dylib: stat() failed with errno=13
[Thu Jul 25 20:40:34 2013] [warn] FastCGI: (dynamic) server "/Library/WebServer/CGI-Executables/tiny-cgi.fcgi" (pid 49396) terminated due to uncaught signal '5' (Trace/BPT trap)
[Thu Jul 25 20:40:34 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 49398 for worker proxy:reverse
[Thu Jul 25 20:40:34 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
然后是以下内容:
[Thu Jul 25 20:41:07 2013] [warn] FastCGI: (dynamic) server "/Library/WebServer/CGI-Executables/tiny-cgi.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Jul 25 20:41:07 2013] [error] [client ::1] FastCGI: comm with (dynamic) server "/Library/WebServer/CGI-Executables/tiny-cgi.fcgi" aborted: (first read) idle timeout (30 sec)
[Thu Jul 25 20:41:07 2013] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Library/WebServer/CGI-Executables/tiny-cgi.fcgi"
我一直认为这是mod_fastcgi的编译与fastcgi应用程序的编译,但"file"命令揭示了以下内容:
$ file tiny-cgi.fcgi
tiny-cgi.fcgi: Mach-O 64-bit executable x86_64
$ file mod_fastcgi.so
mod_fastcgi.so: Mach-O 64-bit bundle x86_64
# file /usr/sbin/httpd
/usr/sbin/httpd: Mach-O 64-bit executable x86_64
$ file libfcgi.0.dylib
libfcgi.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
我从中获得了配置和教程http://spointeau.blogspot.co.uk/2012/08/fastcgi-with-apache-on-mac-os-x-lion.html也许我在配置中遗漏了其他内容。
我没有什么想法了,任何帮助都很感激。
原来我使用的是fastcgi-devkit 2.4.1,它不稳定或处于工作状态。安装了2.4.0 vis自制软件,工作起来很有魅力。
相关文章:
- 在没有Xcode的情况下在Mac捆绑包中嵌入框架
- c++17文件系统::recursive_directory迭代器()在mac上没有给出这样的目录,但在windows上
- 如何使用CLion在Mac上创建一个新的.txt文件
- 如何使用Clang/GCC在Mac上为C/C++设置VSCode
- 在 Mac 上使用 CMAKE 将 FFTW 和 FFTWPP 链接到项目中时未定义的符号
- 有人安装"IITB Simplecpp in mac"吗?
- libprotobuf 检查在 Mac OS 上执行程序时失败
- 如何在 Mac 上使用 c++17 并行标准库算法?
- 在 Mac 上的 python 上提升
- 我可以在 iOS 或 mac 应用程序中使用C++代码吗?
- 如何在 Mac 上正确编译C++,当它在 Linux 上编译没有问题时?
- C++读取用户输入而不按回车键(Mac OS X),与Turbo Pascal中的读取键相同
- 如何在 MAC OS c/c++ 中阻止 USB 存储设备
- 编译在我的 Mac 上工作,但在集群 (Linux) 上不起作用
- 在装有 CLion 的 Mac 上使用 C++ 连接到 MySQL 数据库时出现问题
- 动态获取 esp32 的 mac 地址并在以太网库中使用它.
- GDB 断点在 Mac 上是不准确的
- 各种版本的 Mac OSX 向后兼容性如何?(Xcode C++
- 无法识别 Mac c++ 文件系统库
- Apache FastCGI应用程序无法找到合适的libfcgi(Mac OS 10.8.4)