Re: How to build SPECIAL HTTPD??

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

 



On 10/24/07, ChiaTzung Liu -??? <ChiaTzung.Liu@xxxxxxxxxxxx> wrote:
> Hi:
>
>   I have a big problem for me!! If you can help, I will very appreciate!! I have a httpd file which was built by someone (I don't know who is that man). And I don't have any information about it's building confiugration. The httpd file will link following .so files when it starts:
>
> First List:
>         libssl.so.0.9.7 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libssl.so.0.9.7 (0xdead1000)
>         libcrypto.so.0.9.7 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libcrypto.so.0.9.7 (0xdead2000)
>         libgdbm.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libgdbm.so.1 (0xdead3000)
>         librt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/librt.so.1 (0xdead4000)
>         libm.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libm.so.6 (0xdead5000)
>         libcrypt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libcrypt.so.1 (0xdead6000)
>         libnsl.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libnsl.so.1 (0xdead7000)
>         libdl.so.2 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libdl.so.2 (0xdead8000)
>         libc.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libc.so.6 (0xdead9000)
>         libpthread.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libpthread.so.0 (0xdeada000)
>         ld-linux.so.3 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/ld-linux.so.3 (0xdeadb000)
>
> Now, I have to build the same httpd file but without libssl.so.0.9.7. I try to build my httpd file by myself, but my httpd file always has to link following .so files when it starts:
>
> Second List:
>         libaprutil-0.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/local/apache2/lib/libaprutil-0.so.0 (0xdead1000)
>         libgdbm.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libgdbm.so.1 (0xdead2000)
>         libdb-4.2.so => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libdb-4.2.so (0xdead3000)
>         libexpat.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libexpat.so.0 (0xdead4000)
>         libapr-0.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/local/apache2/lib/libapr-0.so.0 (0xdead5000)
>         librt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/librt.so.1 (0xdead6000)
>         libm.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libm.so.6 (0xdead7000)
>         libcrypt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libcrypt.so.1 (0xdead8000)
>         libnsl.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libnsl.so.1 (0xdead9000)
>         libpthread.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libpthread.so.0 (0xdeada000)
>         libdl.so.2 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libdl.so.2 (0xdeadb000)
>         libc.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libc.so.6 (0xdeadc000)
>         ld-linux.so.3 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/ld-linux.so.3 (0xdeadd000)
>
> <<< The first problem is how to remove the .so files which in second list but not in first list. >>>
>
> <<< The second problem is how to add the .so files which in first list but not in second list. >>>
>
> Briefly, I hope my httpd file will only link the following .so files when it starts:
>
>         libcrypto.so.0.9.7 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libcrypto.so.0.9.7 (0xdead2000)
>         libgdbm.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libgdbm.so.1 (0xdead3000)
>         librt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/librt.so.1 (0xdead4000)
>         libm.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libm.so.6 (0xdead5000)
>         libcrypt.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libcrypt.so.1 (0xdead6000)
>         libnsl.so.1 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libnsl.so.1 (0xdead7000)
>         libdl.so.2 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libdl.so.2 (0xdead8000)
>         libc.so.6 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libc.so.6 (0xdead9000)
>         libpthread.so.0 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/tls/libpthread.so.0 (0xdeada000)
>         ld-linux.so.3 => /opt/montavista/pro/devkit/arm/v5t_le/target/lib/ld-linux.so.3 (0xdeadb000)
>
> I tried the following configuration and always got the error message of "checking for APR... configure: error: --with-apr requires a directory to be provided".
>
> My Configuration:
>         ./configure \
>                 --disable-ssl \
>                 --disable-v4-mapped \
>                 --disable-maintainer-mode \
>                 --disable-dbm \
>                 --disable-auth-dbm \
>                 --disable-echo \
>                 --disable-example \
>                 --disable-ldap \
>                 --disable-dav \
>                 --disable-status \
>                 --disable-imap \
>                 --disable-gdbm \
>                 --disable-mods-shared \
>                 --without-libtool \
>                 --without-apr \
>                 --without-apr-util
>
> Please help me !! Very Very Thanks!!!!

First, what version of apache are you building?
Secondly,  look for the file "config.nice" in your original apache
(the one someone else build). This file is often in a subdir "build"
somewhere in your apache install dir. If you have that file look in to
it, as it contains the command used to compile this apache.
Thirdly, it looks like you want an apache without apr. As far as I
know you can't have an apache without apr.

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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