Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292406 - net-proxy/squid-3.0.19 automagically links against net-libs/libwww
Summary: net-proxy/squid-3.0.19 automagically links against net-libs/libwww
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 17:10 UTC by emerald
Modified: 2009-11-29 08:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log diff (build.log_diff,143.39 KB, text/plain)
2009-11-28 17:13 UTC, emerald
Details
config.log diff (config.log_diff,20.12 KB, text/plain)
2009-11-28 17:13 UTC, emerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emerald 2009-11-08 17:10:41 UTC
Squid automagically links against libwww.

ldd /usr/sbin/squid output after building without libwww installed:
        linux-vdso.so.1 =>  (0x00007ffff2669000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f2ff5525000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f2ff52d5000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f2ff4f4b000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2ff4d2e000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007f2ff4b16000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f2ff48fc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f2ff46f8000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6 (0x00007f2ff43ee000)
        libm.so.6 => /lib/libm.so.6 (0x00007f2ff416a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2ff3f53000)
        libc.so.6 => /lib/libc.so.6 (0x00007f2ff3bd9000)
        libz.so.1 => /lib/libz.so.1 (0x00007f2ff39c3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2ff575d000)


ldd /usr/sbin/squid output after building with libwww installed:
        linux-vdso.so.1 =>  (0x00007fff2bdff000)
        libmd5.so.0 => /usr/lib/libmd5.so.0 (0x00007f24d7826000)
        libmysqlclient.so.15 => /usr/lib64/mysql/libmysqlclient.so.15 (0x00007f24d74b1000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f24d7279000)
        libz.so.1 => /lib/libz.so.1 (0x00007f24d7063000)
        librt.so.1 => /lib/librt.so.1 (0x00007f24d6e5a000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f24d6c0a000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f24d6880000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f24d6663000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007f24d644b000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f24d6231000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f24d602d000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6 (0x00007f24d5d23000)
        libm.so.6 => /lib/libm.so.6 (0x00007f24d5a9f000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f24d5888000)
        libc.so.6 => /lib/libc.so.6 (0x00007f24d550e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f24d7a29000)

The only difference between both ldd runs was an (explicitely) uninstalled libwww and an installed libwww and rebuilding squid.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-11-28 16:25:43 UTC
Please attach here the resulted config.log diff along with the build.log diff.

Btw, although these 2 cases expose quite a different ldd output, I don't see libwww being listed as a dependency. 
Comment 2 emerald 2009-11-28 16:45:14 UTC
libmd5.so.0 => /usr/lib/libmd5.so.0 (0x00007f24d7826000)
This line is a libwww library, which also brings in libmysqlclient and possibly more.
Comment 3 emerald 2009-11-28 17:13:28 UTC
Created attachment 211465 [details]
build.log diff
Comment 4 emerald 2009-11-28 17:13:54 UTC
Created attachment 211466 [details]
config.log diff
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2009-11-29 08:53:42 UTC
Fixed in revisions 3.0.20-r1 and 3.1.0.15_beta-r1, thanks!