Last night I was having some issues compiling a real-life FastCGI I could actually use, but I came across a big show-stopper:
/usr/bin/ld: cannot find -lgssapi_krb5
After a little research and talking on the #roadsend IRC channel with GRiD (see chat log), I discovered that you just can’t compile a statically linked binary on Ubuntu. The statically linked library was dropped between Feisty and Gusty, and this may also be the case across many other Debian-based distributions.
Read this forum post.
My advice is to try a different distro, GRiD suggested Gentoo, which I may just try tonight.
Update: I recommend Fedora, and dynamically linking your binary, because Gentoo takes way to long to install and configure.
November 21st, 2008 at 3:21 pm
[...] UBUNTU USERS – READ THIS FIRST!! [...]
November 21st, 2008 at 3:54 pm
[...] the original post: You Can’t Compile a PHP FastCGI on Ubuntu! Related ArticlesBookmarksTags PHP PHP is a computer scripting language. Originally [...]
November 21st, 2008 at 5:20 pm
I’d give FreeBSD a bash if I were you.
FreeBSD = enabled funky features (at your own risk)
November 21st, 2008 at 5:56 pm
FreeBSD = ftl.