arduanov / homebrew-clickhouse

ClickHouse for MacOS Sierra and High Sierra.
https://clickhouse.yandex
50 stars 18 forks source link

cannot upgrade #3

Closed z0mb1ek closed 5 years ago

z0mb1ek commented 6 years ago

==> Upgrading 1 outdated package, with result:
arduanov/clickhouse/clickhouse 1.1.54383 -> 1.1.54388
==> Upgrading arduanov/clickhouse/clickhouse
==> Cloning https://github.com/yandex/ClickHouse.git
Updating /Users/z0mb1ek/Library/Caches/Homebrew/clickhouse--git
==> Checking out tag v1.1.54388-stable
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/clickhouse/1.1.54388 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAK
Last 15 lines from /Users/z0mb1ek/Library/Logs/Homebrew/clickhouse/01.cmake:
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:22 (message):
  Submodules are not initialized.  Run

    git submodule update --init --recursive

-- Configuring incomplete, errors occurred!
See also "/tmp/clickhouse-20180706-25297-kph9qa/build/CMakeFiles/CMakeOutput.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/arduanov/homebrew-clickhouse/issues
z0mb1ek commented 6 years ago

and cannot use it:


dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: /usr/local/Cellar/clickhouse/1.1.54383/bin/clickhouse-client (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___emutls_get_address
  Referenced from: /usr/local/Cellar/clickhouse/1.1.54383/bin/clickhouse-client (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

[1]    27754 abort      /usr/local/Cellar/clickhouse/1.1.54383/bin/clickhouse-client
arduanov commented 6 years ago

You try upgrade to devel version 1.1.54388 ? If so, do not use devel version. It`s not ready to install.

arduanov commented 6 years ago

Please check new version v1.1.54394

z0mb1ek commented 6 years ago

it seems does not work( where can I check logs?

z0mb1ek commented 6 years ago

ClickHouse client version 1.1.54394.
Connecting to localhost:9000 as user default.
Code: 210. DB::NetException: Connection refused: (localhost:9000, ::1)
arduanov commented 6 years ago

it`s ok you need to start clickhouse server

brew services start clickhouse
z0mb1ek commented 6 years ago

its started!