Bug #19966 yaSSL not included in libmysqld library
Submitted: 20 May 2006 9:52 Modified: 7 Jun 2006 8:37
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1.11-pre OS:MacOS (Mac OS X)
Assigned to: Kent Boortz CPU Architecture:Any

[20 May 2006 9:52] Kent Boortz
The yaSSL library is not included in the embedded library,
as the "libyassl.la" file is used when listing objects to include

          rm -rf tmp; mkdir tmp; \
          (for arc in ./libmysqld_int.a ../regex/libregex.a ../mysys/libmysys.a ../strings/libmystrings.a ../dbug/libdbug.a ../vio/libvio.a ../storage/bdb/build_unix/libdb.a ../storage/blackhole/libblackhole.a ../storage/csv/libcsv.a ../storage/heap/libheap.a ../storage/innobase/libinnobase.a ../storage/myisam/libmyisam.a ../storage/myisammrg/libmyisammrg.a ../storage/ndb/src/.libs/libndbclient.a   ../storage/archive/libarchive.a ../storage/example/libexample.a ../extra/yassl/src/libyassl.la ../extra/yassl/taocrypt/src/libtaocrypt.la; do \
            arpath=`echo $arc|sed 's|[^/]*$||'|sed 's|\.libs/$||'`; \
            artmp=`echo $arc|sed 's|^.*/|tmp/lib-|'`; \
            for F in `ar t $arc`; do \
              if test -e "$arpath/$F" ; then echo "$arpath/$F"; else \
              mkdir $artmp; cd $artmp > /dev/null; \
              ar x ../../$arc; \
              cd $current_dir > /dev/null; \
              ls $artmp/*; \
              continue 2; fi; done; \
          done; echo  ) | sort -u | xargs ar cq libmysqld.a ; \
          ranlib libmysqld.a    ; \
          rm -rf tmp; \
 ar: ../extra/yassl/src/libyassl.la: Inappropriate file type or format
 ar: ../extra/yassl/taocrypt/src/libtaocrypt.la: Inappropriate file type or format

How to repeat:
Build 5.1 with embedded server support and yaSSL
support, i.e. "--with-embedded-server --with-ssl".
[20 May 2006 12:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from: