Sample Header Ad - 728x90

How to make a static binary build of vorbis-tools ogg123?

2 votes
1 answer
1459 views
In order to run ogg123 (for getting wav from ogg vorbis) I need to get (not found) or compile static build. I tried this on Amazon Linux (the same version as current AWS Lambda): ./configure --disable-shared --enable-static make LDFLAGS=-lm SHARED=0 CC='gcc -static' Produced ogg123 filesize is 288K but when I copied that file to another Amazon Linux and tried to run I get error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory
Asked by Vitaly Zdanevich (378 rep)
Oct 18, 2017, 11:21 AM
Last activity: Oct 19, 2017, 02:38 PM