[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 12:39:48 -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 #20, bug #59968 (project octave):
1. I cloned octave from the GitHub repository,
2. $ cat HG-ID
c9X6D%9Y1*@1
3. please find attached 'octave.out' which combines output from ./bootstrap
and make distclean
4. when I used -std=c++11, I got many compiler errors
(please see: https://github.com/nlohmann/json/issues/2087)
5. There may be some issue between libiconv.2.4.0.tbd and /usr/lib
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
(base) MacBook-Pro:octave davidlaxer$ xcrun -show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
find /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib -name
'*iconv*' -ls
12984624073 0 lrwxr-xr-x 1 root wheel
14 Feb 27 10:25
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libiconv.2.4.0.tbd
-> libiconv.2.tbd
12984624702 8 -r--r--r-- 1 root wheel
759 Jul 9 2020
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libiconv.2.tbd
12984624795 0 lrwxr-xr-x 1 root wheel
18 Feb 27 10:25
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libiconv.tbd
-> libiconv.2.4.0.tbd
$ ls -l /usr/lib/libiconv.2.4.0.dylib
lrwxr-xr-x 1 root wheel 16 Jan 30 21:51 /usr/lib/libiconv.2.4.0.dylib ->
libiconv.2.dylib
6. to resolve the linker error I had to add this:
-Wl,-force_load,/usr/lib/libiconv.2.dylib
$ /usr/bin/clang++ -dynamiclib -o liboctave/.libs/liboctave.8.dylib
liboctave/.libs/liboctave_la-liboctave-build-info.o
liboctave/.libs/liboctave_la-version.o
-Wl,-force_load,liboctave/array/.libs/libarray.a
-Wl,-force_load,liboctave/external/blas-xtra/.libs/libxerbla.a
-Wl,-force_load,liboctave/external/ranlib/.libs/libranlib.a
-Wl,-force_load,liboctave/external/.libs/libexternal.a
-Wl,-force_load,liboctave/numeric/.libs/libnumeric.a
-Wl,-force_load,liboctave/operators/.libs/liboperators.a
-Wl,-force_load,liboctave/system/.libs/libsystem.a
-Wl,-force_load,liboctave/util/.libs/libutil.a
-Wl,-force_load,liboctave/wrappers/.libs/libwrappers.a
-Wl,-force_load,libgnu/.libs/libgnu.a -L/opt/local/lib
-L/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib
-L/Users/davidlaxer/SuiteSparse/lib/ -L/opt/local/libexec/qt5/lib
-L/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib -lcurl
-lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse
-lsuitesparseconfig -lspqr -larpack -lfftw3_threads -lfftw3 -lfftw3f_threads
-lfftw3f -llapack -lblas -lncurses -lpcre -ldl
-L/opt/local/lib/gcc10/gcc/x86_64-apple-darwin19/10.2.0
-L/opt/local/lib/gcc10/gcc/x86_64-apple-darwin19/10.2.0/../../.. -lgfortran
-lquadmath -liconv -lm -pthread -stdlib=libc++ -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-framework
-Wl,CoreFoundation -pthread -install_name
/usr/local/lib/octave/7.0.0/liboctave.8.dylib -compatibility_version 9
-current_version 9.0 -Wl,-single_module
-Wl,-force_load,/usr/lib/libiconv.2.dylib
7. make distclean gzipped is still 32k. How should I send it?
(file #51000, file #51001)
_______________________________________________________
Additional Item Attachment:
File name: config.log.gz Size:9 KB
<https://file.savannah.gnu.org/file/config.log.gz?file_id=51000>
File name: bootstrap.out.gz Size:6 KB
<https://file.savannah.gnu.org/file/bootstrap.out.gz?file_id=51001>
_______________________________________________________
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, 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, 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
- [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, david laxer, 2021/03/07