boramalper / magnetico

Autonomous (self-hosted) BitTorrent DHT search engine suite.
http://labs.boramalper.org/magnetico/
GNU Affero General Public License v3.0
3.06k stars 344 forks source link

magneticow docker image error loading shared library #242

Closed max-b closed 4 years ago

max-b commented 4 years ago

I ran the following:

$ git clone git@github.com:boramalper/magnetico.git
Cloning into 'magnetico'...
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 1900 (delta 24), reused 49 (delta 16), pack-reused 1829
Receiving objects: 100% (1900/1900), 1.90 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (1074/1074), done.
$ cd magnetico
$ docker-compose up
Creating network "magnetico_default" with the default driver
Pulling magneticod (boramalper/magneticod:latest)...
latest: Pulling from boramalper/magneticod
c9b1b535fdd9: Pull complete
29378bfb42ae: Pull complete
Digest: sha256:49efd938981c5aeb4d78f09561a5c8354218e46068736951c4c9c27aefc2e217
Status: Downloaded newer image for boramalper/magneticod:latest
Pulling magneticow (boramalper/magneticow:latest)...
latest: Pulling from boramalper/magneticow
c9b1b535fdd9: Already exists
18eade106c2e: Pull complete
Digest: sha256:73d3d749dba3bd67840b0d52df0136b34dcb9042e861f1c3b6324186d955f6d5
Status: Downloaded newer image for boramalper/magneticow:latest
Creating magnetico_magneticow_1 ... done
Creating magnetico_magneticod_1 ... done
Attaching to magnetico_magneticod_1, magnetico_magneticow_1
magneticod_1  | 2020-02-26T18:42:07.333Z    INFO    magneticod v0.11.0 has been started.
magneticod_1  | 2020-02-26T18:42:07.333Z    INFO    Copyright (C) 2017-2020  Mert Bora ALPER <bora@boramalper.org>.
magneticod_1  | 2020-02-26T18:42:07.333Z    INFO    Dedicated to Cemile Binay, in whose hands I thrived.
magneticod_1  | 2020-02-26T18:42:07.333Z    INFO    Compiled on 2020-02-22T16:11:26Z
magneticod_1  | 2020-02-26T18:42:07.373Z    WARN    Updating database schema from 0 to 1... (this might take a while)
magneticod_1  | 2020-02-26T18:42:07.374Z    WARN    Updating database schema from 1 to 2... (this might take a while)
magneticow_1  | Error loading shared library libstdc++.so.6: No such file or directory (needed by /magneticow)
magneticow_1  | Error loading shared library libgcc_s.so.1: No such file or directory (needed by /magneticow)
magneticow_1  | Error relocating /magneticow: _Znwm: symbol not found
magneticow_1  | Error relocating /magneticow: _ZdlPvm: symbol not found
magneticow_1  | Error relocating /magneticow: _Unwind_Resume: symbol not found
magneticow_1  | Error relocating /magneticow: __gxx_personality_v0: symbol not found
subhead commented 4 years ago

I have the same problem.

boramalper commented 4 years ago

Fixed by @max-b's helpful PR, and pushed to Docker Hub!

Let me know if the issue persists.