Undefined symbols for architecture x8664 on OS X with fat library Tag: c, c, xcode, osx, openssl I have build libcrypto.a and libssl.a myself from source, specifying darwin64-x8664-cc (for 64-bit) and darwin-i386-cc (for 32-bit) to OpenSSL 's configure script. Xplat(?): Undefined symbols for architecture x8664 on OS X when building/linking to Rust #2284. Jun 12, 2014 Mac gfortran Undefined symbols for architecture x8664. Thread starter Darren.Long; Start date Oct 9, 2013; Sort (Likes) ? Video uploads are now enabled on the MacRumors Forums. IOS, Mac, tvOS, watchOS Programming D. Thank you for your comment! I couldn't find libunwind.a in /opt/intel/lib/intel64. There is libunwind.h in an irreverent folder, but I guess this is for another compiler. Undefined symbols for architecture x8664 Adobe Undefined symbols for architecture x8664. Learn more about mex, mex compiler, os-x, r2012a Undefined symbols for architecture x8664 - NVIDIA In my iOS app undefined symbols for architecture x8664. Undefined symbols for architecture x8664: “OBJCCLASS$AFHTTPRequestSerializer.
Dear group,
I most of the time have problem when I compile a program with make. I always have the same error message and can't solve it.
The below example is related to a program named geaos I am trying to install and have the same error:
libgeos.lax/libutil.a/Interrupt.o .libs/libgeos.lax/libutil.a/math.o .libs/libgeos.lax/libutil.a/Profiler.o -install_name /usr/local/lib/libgeos-3.4.2.dylib -Wl,-single_module
Undefined symbols for architecture x86_64:
'std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::En velope>)', referenced from:
virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
'__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv', referenced from:
virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [libgeos.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Undefined symbols for architecture x86_64:
'std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::En velope>)', referenced from:
virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
'__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv', referenced from:
virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [libgeos.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I hope someone could guide me to solve the serious issue.
AS
Posted on
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Sep 19, 2018
ref libuv/libuv#1367 after install libuv by on macOS, to compile it throws with -v I can see uv.h under /usr/local/include/ |
commented Sep 19, 2018
Os X Undefined Symbols For Architecture X86_644
resolve by gcc main.c -luv |
closed this Sep 19, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment