On Sun, Mar 22, 2015 at 11:25:19PM +0100, Matthias Andree wrote:

> > Try, "nm -D".  I get:
> > 
> >     $ nm /usr/local/lib/mysql/libmysqlclient.so.18 | egrep 'deflate'
> >     00000000000ece80 T deflate
> >     00000000000ee2c0 T deflateBound
> >     00000000000ee510 T deflateCopy
> >     00000000000ec420 T deflateEnd
> >     00000000000ebf30 T deflateInit2_
> >     0000000000173ec5 r deflateInit2_.my_version
> >     00000000000ebed0 T deflateInit_
> >     00000000000eccc0 T deflateParams
> >     00000000000ecc30 T deflatePrime
> >     00000000000ec600 T deflateReset
> >     00000000000ec790 T deflateSetDictionary
> >     00000000000ecbb0 T deflateSetHeader
> >     00000000000ee230 T deflateTune
> >     0000000000173e90 R deflate_copyright
> >     00000000000eecb0 t deflate_fast
> >     00000000000ef4f0 t deflate_slow
> >     00000000000ee890 t deflate_stored
> > 
> > Which shows the functions are part of the library and not external
> > references.
>
> I have tons of "T"-type symbols (yaSSL, TaoCrypt), but nothing that
> contains "deflate".  So are we looking at different mysql libraries?
>
> Version differences between 5.5 and 5.6 aside, I've dug up the poudriere
> build log and figured this:

Indeed external referefences would have been "U" rather "T".  So your
build is different.  The machine OP gave me access to had the 5.6 MySQL
client.  The builds may well be different.

The MySQL documentation:

    
https://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html#option_cmake_with_zlib
    
https://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html#option_cmake_with_zlib

seems to suggest that the "system" zlib is the default, and "bundled"
is optional.  I have no experience with FreeBSD ports or MySQL
builds, so I have no explanation for why the 5.6 build in question
ended up using the "bundled" zlib.

I think at this point this is up to the FreeBSD port maintainers
(MySQL client with a nudge from Postfix) to figure out.

-- 
        Viktor.

Reply via email to