You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marko <ml...@sp.nl> on 2007/12/16 13:03:56 UTC

[users@httpd] expat lib not found apache httpd 2.2.6

Hi all,

Recently I tried to upgrade from 2.2.0 to 2.2.6 but make produced

/usr/bin/ld: cannot find -lexpat
*** Error code 1
Stop in /usr/build/apache/httpd-2.2.6/srclib/apr-util.

I'm on Freebsd 6.3 running ./configure  --prefix=/usr/local/apache
--enable-rewrite --enable-so

Output:

checking Expat 1.95.x... no
checking old Debian-packaged expat... no
checking old FreeBSD-packaged expat... no
checking Expat 1.0/1.1... no
  setting LDFLAGS to "-L/usr/local/lib"
  adding "-I/usr/local/include" to CPPFLAGS
checking Expat 1.95.x in /usr/local... yes
  setting APRUTIL_INCLUDES to "-I/usr/local/include"
  setting APRUTIL_EXPORT_LIBS to "-lexpat"
  setting APRUTIL_LIBS to "-lexpat"

My Expat-lib is in /usr/local/lib.
  
Update to 2.2.3 runs smoothly.

Any suggestions how to trick httpd 2.2.6 into installing welcome.

Cheers,

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] expat lib not found apache httpd 2.2.6

Posted by Marko Leer <ml...@sp.nl>.
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@httpd.apache.org
M>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
M> For additional commands, e-mail: users-help@httpd.apache.org




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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org