Closed williamcroberts closed 7 years ago
Weird. Looking into it.
oh, I think you need to add realpath ~/tmp/lib
to LD_LIBRARY_PATH. See https://github.com/01org/tpm2-abrmd/blob/master/.travis.yml#L39
LD_LIBRARY_PATH would be for runtime linking issues, this is at build time.
Right, my mistake. Then you need a -L in your LDLIBS like https://github.com/01org/tpm2-abrmd/blob/master/.travis.yml#L42 maybe?
this has gone a bit stale. I've been battling libtool etc here: https://github.com/flihp/tpm2-abrmd/tree/master-tracks-master if you've got ideas. I'm close: clang works fine, gcc has a linking problem (can't find symbols for a function in the new marshaling library).
clang works fine, gcc has a linking problem (can't find symbols for a function in the new marshaling library)
Which gcc version is buggy to build with? Can we downgrade gcc to a safe version?
Configuring with:
Results in:
If you add
--disable-shared
to the configure options, it's just the initSocketTcti and the InitDeviceTcti routines.