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

Please write to the HACKING: how to make static build of ogg123? #12

Open
vitaly-zdanevich opened this issue Oct 17, 2017 · 2 comments
Open

Comments

@vitaly-zdanevich
Copy link

I need it to run on AWS Lambda.

@vitaly-zdanevich
Copy link
Author

@eblanca
Copy link
Contributor

eblanca commented Feb 6, 2018

In general, when you have to build a particular tool as static executable, every library it needs has to be static as well.
As a stackexchange user already told, ogg123 has a bunch of dependencies which have to be already present on your system, and further they have to be static libraries. So, before building your static ogg123, you need static libs for speex, FLAC, ogg and vorbis (and something more, iirc). Also, ogg123 needs an audio output library (most likely libao) and it has to be static as well.
It is quite a long process but if you develop on that particular platform, your collection of static libraries may save your time when building different tools.

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