libplist
libplist copied to clipboard
Unable to compile plist_cmp.o
ld: warning: ignoring file ../libcnary/.libs/libcnary.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture x86_64: "_node_first_child", referenced from: _compare_plist in plist_cmp.o "_node_next_sibling", referenced from: _compare_plist in plist_cmp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [plist_cmp] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
MacOS Mojave 10.14.6
Also fails with brew installed libplist, libusbmuxd, and libimobiledevice
This has completely broken every single program that I'd compile that uses any sort of dependency from this framework.
Ok, so it compiled successfully after removing cython.
I get this issue even without cython on the latest version of Catalina. Reopening as I'm not sure how to fix this (I remembered a while back but forgot). I'm not sure exactly what you'd like for me to add on here to help with debugging my issue so I'll post once I get a reply.
I'm using the latest commit also. Compiling node from source via homebrew also gives the same issue.
ld: warning: ignoring file ../libcnary/.libs/libcnary.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture x86_64: "_node_first_child", referenced from: _compare_plist in plist_cmp.o "_node_next_sibling", referenced from: _compare_plist in plist_cmp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [plist_cmp] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
what?
encountering that issue again, now it goes like libtool: error: '/usr/local/lib/libplist-2.0.la' is not a valid libtool archive
thought symbolic linking to the brew
Cellar would help but no can't do
issue might be solvable with: ./autogen.sh --without-cython --enable-static --disable-shared CFLAGS="-fPIC" CXXFLAGS="-fPIC"