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

error while loading shared libraries: libffmpeg.so — gitlab, cypress/base:10 #3473

Closed
a-x- opened this issue Feb 14, 2019 · 4 comments
Closed
Labels
type: duplicate This issue or pull request already exists

Comments

@a-x-
Copy link

a-x- commented Feb 14, 2019

Current behavior:

error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

Steps to reproduce: (app code and test code)

...

cache:
  paths:
    - ~/.npm
    - ~/.cache

...

e2e-tests:
  image: cypress/base:10
  scripts:
    - CYPRESS_INSTALL_BINARY=http://prx01.infra.rkt/Cypress.zip $(npm bin)/cypress install
    - npm run ci:mocks # faked backend background process
    - npm run ci:start # dev static server background process
    - npm ci && cypress verify && cypress run

Versions

  • "cypress": "3.1.0",
  • latest enterprise gitlab
  • cypress/base:10
@a-x-
Copy link
Author

a-x- commented Feb 14, 2019

add ffmpeg to docker image, ok?

@a-x-
Copy link
Author

a-x- commented Feb 14, 2019

add ffmpeg to docker image, ok?

I tried though, it has not helped :-(

@jennifer-shehane
Copy link
Member

Duplicate of #1556 See some workarounds here: #1556 (comment)

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Feb 15, 2019
@glpibr
Copy link

glpibr commented Oct 16, 2019

Hello,
I hope what I post will help.
I'm starting at Electronjs and right from the start I had a very hard problem finding solution which is exactly this error that are reported from the ffmpeg shared library.
I use Debian 10 and have installed it in a number of ways and sometimes thinking it might be some package management error.

Finally, I solved my problem by manually installing NodeJS (same official website tutorial) and running the commands below to resolve the shared library error.

npm audit fix
npm audit fix --force

After that, start working normally.

Big hug to all!

PORTUGUESE ORIGINAL

olá,
espero que o que vou postar ajude.
Estou iniciando no Electronjs e logo de início tive um problema muito difícil de encontrar solução que é exatamente este erro que estão relatando da biblioteca compartilhada ffmpeg.
Uso Debian 10 e fiz a instalção de diversas formas e vezes pensando que pudesse ser algum erro de gerenciamento de pacotes.

Por fim, resolvi meu problema com a instalação manual do NodeJS (tutorial do site oficial mesmo) e rodando os comandos abaixo para resolver o erro de biblioteca compartilhada.

npm audit fix
npm audit fix --force

Depois disso, o start passou a funcionar normalmente.

Grande abraço a todos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants