Just run ./configure --prefix=/usr/local/apache --enable-rewrite --enable-so --with-expat=builtin Sunday, December 16, 2007, 1:03:56 PM, you wrote: M> Hi all, M> Recently I tried to upgrade from 2.2.0 to 2.2.6 but make produced M> /usr/bin/ld: cannot find -lexpat M> *** Error code 1 M> Stop in /usr/build/apache/httpd-2.2.6/srclib/apr-util. M> I'm on Freebsd 6.3 running ./configure --prefix=/usr/local/apache M> --enable-rewrite --enable-so M> Output: M> checking Expat 1.95.x... no M> checking old Debian-packaged expat... no M> checking old FreeBSD-packaged expat... no M> checking Expat 1.0/1.1... no M> setting LDFLAGS to "-L/usr/local/lib" M> adding "-I/usr/local/include" to CPPFLAGS M> checking Expat 1.95.x in /usr/local... yes M> setting APRUTIL_INCLUDES to "-I/usr/local/include" M> setting APRUTIL_EXPORT_LIBS to "-lexpat" M> setting APRUTIL_LIBS to "-lexpat" M> My Expat-lib is in /usr/local/lib. M> M> Update to 2.2.3 runs smoothly. M> Any suggestions how to trick httpd 2.2.6 into installing welcome. M> Cheers, M> Marko M> --------------------------------------------------------------------- M> The official User-To-User support forum of the Apache HTTP Server Project. M> See <URL:http://httpd.apache.org/userslist.html> for more info. M> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx M> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx M> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx Groeten, Marko --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx