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

ffmpeg: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory #417

Closed
Svyatk0 opened this issue Mar 27, 2024 · 5 comments

Comments

@Svyatk0
Copy link

Svyatk0 commented Mar 27, 2024

Hiya.

Thanks for the amazing work that went in to this project. - monumental !!

Building and running form the latest Master when starting the container i get shared library error
ffmpeg | ffmpeg: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

going over the Dockerfile i cant see anything pointing at it being shared.

Any clues would be appreciated

svyatko

@wader
Copy link
Owner

wader commented Mar 27, 2024

Hey! thanks

That is strange, are you building the image yourself or using mwader/static-ffmpeg:latest? no modifications to the Dockerfile? if possible can you give examples of step to reproduce?

@Svyatk0
Copy link
Author

Svyatk0 commented Mar 27, 2024

Hey.
Very strange indeed, hence i thought I'd check with you.
I am building the image myself. ,My environment is ubuntu 22.04
i am going with a simple manual process:
git clone https://github.com/wader/static-ffmpeg.git
cd static-ffmpeg
sudo docker-compose build
sudo docker-compose up

which results in the above error.
I have made no changes to the Dockerfile as yet. wanted to make sure its up and running before trimming few things out.

Cheers

Svyatko

@wader
Copy link
Owner

wader commented Mar 27, 2024

Can you share your compose config? wondering if it ends up running some other or older image

Does this work?

docker build -t test .
docker run test

@Svyatk0
Copy link
Author

Svyatk0 commented Mar 27, 2024

You were spot on. the compose was using a previous image where i had issues with fontconfig.
Thank you very much for the help and all the hard work setting this up.

I will close the issue

@Svyatk0 Svyatk0 closed this as completed Mar 27, 2024
@wader
Copy link
Owner

wader commented Mar 27, 2024

👍 no problem!

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

2 participants