MySQL: zlib errors on Solaris 8/gcc compile since 4.1.8a

  • timevans / 212 / Wed, 24 Jun 2009 01:53:00 GMT / Comments (0)
  • Since 4.1.8a, I've been unable to compile all new releases (including both the 4.1.x and 5.x versions) on Solaris 8 using gcc 3.4.2.

    Problem seems to be with zlib (I have version 1.2.3 installed). configure is run with --with-zlib-dir=/usr/local

    Problem comes in linking libmysqlclient.so, with scads of these errors:

    Text relocation remains referenced against symbol offset in file
    0x1d1c /usr/local/lib/libz.a(inflate.o)
    0x1d20 /usr/local/lib/libz.a(inflate.o)
    0x1d24 /usr/local/lib/libz.a(inflate.o)
    0x1d28 /usr/local/lib/libz.a(inflate.o)
    0x1d2c /usr/local/lib/libz.a(inflate.o)
    0x1d30 /usr/local/lib/libz.a(inflate.o)
    0x1d34 /usr/local/lib/libz.a(inflate.o)
    ...
    deflateEnd 0x68 /usr/local/lib/libz.a(compress.o
    )
    deflateEnd 0x88 /usr/local/lib/libz.a(compress.o
    )
    deflateEnd 0x104 /usr/local/lib/libz.a(compress.o
    )
    deflateEnd 0x124 /usr/local/lib/libz.a(compress.o
    )
    compressBound 0x3bc /usr/local/lib/libz.a(deflate.o)
    compressBound 0x3c0 /usr/local/lib/libz.a(deflate.o)
    deflateInit_ 0x34 /usr/local/lib/libz.a(compress.o
    )
    deflateInit_ 0xd0 /usr/local/lib/libz.a(compress.o
    )
    deflate 0x50 /usr/local/lib/libz.a(compress.o
    )
    deflate 0xec /usr/local/lib/libz.a(compress.o
    )
    deflate 0x1420 /usr/local/lib/libz.a(deflate.o)

    Again, 4.1.8a built without such errors, but every later release fails.

    http://www.tkevans.com/"
    ttp://www.come-here.com/News/
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql?unsub=myodbc...freebsd.csie.nctu.edu.tw
  • Keywords:

    zlib, errors, solaris, gcc, compile, since, 4.1.8a, mysql

  • http://database.itags.org/mysql/62273/«« Last Thread - Next Thread »»