title: Static library for Mac OS
body: <p>I wrote a C++ static lib for Mac OS. It is for application run with smart card. Therefore, it used PCSC.framework. During compiling mylib, there is no problem and a static lib is derived. I created an application which was command line tool. I added my static lib to the application. When i created an instance from one class of the lib and called a method of the instance, i took errors undefined symbols for arcitecture x86_64: SCardConnect, SCardEstablishContext and the other pcsc functions</p>
  
  <p>To solve these errors, i tried followings;</p>
  
  <p>I rebuilt the static lib after changing architectures 32-bit intel from 64 bit. Then i also rebuilt  test application. But errors were continued similary. Just difference from the earlier, undefined symbols for arcitecture i386.</p>
  
  <p>I have PCSC for both arcitectures x86_64 and i386. libccid was for i386. i run pcsctest correctly.</p>
  
  <p>Please let me know how i can solve it. </p>