[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architectu
From: |
david laxer |
Subject: |
[Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64 |
Date: |
Fri, 5 Mar 2021 05:15:03 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15 |
Follow-up Comment #18, bug #59968 (project octave):
I am building from the repository the development branch.
0. I had to change -std=c++11 to -stdc++17 to solve the issues with <cmath>.
etc.
1. I switched to clang and clang++
2. I switched -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
$ xcrun -show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
3. this causes iconv.h to be found in :
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
4. the library : libiconv.2.dylib in
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
is a .tbd. Its my understanding this is associated with the system dynamic
library /usr/lib/libiconv.2.dylib.
5. -liconv doesn't resolve the linking error, but
-Wl,-force_load,/usr/lib/libiconv.2.dylib, does (not sure what's going on
here.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59968>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/04
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64,
david laxer <=
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Kai Torben Ohlhus, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/07