Undefined symbols for architecture arm64

A general discussion forum.
przemek
Posts: 7
Joined: 16 Jun 2017, 07:59

Undefined symbols for architecture arm64

Postby przemek » 16 Jun 2017, 08:10

Hi,

I build a static library for arm64 and then I used Poco::Net::HTTPClientSession no problem. Later I wanted to use the secure version, HTTPSClientSession, so I rebuilt the library using the following configuration:

./configure --config=iPhone-clang-libc++ --omit=CppUnit,CppUnit/WinTestRunner,Data,Data/SQLite,Data/ODBC,Data/MySQL,MongoDB,Zip,PageCompiler,PageCompiler/File2Page --poquito --no-samples --no-tests --prefix=/temp/poco-lib/ios --include-path=/libs/openssl-arm64/include --library-path=/libs/openssl-arm64/libs

Now when I try to build my executable I get an error saying:

Undefined symbols for architecture arm64:
"Poco::Net::HTTPSClientSession::HTTPSClientSession...

Am I missing a step here? I used the same procedure for the secure build as for the none secure build yet one of them does not have the correct symbols in the static library.

Thanks in advance.

guenter
Posts: 1268
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Undefined symbols for architecture arm64

Postby guenter » 16 Jun 2017, 09:06

You'll need to link the libPocoCrypto.a and libPocoNetSSL.a libraries to your app.

przemek
Posts: 7
Joined: 16 Jun 2017, 07:59

Re: Undefined symbols for architecture arm64

Postby przemek » 16 Jun 2017, 15:56

Right. I forgot that in my build definition where I bring in all the .a dependencies I specified each dependency by name rather than just globing the entire directory.

Thank you.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests

cron