Do you mean to say expat code has been removed from Apache 2.2.10,
because what I mentioned used to work for Apache 2.0.59 ?

Thanks,
Ravindra

On Fri, Dec 5, 2008 at 4:13 AM, Bennett, Tony <[EMAIL PROTECTED]> wrote:
> From: Ravindra [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 12:05 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Static linking with libexpat
>
> Hi,
>
> I used "--disable-shared --with-expat=xml/expat" option while configuring 
> Apache, but it still seems to be linking dynamically with libexpat. I want it 
> to link with libexpat statically.
>
> $ ldd httpd
>        libm.so.6 => /lib/i686/libm.so.6 (0x40032000)
>        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40054000)
>        libuuid.so.1 => /lib/libuuid.so.1 (0x40074000)
>        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40078000)
>        librt.so.1 => /lib/librt.so.1 (0x400a8000)
>        libcrypt.so.1 => /lib/libcrypt.so.1 (0x400ba000)
>        libdl.so.2 => /lib/libdl.so.2 (0x400e7000)
>        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Any suggestions ?
>
> Thanks in advance,
> Ravindra
>
> ---------------------------------------------------------------------
>
>
> One possible option is to download and build expat,
> specifying "--disable-shared" when you build expat.
> This will create a libexpat.a that is NOT a shared library.
>
> Then feed your installed location to Apache's configure
> (like you did with "--with-expat".
>
> -tony
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to