Re: Static linking with libexpat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <Bennett.Tony@xxxxxxxxxxx> wrote:
> From: Ravindra [mailto:kravindra@xxxxxxxxx]
> Sent: Thursday, December 04, 2008 12:05 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  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: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux