Nov 21 2008

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.

4 Responses to “You Can’t Compile a PHP FastCGI on Ubuntu!”

  1. James Titcumb » Blog Archive » Compiling PHP Web Applications says:

    [...] UBUNTU USERS – READ THIS FIRST!! [...]

  2. You Can’t Compile a PHP FastCGI on Ubuntu! | PHP-Blog.com says:

    [...] the original post: You Can’t Compile a PHP FastCGI on Ubuntu! Related ArticlesBookmarksTags PHP PHP is a computer scripting language. Originally [...]

  3. Chris Dean says:

    I’d give FreeBSD a bash if I were you.

    FreeBSD = enabled funky features (at your own risk)

  4. James says:

    FreeBSD = ftl.

Leave a Reply