Closed thias closed 3 years ago
Remove "-u" argument or use "--defined-only" and g_as_log is shown as defined.
$ nm --defined-only target/Linux-x86_64/lib/libaerospike.a | grep g_as_log
0000000000000000 D g_as_log
Can you provide your test output?
@BrianNichols : I get the same "D" output indeed. So my issue with g_as_log being undefined in my PHP module is due to something else? I'll keep digging, thanks for the reply!
This is related to https://github.com/aerospike/aerospike-client-php/issues/65
When building
aerospike-client-c
on RHEL 7.9, the resultinglibaerospike.a
seems to have unresolved symbols that correspond to code from the "common" files.Steps to reproduce:
The way I'm checking right now is like this (there are a lot more "U" lines):
I went through the README's build instructions a few times already, and can't figure out if I'm doing anything wrong. This is happening with both 4.x and 5.x. When I ran
make test
I got a result of266 tests: 253 passed, 13 failed
against a locally running 5.5.0.3 CE, which is even more confusing.