Bug #20507 Problem linking C code to the client library on HP-UX 11.11
Submitted: 16 Jun 2006 15:29 Modified: 2 Dec 2010 9:34
Reporter: Kent Boortz Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.22 OS:HP/UX (HP-UX 11.11 PA-RISC)
Assigned to: CPU Architecture:Any
Tags: cyassl
Triage: D3 (Medium)

[16 Jun 2006 15:29] Kent Boortz
Description:
Linking gives for 32 bits

  /usr/ccs/bin/ld: Unsatisfied symbols:
     [Vtable]key:__dt__21__versioned_type_infoFv (first referenced in lib/libmysqlclient.a(ssl.o)) (data)
     __PureVirtualCalled (first referenced in lib/libmysqlclient.a(ssl.o)) (code)
     __nw__FUl (first referenced in lib/libmysqlclient.a(cert_wrapper.o)) (code)
     __dl__FPv (first referenced in lib/libmysqlclient.a(ssl.o)) (code)

and for 64 bits

  ld: Unsatisfied symbol "__nw__FUl" in file lib/libmysqlclient.a[yassl_imp.o]
  ld: Unsatisfied symbol "__dl__FPv" in file lib/libmysqlclient.a[ssl.o]
  ld: Unsatisfied symbol "[Vtable]key:__dt__21__versioned_type_infoFv" in file lib/libmysqlclient.a[ssl.o]
  ld: Unsatisfied symbol "__PureVirtualCalled" in file lib/libmysqlclient.a[ssl.o]

How to repeat:
Try use the client library from C
[2 Aug 2007 19:13] Bugs System
Pushed into 5.1.21-beta
[2 Dec 2010 9:34] Kent Boortz
Platform is not supported any more, see

http://www.mysql.com/support/supportedplatforms/database.html

The problem itself is not in current MySQL server binaries for HP-UX, as they are not compiled with SSL support. The reason for this problem was that the SSL library used, yaSSL, is written in C++ and has C++ runtime library dependencies.