1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

linking with -lcrypto -lssl

Discussion in 'Mac Programming' started by lilili, Mar 17, 2008.

  1. macrumors newbie

    #1
    Hello everybody
    I have a c source files that need ssl library.
    In terminal i can compile it by giving -lssl and -lcrypto
    But how do i do that in xcode,
    Xcode complains about undefined symbol reference from

    Thanks
     
  2. macrumors newbie

    #2
    wrong order of libs OpenSSL

    Try linking with -lssl -lcrypto and -lcrypto -lssl (perhaps wrong order?) please tell me if it worked
     

Share This Page