Full_Name: Daniel Ibn Zayd
Submission from: (NULL) (126.96.36.199)
This is a followup to a previous ticket. Based on what I learned from that, I
went ahead and tried to install the latest openldap on Gentoo Prefix. It pulls
in lmdb-0.9.14 which I understand now to be the preferred database backend over
db, for example. I successfully fixed one PPC error, replacing -soname with
-install_name (ld throws an error here), but I am left with an error having to
do with _posix-memalign:
Undefined symbols for architecture ppc:
"_posix_memalign", referenced from:
_mdb_env_copyfd2 in mdb.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
Over at MacPorts, they are recommending disabling mdb, but this doesn't seem to
be a real fix:
The better fix I think would be to test for _posix_memalign, and fall back to
valloc on older Macs.
In terms of C preprocessor macros, I believe "powerpc" and "PPC" to
drerecated definitions; "__ppc__" and "__PPC__" being valid.
Thank you in advance for your time.