Build fails on Mac OS X if --disable-openssl is used: _iasecc_sdo_encode_update_field

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Build fails on Mac OS X if --disable-openssl is used: _iasecc_sdo_encode_update_field

Ludovic Rousseau

I noticed that the build fails on Mac OS X if --disable-openssl is used.

Undefined symbols for architecture x86_64:
  "_iasecc_sdo_encode_update_field", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The problem is that _iasecc_sdo_encode_update_field is present in
./src/libopensc/.libs/libopensc-symbols.expsym but is not present in
any object file.

./src/libopensc/.libs/libopensc-symbols.expsym is generated from

The iasecc_sdo_encode_update_field symbol was added in this file in
with the commit comment "used by 'local SMM' module".

One solution would be to generated ./src/libopensc/libopensc.exports
from a ./src/libopensc/ during the ./configure

Any other idea?

 Dr. Ludovic Rousseau

Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
Opensc-devel mailing list
[hidden email]