Skip to content
New issue

Have 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

Build fails on 10.10.3. with 6.1.0 Apple Compiler Package #35

Open
ghost opened this issue May 5, 2015 · 3 comments
Open

Build fails on 10.10.3. with 6.1.0 Apple Compiler Package #35

ghost opened this issue May 5, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented May 5, 2015

ian@thor:% llvm-g++ --version 14:15
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
ian@thor:
% g++ --version 14:15
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
ian@thor:~% brew install gnuradio 14:15
==> Installing gnuradio from metacollin/homebrew-gnuradio
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://gnuradio.org/releases/gnuradio/gnuradio-3.7.5.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnuradio-3.7.5.1.tar.gz
==> cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gnuradio/3.7.5.1 -DENABLE_DOXYGEN=Off -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DPYTHON_EXECUT
==> make
/usr/local/Library/ENV/4.3/clang++ -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 3.7.5 -o libgnuradio-blocks.3.7.5.1.dylib -install_name /usr/local/Cellar/gnuradio/3.7.5.1/lib/libgnuradio-blocks.3.7.5.1.dylib CMakeFiles/gnuradio-blocks.dir/abs_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/abs_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/abs_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_vbb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_vss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_vii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_vff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/add_const_vcc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_const_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_const_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/and_const_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/argmax_fs_impl.cc.o CMakeFiles/gnuradio-blocks.dir/argmax_is_impl.cc.o CMakeFiles/gnuradio-blocks.dir/argmax_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/divide_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/divide_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/divide_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/divide_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/integrate_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/integrate_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/integrate_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/integrate_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/max_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/max_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/max_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/min_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/min_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/min_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/moving_average_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/moving_average_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/moving_average_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/moving_average_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_vss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_vii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/mute_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/mute_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/mute_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/mute_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/not_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/not_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/not_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/or_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/or_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/or_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/peak_detector_fb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/peak_detector_ib_impl.cc.o CMakeFiles/gnuradio-blocks.dir/peak_detector_sb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_b_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_vb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_vs_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_vi_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_vf_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_signal_vc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sample_and_hold_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sample_and_hold_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sample_and_hold_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sample_and_hold_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sub_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sub_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sub_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tsb_vector_sink_b_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tsb_vector_sink_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tsb_vector_sink_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tsb_vector_sink_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tsb_vector_sink_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/xor_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/xor_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/xor_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/packed_to_unpacked_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/packed_to_unpacked_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/packed_to_unpacked_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/unpacked_to_packed_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/unpacked_to_packed_ss_impl.cc.o CMakeFiles/gnuradio-blocks.dir/unpacked_to_packed_ii_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_insert_b_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_insert_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_insert_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_insert_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_insert_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_sink_b_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_sink_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_sink_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_sink_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_sink_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_source_b_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_source_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_source_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_source_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_source_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/control_loop.cc.o CMakeFiles/gnuradio-blocks.dir/count_bits.cc.o CMakeFiles/gnuradio-blocks.dir/file_sink_base.cc.o CMakeFiles/gnuradio-blocks.dir/pack_k_bits.cc.o CMakeFiles/gnuradio-blocks.dir/unpack_k_bits.cc.o CMakeFiles/gnuradio-blocks.dir/wavfile.cc.o CMakeFiles/gnuradio-blocks.dir/add_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/annotator_1to1_impl.cc.o CMakeFiles/gnuradio-blocks.dir/annotator_alltoall_impl.cc.o CMakeFiles/gnuradio-blocks.dir/annotator_raw_impl.cc.o CMakeFiles/gnuradio-blocks.dir/bin_statistics_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/burst_tagger_impl.cc.o CMakeFiles/gnuradio-blocks.dir/char_to_float_impl.cc.o CMakeFiles/gnuradio-blocks.dir/char_to_short_impl.cc.o CMakeFiles/gnuradio-blocks.dir/check_lfsr_32k_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_interleaved_short_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_float_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_real_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_imag_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_mag_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_mag_squared_impl.cc.o CMakeFiles/gnuradio-blocks.dir/complex_to_arg_impl.cc.o CMakeFiles/gnuradio-blocks.dir/conjugate_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/copy_impl.cc.o CMakeFiles/gnuradio-blocks.dir/deinterleave_impl.cc.o CMakeFiles/gnuradio-blocks.dir/delay_impl.cc.o CMakeFiles/gnuradio-blocks.dir/endian_swap_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_descriptor_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_descriptor_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_meta_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/file_meta_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/float_to_char_impl.cc.o CMakeFiles/gnuradio-blocks.dir/float_to_complex_impl.cc.o CMakeFiles/gnuradio-blocks.dir/float_array_to_int.cc.o CMakeFiles/gnuradio-blocks.dir/float_to_int_impl.cc.o CMakeFiles/gnuradio-blocks.dir/float_to_short_impl.cc.o CMakeFiles/gnuradio-blocks.dir/float_array_to_uchar.cc.o CMakeFiles/gnuradio-blocks.dir/float_to_uchar_impl.cc.o CMakeFiles/gnuradio-blocks.dir/head_impl.cc.o CMakeFiles/gnuradio-blocks.dir/int_to_float_impl.cc.o CMakeFiles/gnuradio-blocks.dir/interleave_impl.cc.o CMakeFiles/gnuradio-blocks.dir/interleaved_short_array_to_complex.cc.o CMakeFiles/gnuradio-blocks.dir/interleaved_short_to_complex_impl.cc.o CMakeFiles/gnuradio-blocks.dir/interleaved_char_to_complex_impl.cc.o CMakeFiles/gnuradio-blocks.dir/keep_m_in_n_impl.cc.o CMakeFiles/gnuradio-blocks.dir/keep_one_in_n_impl.cc.o CMakeFiles/gnuradio-blocks.dir/lfsr_32k_source_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_debug_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_strobe_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o CMakeFiles/gnuradio-blocks.dir/message_burst_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_conjugate_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_vcc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_const_vff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/nlog10_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/nop_impl.cc.o CMakeFiles/gnuradio-blocks.dir/null_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/null_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pack_k_bits_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/patterned_interleaver_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pdu.cc.o CMakeFiles/gnuradio-blocks.dir/tag_debug_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pdu_filter_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pdu_set_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pdu_remove_impl.cc.o CMakeFiles/gnuradio-blocks.dir/pdu_to_tagged_stream_impl.cc.o CMakeFiles/gnuradio-blocks.dir/peak_detector2_fb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/random_pdu_impl.cc.o CMakeFiles/gnuradio-blocks.dir/plateau_detector_fb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/probe_rate_impl.cc.o CMakeFiles/gnuradio-blocks.dir/regenerate_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/repack_bits_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/repeat_impl.cc.o CMakeFiles/gnuradio-blocks.dir/rms_cf_impl.cc.o CMakeFiles/gnuradio-blocks.dir/rms_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/rotator_cc_impl.cc.o CMakeFiles/gnuradio-blocks.dir/short_to_char_impl.cc.o CMakeFiles/gnuradio-blocks.dir/short_to_float_impl.cc.o CMakeFiles/gnuradio-blocks.dir/skiphead_impl.cc.o CMakeFiles/gnuradio-blocks.dir/socket_pdu_impl.cc.o CMakeFiles/gnuradio-blocks.dir/stream_mux_impl.cc.o CMakeFiles/gnuradio-blocks.dir/stream_pdu_base.cc.o CMakeFiles/gnuradio-blocks.dir/stream_to_streams_impl.cc.o CMakeFiles/gnuradio-blocks.dir/stream_to_tagged_stream_impl.cc.o CMakeFiles/gnuradio-blocks.dir/stream_to_vector_impl.cc.o CMakeFiles/gnuradio-blocks.dir/streams_to_stream_impl.cc.o CMakeFiles/gnuradio-blocks.dir/streams_to_vector_impl.cc.o CMakeFiles/gnuradio-blocks.dir/stretch_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/sub_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tagged_file_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tagged_stream_to_pdu_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tagged_stream_multiply_length_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tags_strobe_impl.cc.o CMakeFiles/gnuradio-blocks.dir/threshold_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/throttle_impl.cc.o CMakeFiles/gnuradio-blocks.dir/transcendental_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tcp_connection.cc.o CMakeFiles/gnuradio-blocks.dir/tuntap_pdu_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tag_gate_impl.cc.o CMakeFiles/gnuradio-blocks.dir/tagged_stream_mux_impl.cc.o CMakeFiles/gnuradio-blocks.dir/uchar_array_to_float.cc.o CMakeFiles/gnuradio-blocks.dir/uchar_to_float_impl.cc.o CMakeFiles/gnuradio-blocks.dir/udp_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/udp_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/unpack_k_bits_bb_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vco_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vco_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_map_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_to_stream_impl.cc.o CMakeFiles/gnuradio-blocks.dir/vector_to_streams_impl.cc.o CMakeFiles/gnuradio-blocks.dir/wavfile_sink_impl.cc.o CMakeFiles/gnuradio-blocks.dir/wavfile_source_impl.cc.o CMakeFiles/gnuradio-blocks.dir/multiply_matrix_ff_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe2_c_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe2_f_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe2_s_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe2_i_impl.cc.o CMakeFiles/gnuradio-blocks.dir/ctrlport_probe2_b_impl.cc.o ../../gnuradio-runtime/lib/libgnuradio-runtime.3.7.5.1.dylib ../../volk/lib/libvolk.0.0.0.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_program_options-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/liborc-0.4.dylib ../../gnuradio-runtime/lib/pmt/libgnuradio-pmt.3.7.5.1.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_program_options-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_thread-mt.dylib -Wl,-rpath,/usr/local/Cellar/gnuradio/3.7.5.1/lib
cd /tmp/gnuradio20150505-25544-hz6soi/gnuradio-3.7.5.1/build/gr-blocks/lib && /usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_symlink_library libgnuradio-blocks.3.7.5.1.dylib libgnuradio-blocks.3.7.5.1.dylib libgnuradio-blocks.dylib
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_report /tmp/gnuradio20150505-25544-hz6soi/gnuradio-3.7.5.1/build/CMakeFiles 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
[ 66%] Built target gnuradio-blocks
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/metacollin/homebrew-gnuradio/issues

