Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Make failing: brew install neovim with Linuxbrew #218

Open
benjamin-rood opened this issue Jun 18, 2017 · 6 comments
Open

Make failing: brew install neovim with Linuxbrew #218

benjamin-rood opened this issue Jun 18, 2017 · 6 comments

Comments

@benjamin-rood
Copy link

OS: Xubuntu 16.04.2 LTS

Attempts and terminal output below. Please let me know if there is any other info you require.

brew doctor says "[my] system is ready to brew" :)

brew install neovim --env=std
==> Installing neovim from neovim/neovim
==> Downloading https://github.com/neovim/neovim/archive/v0.2.0.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim-0.2.0.tar.gz
==> Downloading https://github.com/luarocks/luarocks/archive/5d8a16526573b36d5b
Already downloaded: /home/br/.cache/Homebrew/neovim--luarocks-998466697.tar.gz
==> Downloading https://github.com/luvit/luv/archive/1.9.1-0.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim--luv-1.9.1-0.tar.gz
==> Downloading https://raw.githubusercontent.com/neovim/deps/master/opt/LuaJIT
Already downloaded: /home/br/.cache/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_BUNDLED_GPERF=OFF -DUSE
==> make VERBOSE=1
==> Building Neovim.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBU
==> make VERBOSE=1 install
Last 15 lines from /home/br/.cache/Homebrew/Logs/neovim/04.make:
runtime/CMakeFiles/vimball-tags.dir/build.make:60: recipe for target 'runtime/CMakeFiles/vimball-tags' failed
make[2]: *** [runtime/CMakeFiles/vimball-tags] Error 134
make[2]: Leaving directory '/tmp/neovim-20170619-23604-oqps1i/neovim-0.2.0/build'
CMakeFiles/Makefile2:7124: recipe for target 'runtime/CMakeFiles/vimball-tags.dir/all' failed
make[1]: *** [runtime/CMakeFiles/vimball-tags.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Aborted (core dumped)
runtime/CMakeFiles/helptags.dir/build.make:60: recipe for target 'runtime/CMakeFiles/helptags' failed
make[2]: *** [runtime/CMakeFiles/helptags] Error 134
make[2]: Leaving directory '/tmp/neovim-20170619-23604-oqps1i/neovim-0.2.0/build'
CMakeFiles/Makefile2:7188: recipe for target 'runtime/CMakeFiles/helptags.dir/all' failed
make[1]: *** [runtime/CMakeFiles/helptags.dir/all] Error 2
make[1]: Leaving directory '/tmp/neovim-20170619-23604-oqps1i/neovim-0.2.0/build'
Makefile:154: recipe for target 'all' failed
make: *** [all] Error 2
brew uninstall neovim --force
brew prune
brew tap neovim/neovim
brew tap --repair
brew install neovim --HEAD
Pruned 0 symbolic links and 13 directories from /home/linuxbrew/.linuxbrew
==> Installing neovim from neovim/neovim
==> Cloning https://github.com/neovim/neovim.git
Cloning into '/home/br/.cache/Homebrew/neovim--git'...
remote: Counting objects: 64757, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 64757 (delta 4), reused 7 (delta 1), pack-reused 64738
Receiving objects: 100% (64757/64757), 55.41 MiB | 5.42 MiB/s, done.
Resolving deltas: 100% (46656/46656), done.
Checking connectivity... done.
==> Checking out branch master
==> Downloading https://github.com/luarocks/luarocks/archive/2.4.2.tar.gz
==> Downloading from https://codeload.github.com/luarocks/luarocks/tar.gz/2.4.2
######################################################################## 100.0%
==> Downloading https://github.com/luvit/luv/archive/1.9.1-0.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim--luv-1.9.1-0.tar.gz
==> Downloading https://raw.githubusercontent.com/neovim/deps/master/opt/LuaJIT
Already downloaded: /home/br/.cache/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_BUNDLED_GPERF=OFF -DUSE
==> make VERBOSE=1
==> Building Neovim.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBU
==> make VERBOSE=1 install
Last 15 lines from /home/br/.cache/Homebrew/Logs/neovim/04.make:
cd /tmp/neovim-20170619-1823-12xthgq/build/src/nvim && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/tmp/neovim-20170619-1823-12xthgq/build/config -I/tmp/neovim-20170619-1823-12xthgq/src -isystem /home/linuxbrew/.linuxbrew/include -I/tmp/neovim-20170619-1823-12xthgq/build/src/nvim/auto -I/tmp/neovim-20170619-1823-12xthgq/build/include -I/tmp/neovim-20170619-1823-12xthgq/deps-build/usr/include/luajit-2.0  -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g  -DMIN_LOG_LEVEL=3   -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto  -Wno-conversion -o CMakeFiles/nvim.dir/window.c.o   -c /tmp/neovim-20170619-1823-12xthgq/src/nvim/window.c
[100%] Linking C executable ../../bin/nvim
cd /tmp/neovim-20170619-1823-12xthgq/build/src/nvim && /home/linuxbrew/.linuxbrew/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/nvim.dir/link.txt --verbose=1
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5  -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g  -DMIN_LOG_LEVEL=3   -Wl,--no-undefined -rdynamic CMakeFiles/nvim.dir/auto/msgpack_lua_c_bindings.generated.c.o CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o CMakeFiles/nvim.dir/api/buffer.c.o CMakeFiles/nvim.dir/api/private/dispatch.c.o CMakeFiles/nvim.dir/api/private/handle.c.o CMakeFiles/nvim.dir/api/private/helpers.c.o CMakeFiles/nvim.dir/api/tabpage.c.o CMakeFiles/nvim.dir/api/ui.c.o CMakeFiles/nvim.dir/api/vim.c.o CMakeFiles/nvim.dir/api/window.c.o CMakeFiles/nvim.dir/arabic.c.o CMakeFiles/nvim.dir/buffer.c.o CMakeFiles/nvim.dir/charset.c.o CMakeFiles/nvim.dir/cursor.c.o CMakeFiles/nvim.dir/cursor_shape.c.o CMakeFiles/nvim.dir/diff.c.o CMakeFiles/nvim.dir/digraph.c.o CMakeFiles/nvim.dir/edit.c.o CMakeFiles/nvim.dir/eval.c.o CMakeFiles/nvim.dir/eval/decode.c.o CMakeFiles/nvim.dir/eval/encode.c.o CMakeFiles/nvim.dir/eval/executor.c.o CMakeFiles/nvim.dir/eval/gc.c.o CMakeFiles/nvim.dir/eval/typval.c.o CMakeFiles/nvim.dir/event/libuv_process.c.o CMakeFiles/nvim.dir/event/loop.c.o CMakeFiles/nvim.dir/event/multiqueue.c.o CMakeFiles/nvim.dir/event/process.c.o CMakeFiles/nvim.dir/event/rstream.c.o CMakeFiles/nvim.dir/event/signal.c.o CMakeFiles/nvim.dir/event/socket.c.o CMakeFiles/nvim.dir/event/stream.c.o CMakeFiles/nvim.dir/event/time.c.o CMakeFiles/nvim.dir/event/wstream.c.o CMakeFiles/nvim.dir/ex_cmds.c.o CMakeFiles/nvim.dir/ex_cmds2.c.o CMakeFiles/nvim.dir/ex_docmd.c.o CMakeFiles/nvim.dir/ex_eval.c.o CMakeFiles/nvim.dir/ex_getln.c.o CMakeFiles/nvim.dir/farsi.c.o CMakeFiles/nvim.dir/file_search.c.o CMakeFiles/nvim.dir/fileio.c.o CMakeFiles/nvim.dir/fold.c.o CMakeFiles/nvim.dir/garray.c.o CMakeFiles/nvim.dir/getchar.c.o CMakeFiles/nvim.dir/hardcopy.c.o CMakeFiles/nvim.dir/hashtab.c.o CMakeFiles/nvim.dir/if_cscope.c.o CMakeFiles/nvim.dir/indent.c.o CMakeFiles/nvim.dir/indent_c.c.o CMakeFiles/nvim.dir/keymap.c.o CMakeFiles/nvim.dir/log.c.o CMakeFiles/nvim.dir/lua/converter.c.o CMakeFiles/nvim.dir/lua/executor.c.o CMakeFiles/nvim.dir/main.c.o CMakeFiles/nvim.dir/map.c.o CMakeFiles/nvim.dir/mark.c.o CMakeFiles/nvim.dir/mbyte.c.o CMakeFiles/nvim.dir/memfile.c.o CMakeFiles/nvim.dir/memline.c.o CMakeFiles/nvim.dir/memory.c.o CMakeFiles/nvim.dir/menu.c.o CMakeFiles/nvim.dir/message.c.o CMakeFiles/nvim.dir/misc1.c.o CMakeFiles/nvim.dir/mouse.c.o CMakeFiles/nvim.dir/move.c.o CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o CMakeFiles/nvim.dir/msgpack_rpc/server.c.o CMakeFiles/nvim.dir/normal.c.o CMakeFiles/nvim.dir/ops.c.o CMakeFiles/nvim.dir/option.c.o CMakeFiles/nvim.dir/os/dl.c.o CMakeFiles/nvim.dir/os/env.c.o CMakeFiles/nvim.dir/os/fileio.c.o CMakeFiles/nvim.dir/os/fs.c.o CMakeFiles/nvim.dir/os/input.c.o CMakeFiles/nvim.dir/os/mem.c.o CMakeFiles/nvim.dir/os/pty_process_unix.c.o CMakeFiles/nvim.dir/os/shell.c.o CMakeFiles/nvim.dir/os/signal.c.o CMakeFiles/nvim.dir/os/stdpaths.c.o CMakeFiles/nvim.dir/os/time.c.o CMakeFiles/nvim.dir/os/users.c.o CMakeFiles/nvim.dir/os_unix.c.o CMakeFiles/nvim.dir/path.c.o CMakeFiles/nvim.dir/popupmnu.c.o CMakeFiles/nvim.dir/profile.c.o CMakeFiles/nvim.dir/quickfix.c.o CMakeFiles/nvim.dir/rbuffer.c.o CMakeFiles/nvim.dir/regexp.c.o CMakeFiles/nvim.dir/screen.c.o CMakeFiles/nvim.dir/search.c.o CMakeFiles/nvim.dir/sha256.c.o CMakeFiles/nvim.dir/shada.c.o CMakeFiles/nvim.dir/spell.c.o CMakeFiles/nvim.dir/spellfile.c.o CMakeFiles/nvim.dir/state.c.o CMakeFiles/nvim.dir/strings.c.o CMakeFiles/nvim.dir/syntax.c.o CMakeFiles/nvim.dir/tag.c.o CMakeFiles/nvim.dir/terminal.c.o CMakeFiles/nvim.dir/tui/input.c.o CMakeFiles/nvim.dir/tui/tui.c.o CMakeFiles/nvim.dir/ugrid.c.o CMakeFiles/nvim.dir/ui.c.o CMakeFiles/nvim.dir/ui_bridge.c.o CMakeFiles/nvim.dir/undo.c.o CMakeFiles/nvim.dir/version.c.o CMakeFiles/nvim.dir/window.c.o  -o ../../bin/nvim -luv -lrt -lpthread -lnsl -ldl -ldl -lnsl -lrt -lmsgpackc -lvterm -ltermkey -lunibilium -lpthread -lm -lutil ../../../deps-build/usr/lib/libluajit-5.1.a -ljemalloc -lpthread -lmsgpackc -lvterm -ltermkey -lunibilium -lpthread -lm -lutil ../../../deps-build/usr/lib/libluajit-5.1.a -ljemalloc 
/usr/bin/ld: ../../../deps-build/usr/lib/libluajit-5.1.a(lj_clib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/nvim/CMakeFiles/nvim.dir/build.make:4050: recipe for target 'bin/nvim' failed
make[2]: *** [bin/nvim] Error 1
make[2]: Leaving directory '/tmp/neovim-20170619-1823-12xthgq/build'
CMakeFiles/Makefile2:2702: recipe for target 'src/nvim/CMakeFiles/nvim.dir/all' failed
make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: Leaving directory '/tmp/neovim-20170619-1823-12xthgq/build'
Makefile:154: recipe for target 'all' failed
make: *** [all] Error 2

@benjamin-rood benjamin-rood changed the title Make failing: brew install neovim Make failing: brew install neovim with Linuxbrew Jun 18, 2017
@justinmk
Copy link
Member

can you try HEAD (0.2.1)?

@jszakmeister
Copy link
Contributor

It looks like the link order might be wrong for some reason. If luajit depends on libdl, -ldl should come after the reference to luajit.

@benjamin-rood
Copy link
Author

@jszakmeister @justinmk Thanks for your replies.

John, is this something I can manually edit myself to confirm your suspicion?

@justinmk

brew install --HEAD neovim
==> Installing neovim from neovim/neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /home/br/.cache/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/luarocks/luarocks/archive/2.4.2.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim--luarocks-2.4.2.tar.gz
==> Downloading https://github.com/luvit/luv/archive/1.9.1-0.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim--luv-1.9.1-0.tar.gz
==> Downloading https://raw.githubusercontent.com/neovim/deps/master/opt/LuaJIT-2.0.4.tar.gz
Already downloaded: /home/br/.cache/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_BUNDLED_GPERF=OFF -DUSE_BUNDLED_LIBUV=OFF -DUSE
==> make VERBOSE=1
==> Building Neovim.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX
==> make VERBOSE=1 install
Last 15 lines from /home/br/.cache/Homebrew/Logs/neovim/04.make:
cd /tmp/neovim-20170619-28765-1eslcxm/build/src/nvim && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/tmp/neovim-20170619-28765-1eslcxm/build/config -I/tmp/neovim-20170619-28765-1eslcxm/src -isystem /home/linuxbrew/.linuxbrew/include -I/tmp/neovim-20170619-28765-1eslcxm/build/src/nvim/auto -I/tmp/neovim-20170619-28765-1eslcxm/build/include -I/tmp/neovim-20170619-28765-1eslcxm/deps-build/usr/include/luajit-2.0  -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g  -DMIN_LOG_LEVEL=3   -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto  -Wno-conversion -o CMakeFiles/nvim.dir/window.c.o   -c /tmp/neovim-20170619-28765-1eslcxm/src/nvim/window.c
[100%] Linking C executable ../../bin/nvim
cd /tmp/neovim-20170619-28765-1eslcxm/build/src/nvim && /home/linuxbrew/.linuxbrew/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/nvim.dir/link.txt --verbose=1
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5  -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g  -DMIN_LOG_LEVEL=3   -Wl,--no-undefined -rdynamic CMakeFiles/nvim.dir/auto/msgpack_lua_c_bindings.generated.c.o CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o CMakeFiles/nvim.dir/api/buffer.c.o CMakeFiles/nvim.dir/api/private/dispatch.c.o CMakeFiles/nvim.dir/api/private/handle.c.o CMakeFiles/nvim.dir/api/private/helpers.c.o CMakeFiles/nvim.dir/api/tabpage.c.o CMakeFiles/nvim.dir/api/ui.c.o CMakeFiles/nvim.dir/api/vim.c.o CMakeFiles/nvim.dir/api/window.c.o CMakeFiles/nvim.dir/arabic.c.o CMakeFiles/nvim.dir/buffer.c.o CMakeFiles/nvim.dir/charset.c.o CMakeFiles/nvim.dir/cursor.c.o CMakeFiles/nvim.dir/cursor_shape.c.o CMakeFiles/nvim.dir/diff.c.o CMakeFiles/nvim.dir/digraph.c.o CMakeFiles/nvim.dir/edit.c.o CMakeFiles/nvim.dir/eval.c.o CMakeFiles/nvim.dir/eval/decode.c.o CMakeFiles/nvim.dir/eval/encode.c.o CMakeFiles/nvim.dir/eval/executor.c.o CMakeFiles/nvim.dir/eval/gc.c.o CMakeFiles/nvim.dir/eval/typval.c.o CMakeFiles/nvim.dir/event/libuv_process.c.o CMakeFiles/nvim.dir/event/loop.c.o CMakeFiles/nvim.dir/event/multiqueue.c.o CMakeFiles/nvim.dir/event/process.c.o CMakeFiles/nvim.dir/event/rstream.c.o CMakeFiles/nvim.dir/event/signal.c.o CMakeFiles/nvim.dir/event/socket.c.o CMakeFiles/nvim.dir/event/stream.c.o CMakeFiles/nvim.dir/event/time.c.o CMakeFiles/nvim.dir/event/wstream.c.o CMakeFiles/nvim.dir/ex_cmds.c.o CMakeFiles/nvim.dir/ex_cmds2.c.o CMakeFiles/nvim.dir/ex_docmd.c.o CMakeFiles/nvim.dir/ex_eval.c.o CMakeFiles/nvim.dir/ex_getln.c.o CMakeFiles/nvim.dir/farsi.c.o CMakeFiles/nvim.dir/file_search.c.o CMakeFiles/nvim.dir/fileio.c.o CMakeFiles/nvim.dir/fold.c.o CMakeFiles/nvim.dir/garray.c.o CMakeFiles/nvim.dir/getchar.c.o CMakeFiles/nvim.dir/hardcopy.c.o CMakeFiles/nvim.dir/hashtab.c.o CMakeFiles/nvim.dir/if_cscope.c.o CMakeFiles/nvim.dir/indent.c.o CMakeFiles/nvim.dir/indent_c.c.o CMakeFiles/nvim.dir/keymap.c.o CMakeFiles/nvim.dir/log.c.o CMakeFiles/nvim.dir/lua/converter.c.o CMakeFiles/nvim.dir/lua/executor.c.o CMakeFiles/nvim.dir/main.c.o CMakeFiles/nvim.dir/map.c.o CMakeFiles/nvim.dir/mark.c.o CMakeFiles/nvim.dir/mbyte.c.o CMakeFiles/nvim.dir/memfile.c.o CMakeFiles/nvim.dir/memline.c.o CMakeFiles/nvim.dir/memory.c.o CMakeFiles/nvim.dir/menu.c.o CMakeFiles/nvim.dir/message.c.o CMakeFiles/nvim.dir/misc1.c.o CMakeFiles/nvim.dir/mouse.c.o CMakeFiles/nvim.dir/move.c.o CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o CMakeFiles/nvim.dir/msgpack_rpc/server.c.o CMakeFiles/nvim.dir/normal.c.o CMakeFiles/nvim.dir/ops.c.o CMakeFiles/nvim.dir/option.c.o CMakeFiles/nvim.dir/os/dl.c.o CMakeFiles/nvim.dir/os/env.c.o CMakeFiles/nvim.dir/os/fileio.c.o CMakeFiles/nvim.dir/os/fs.c.o CMakeFiles/nvim.dir/os/input.c.o CMakeFiles/nvim.dir/os/mem.c.o CMakeFiles/nvim.dir/os/pty_process_unix.c.o CMakeFiles/nvim.dir/os/shell.c.o CMakeFiles/nvim.dir/os/signal.c.o CMakeFiles/nvim.dir/os/stdpaths.c.o CMakeFiles/nvim.dir/os/time.c.o CMakeFiles/nvim.dir/os/users.c.o CMakeFiles/nvim.dir/os_unix.c.o CMakeFiles/nvim.dir/path.c.o CMakeFiles/nvim.dir/popupmnu.c.o CMakeFiles/nvim.dir/profile.c.o CMakeFiles/nvim.dir/quickfix.c.o CMakeFiles/nvim.dir/rbuffer.c.o CMakeFiles/nvim.dir/regexp.c.o CMakeFiles/nvim.dir/screen.c.o CMakeFiles/nvim.dir/search.c.o CMakeFiles/nvim.dir/sha256.c.o CMakeFiles/nvim.dir/shada.c.o CMakeFiles/nvim.dir/spell.c.o CMakeFiles/nvim.dir/spellfile.c.o CMakeFiles/nvim.dir/state.c.o CMakeFiles/nvim.dir/strings.c.o CMakeFiles/nvim.dir/syntax.c.o CMakeFiles/nvim.dir/tag.c.o CMakeFiles/nvim.dir/terminal.c.o CMakeFiles/nvim.dir/tui/input.c.o CMakeFiles/nvim.dir/tui/tui.c.o CMakeFiles/nvim.dir/ugrid.c.o CMakeFiles/nvim.dir/ui.c.o CMakeFiles/nvim.dir/ui_bridge.c.o CMakeFiles/nvim.dir/undo.c.o CMakeFiles/nvim.dir/version.c.o CMakeFiles/nvim.dir/window.c.o  -o ../../bin/nvim -luv -lrt -lpthread -lnsl -ldl -ldl -lnsl -lrt -lmsgpackc -lvterm -ltermkey -lunibilium -lpthread -lm -lutil ../../../deps-build/usr/lib/libluajit-5.1.a -ljemalloc -lpthread -lmsgpackc -lvterm -ltermkey -lunibilium -lpthread -lm -lutil ../../../deps-build/usr/lib/libluajit-5.1.a -ljemalloc
/usr/bin/ld: ../../../deps-build/usr/lib/libluajit-5.1.a(lj_clib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/nvim/CMakeFiles/nvim.dir/build.make:4050: recipe for target 'bin/nvim' failed
make[2]: *** [bin/nvim] Error 1
make[2]: Leaving directory '/tmp/neovim-20170619-28765-1eslcxm/build'
CMakeFiles/Makefile2:2702: recipe for target 'src/nvim/CMakeFiles/nvim.dir/all' failed
make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: Leaving directory '/tmp/neovim-20170619-28765-1eslcxm/build'
Makefile:154: recipe for target 'all' failed
make: *** [all] Error 2

@jszakmeister
Copy link
Contributor

@benjamin-rood I'm not sure. My link line via a regular build looks like:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -pagezero_size 10000 -image_base 100000000 src/nvim/CMakeFiles/nvim.dir/auto/msgpack_lua_c_bindings.generated.c.o src/nvim/CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o src/nvim/CMakeFiles/nvim.dir/api/buffer.c.o src/nvim/CMakeFiles/nvim.dir/api/private/dispatch.c.o src/nvim/CMakeFiles/nvim.dir/api/private/handle.c.o src/nvim/CMakeFiles/nvim.dir/api/private/helpers.c.o src/nvim/CMakeFiles/nvim.dir/api/tabpage.c.o src/nvim/CMakeFiles/nvim.dir/api/ui.c.o src/nvim/CMakeFiles/nvim.dir/api/vim.c.o src/nvim/CMakeFiles/nvim.dir/api/window.c.o src/nvim/CMakeFiles/nvim.dir/arabic.c.o src/nvim/CMakeFiles/nvim.dir/buffer.c.o src/nvim/CMakeFiles/nvim.dir/charset.c.o src/nvim/CMakeFiles/nvim.dir/cursor.c.o src/nvim/CMakeFiles/nvim.dir/cursor_shape.c.o src/nvim/CMakeFiles/nvim.dir/diff.c.o src/nvim/CMakeFiles/nvim.dir/digraph.c.o src/nvim/CMakeFiles/nvim.dir/edit.c.o src/nvim/CMakeFiles/nvim.dir/eval.c.o src/nvim/CMakeFiles/nvim.dir/eval/decode.c.o src/nvim/CMakeFiles/nvim.dir/eval/encode.c.o src/nvim/CMakeFiles/nvim.dir/eval/executor.c.o src/nvim/CMakeFiles/nvim.dir/eval/gc.c.o src/nvim/CMakeFiles/nvim.dir/eval/typval.c.o src/nvim/CMakeFiles/nvim.dir/event/libuv_process.c.o src/nvim/CMakeFiles/nvim.dir/event/loop.c.o src/nvim/CMakeFiles/nvim.dir/event/multiqueue.c.o src/nvim/CMakeFiles/nvim.dir/event/process.c.o src/nvim/CMakeFiles/nvim.dir/event/rstream.c.o src/nvim/CMakeFiles/nvim.dir/event/signal.c.o src/nvim/CMakeFiles/nvim.dir/event/socket.c.o src/nvim/CMakeFiles/nvim.dir/event/stream.c.o src/nvim/CMakeFiles/nvim.dir/event/time.c.o src/nvim/CMakeFiles/nvim.dir/event/wstream.c.o src/nvim/CMakeFiles/nvim.dir/ex_cmds.c.o src/nvim/CMakeFiles/nvim.dir/ex_cmds2.c.o src/nvim/CMakeFiles/nvim.dir/ex_docmd.c.o src/nvim/CMakeFiles/nvim.dir/ex_eval.c.o src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o src/nvim/CMakeFiles/nvim.dir/farsi.c.o src/nvim/CMakeFiles/nvim.dir/file_search.c.o src/nvim/CMakeFiles/nvim.dir/fileio.c.o src/nvim/CMakeFiles/nvim.dir/fold.c.o src/nvim/CMakeFiles/nvim.dir/garray.c.o src/nvim/CMakeFiles/nvim.dir/getchar.c.o src/nvim/CMakeFiles/nvim.dir/hardcopy.c.o src/nvim/CMakeFiles/nvim.dir/hashtab.c.o src/nvim/CMakeFiles/nvim.dir/if_cscope.c.o src/nvim/CMakeFiles/nvim.dir/indent.c.o src/nvim/CMakeFiles/nvim.dir/indent_c.c.o src/nvim/CMakeFiles/nvim.dir/keymap.c.o src/nvim/CMakeFiles/nvim.dir/log.c.o src/nvim/CMakeFiles/nvim.dir/lua/converter.c.o src/nvim/CMakeFiles/nvim.dir/lua/executor.c.o src/nvim/CMakeFiles/nvim.dir/main.c.o src/nvim/CMakeFiles/nvim.dir/map.c.o src/nvim/CMakeFiles/nvim.dir/mark.c.o src/nvim/CMakeFiles/nvim.dir/mbyte.c.o src/nvim/CMakeFiles/nvim.dir/memfile.c.o src/nvim/CMakeFiles/nvim.dir/memline.c.o src/nvim/CMakeFiles/nvim.dir/memory.c.o src/nvim/CMakeFiles/nvim.dir/menu.c.o src/nvim/CMakeFiles/nvim.dir/message.c.o src/nvim/CMakeFiles/nvim.dir/misc1.c.o src/nvim/CMakeFiles/nvim.dir/mouse.c.o src/nvim/CMakeFiles/nvim.dir/move.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o src/nvim/CMakeFiles/nvim.dir/normal.c.o src/nvim/CMakeFiles/nvim.dir/ops.c.o src/nvim/CMakeFiles/nvim.dir/option.c.o src/nvim/CMakeFiles/nvim.dir/os/dl.c.o src/nvim/CMakeFiles/nvim.dir/os/env.c.o src/nvim/CMakeFiles/nvim.dir/os/fileio.c.o src/nvim/CMakeFiles/nvim.dir/os/fs.c.o src/nvim/CMakeFiles/nvim.dir/os/input.c.o src/nvim/CMakeFiles/nvim.dir/os/mem.c.o src/nvim/CMakeFiles/nvim.dir/os/pty_process_unix.c.o src/nvim/CMakeFiles/nvim.dir/os/shell.c.o src/nvim/CMakeFiles/nvim.dir/os/signal.c.o src/nvim/CMakeFiles/nvim.dir/os/stdpaths.c.o src/nvim/CMakeFiles/nvim.dir/os/time.c.o src/nvim/CMakeFiles/nvim.dir/os/users.c.o src/nvim/CMakeFiles/nvim.dir/os_unix.c.o src/nvim/CMakeFiles/nvim.dir/path.c.o src/nvim/CMakeFiles/nvim.dir/popupmnu.c.o src/nvim/CMakeFiles/nvim.dir/profile.c.o src/nvim/CMakeFiles/nvim.dir/quickfix.c.o src/nvim/CMakeFiles/nvim.dir/rbuffer.c.o src/nvim/CMakeFiles/nvim.dir/regexp.c.o src/nvim/CMakeFiles/nvim.dir/screen.c.o src/nvim/CMakeFiles/nvim.dir/search.c.o src/nvim/CMakeFiles/nvim.dir/sha256.c.o src/nvim/CMakeFiles/nvim.dir/shada.c.o src/nvim/CMakeFiles/nvim.dir/spell.c.o src/nvim/CMakeFiles/nvim.dir/spellfile.c.o src/nvim/CMakeFiles/nvim.dir/state.c.o src/nvim/CMakeFiles/nvim.dir/strings.c.o src/nvim/CMakeFiles/nvim.dir/syntax.c.o src/nvim/CMakeFiles/nvim.dir/tag.c.o src/nvim/CMakeFiles/nvim.dir/terminal.c.o src/nvim/CMakeFiles/nvim.dir/tui/input.c.o src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o src/nvim/CMakeFiles/nvim.dir/ugrid.c.o src/nvim/CMakeFiles/nvim.dir/ui.c.o src/nvim/CMakeFiles/nvim.dir/ui_bridge.c.o src/nvim/CMakeFiles/nvim.dir/undo.c.o src/nvim/CMakeFiles/nvim.dir/version.c.o src/nvim/CMakeFiles/nvim.dir/window.c.o  -o bin/nvim  /usr/local/opt/gettext/lib/libintl.dylib /usr/lib/libiconv.dylib ../../.deps/usr/lib/libuv.a -lpthread -ldl -ldl ../../.deps/usr/lib/libmsgpackc.a ../../.deps/usr/lib/libvterm.a ../../.deps/usr/lib/libtermkey.a ../../.deps/usr/lib/libunibilium.a -lm -lutil ../../.deps/usr/lib/libluajit-5.1.a ../../.deps/usr/lib/libjemalloc.a

which has the same ordering. One thing that somewhat interesting here is that you're using gcc versus clang, which may not be helping things either.

@benjamin-rood
Copy link
Author

benjamin-rood commented Jun 19, 2017 via email

@jszakmeister
Copy link
Contributor

@benjamin-rood I didn't catch that this is under Linuxbrew. There might be something else wrong. I believe most of the Linuxbrew issues we've seen have actually been in Linuxbrew itself, versus our recipe.

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

No branches or pull requests

3 participants