zlib most definitely is used, but it might not be that copy of it
that's getting used.  libpcrecpp-0.dll and libpcreposix-0.dll, on the
other hand, are definitely *not* needed.  We don't play tricks with
LoadLibrary as far as I know.

For reference, this is the set of libraries required in an
as-dynamically-linked-as-possible Linux build:

$ objdump --private-headers /usr/bin/mtn | grep NEEDED
  NEEDED               libpcre.so.3
  NEEDED               libbotan-1.8.2.so
  NEEDED               liblua5.1.so.0
  NEEDED               libsqlite3.so.0
  NEEDED               libidn.so.11
  NEEDED               libz.so.1
  NEEDED               libstdc++.so.6
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6


On Thu, May 21, 2009 at 4:11 PM, J Decker <[email protected]> wrote:
> Why are zlib1.dll, libpcrecpp-0.dll and libpcreposix-0.dll  included
> in the installation if they aren't used?
>
> copying mtn and dependancies only copes [ libiconv-2.dll libidn-11.dll
> libintl-8.dll libpcre-0.dll mtn.exe  ]
>
> I guess they might be dynamically loaded with LoadLibrary and
> GetProcAddress... but there's no reference of the text 'zlib' in any
> of the files except zlib1.dll...  uhmm I guess it might be unicode...
>
>
> _______________________________________________
> Monotone-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
>


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to