@metacollin
Copy link
Owner

I can't really help without the build logs, specifically ~/Library/Logs/Homebrew/gnuradio/02.make and 03.make. Those will be rather large, gist is helpful for that kind of thing.

@ghost
Copy link
Author

ghost commented May 18, 2015

Oh Sorry about that. Here is 02.make - 03.make doesn't exist:

https://gist.github.com/ilintault/abd9b0ba7b589c777664.js

@metacollin
Copy link
Owner

Thanks, that's exactly what I needed.

You have what may be a rogue .dylib in your /usr/local/lib folder, specifically libdb. Can you run brew doctor and see if it gives you an Unbrewed dylib warning, and a path to something like libdb-5.3.dylib? If so, you should probably remove it, its probably from something you installed years ago (like, back when OS X was still 32-bit. YEARS ago :) ) and its migrated from OS upgrade to OS upgrade or even to a new machine if you used the user migration tool. The problem is gnuradio is trying to link to it, but the .dylib is 32-bit only, and contains nothing usable if building for your (now) 64-bit system.

If you don't get any warning about it from brew doctor, then you should brew remove berkeley-db then brew install berkeley-db.

I'm not entirely sure why gnuradio is trying to link to berkeley db at all, it apparently automatically tries to use it if it finds it. WHAT it uses it for, I have no idea, but having or not having it installed doesn't seem to matter. Having it installed but for the wrong architecture like in your case, that's a problem. Removing and installing it should ensure it gets built with 64-bit symbols, but I am 99% sure it wasn't put there by homebrew and is just a rogue dylib up to no good ;).

Anyway, if brew doctor doesn't like that dylib, just follow it's instructions to remove it, then try installing gnuradio again. Looking at the log, everything else is perfect so it should build without a hitch this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant