Mac osx 10.13 - cannot build libsndfile
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, cmake, macos
- Domain
- build-system
Research direction
Start by reviewing the Homebrew CMake build log and the linker errors for the missing LAME symbols. Check how libsndfile’s MPEG Layer III encoder is linked with LAME on macOS, then compare the failing machine’s build setup with the two machines that succeeded. Done means identifying the build or dependency difference that causes the unresolved symbols and documenting a reproducible fix.
Written by the indexing model from the issue text.
Description
Hello,
I installed libsndfile on 2 of 3 machines with 10.13.6 using brew, but the third one gives me an error:
==> cmake --build build
Last 15 lines from /Users/digi/Library/Logs/Homebrew/libsndfile/02.cmake:
_mpeg_l3_encode_write_double_mono in mpeg_l3_encode.c.o
"_lame_encode_buffer_ieee_float", referenced from:
_mpeg_l3_encode_write_float_mono in mpeg_l3_encode.c.o
"_lame_encode_buffer_interleaved_ieee_double", referenced from:
_mpeg_l3_encode_write_double_stereo in mpeg_l3_encode.c.o
"_lame_encode_buffer_interleaved_ieee_float", referenced from:
_mpeg_l3_encode_write_float_stereo in mpeg_l3_encode.c.o
"_lame_encode_buffer_interleaved_int", referenced from:
_mpeg_l3_encode_write_int_stereo in mpeg_l3_encode.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
any ideas why?
Thanks!
- Dominant language
- C
- Stars
- 1.7k
- Forks
- 476
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libsndfile/libsndfile
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
libsndfile/libsndfile#1239 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
libsndfile/libsndfile#1238 · 2 comments ·
-
NULL pointer dereference in alac_pakt_read_decode() via unchecked alac_pakt_alloc() returnPossibly taken @Perennos claimed this 8 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libsndfile/libsndfile#1220 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
libsndfile/libsndfile#1182 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libsndfile/libsndfile#1165 ·
All issues in libsndfile/libsndfile
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CommonLoon102/restunts-bb11#101 ·
Maintainers usually reply within 1 day