#56947 closed defect (fixed)
jack build fails on OSX 10.8.5 at link stage due to unspecified stdlib during link
Reported by: | letaage | Owned by: | Ken <21211439+kencu@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.3 |
Keywords: | Cc: | ||
Port: | jack |
Description
I am having trouble installing jack on OSX 10.8.5, it is failing at the linking stage with the following error:
info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don't know enough about software to fix this myself :(
Log file attached
Attachments (1)
Change History (5)
Changed 6 years ago by letaage
comment:1 Changed 6 years ago by kencu (Ken)
Keywords: | jack removed |
---|---|
Summary: | jack build fails on OSX 10.8.5 → jack build fails on OSX 10.8.5 at link stage due to unspecified stdlib during link |
comment:2 Changed 6 years ago by kencu (Ken)
The essential issue is that the software builds against the libc++
headers on your system (I presume you have your system set up to use libc++
), but during the link stage it is trying to link against /usr/lib/libstdc++.dylib
, which it does by default if none is specified on the link line. It doesn't find the symbols it is looking to link against in that library, so it errors out.
:info:configure C++ compiler flags : ['-pipe', '-Os', '-stdlib=libc++', '-arch', 'x86_64', '-Wall', '-I/opt/local/include'] :info:configure Linker flags : ['-L/opt/local/lib', '-Wl,-headerpad_max_install_names', '-arch', 'x86_64']
The linker invocation should pull in the CXX flags, so it should take care of this without our intervention, but it doesn't.
I'll take a look at this and see where that should be added in the build files. Alternatively, we sometimes just add it ourselves to the link flags.
comment:3 Changed 6 years ago by Ken <21211439+kencu@…>
Owner: | set to Ken <21211439+kencu@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 6 years ago by kencu (Ken)
If you wait a bit for this to propogate through, then selfupdate, your build should go smoothly now.
jack build log