Comments (2)
This seems to have done the trick:
diff --git a/Makefile.am b/Makefile.am
index 9c393d7..b9e18be 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,7 +72,7 @@ FEC_SOURCES = contrib/fec/char.h \
contrib/fec/rs-common.h
-odr_audioenc_LDFLAGS = -no-install
+odr_audioenc_LDFLAGS = -no-install -static
odr_audioenc_LDADD = libtoolame-dab.la \
-lzmq \
-lrt $(odr_audioenc_LDADD_JACK) \
diff --git a/configure.ac b/configure.ac
index 5d0918a..ed28859 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,7 +82,10 @@ AM_CONDITIONAL([HAVE_JACK], [ test "x$enable_jack" = "xyes" ])
AM_CONDITIONAL([HAVE_ALSA], [ test "x$enable_alsa" = "xyes" ])
AC_CHECK_LIB(zmq, zmq_init, , AC_MSG_ERROR(ZeroMQ libzmq is required))
-AC_CHECK_LIB(fdk-aac, aacEncOpen, , AC_MSG_ERROR(The FDK-AAC library is required))
+AC_CHECK_LIB(fdk-aac, aacEncOpen, [
+ LIBS="-Wl,-Bstatic,-lfdk-aac -Wl,-Bdynamic $LIBS"
+ AC_DEFINE([HAVE_LIBFDK_AAC], [1], [Define to 1 if you have libfdk-aac.])
+ ], AC_MSG_ERROR(The FDK-AAC library is required))
# We need to have the ODR fdk-aac, the upstream one doesn't support DAB+
AC_MSG_CHECKING([for DAB+ support in FDK-AAC])
Not sure if that's the correct way to do it. The -static
in Makefile.am
is probably not effective.
This StackOverflow entry helped me.
Best solution would probably use the ./configure --enable-static
-Options, but i'm not experienced enough with these build tools to get this done.
from odr-audioenc.
I also don't know how to add this to the build system. Thanks for showing us the solution you used in the end.
from odr-audioenc.
Related Issues (20)
- is possible to resample a jack signal internally in the encoder? HOT 3
- Compilation with --enable-gst fails HOT 3
- type error in build infos HOT 1
- odr-audioenc with libvlc failed HOT 1
- Check how the vlc-gain option works in ODR-AudioEnc and adapt the man page HOT 2
- Implement ODR-AudioEnc own audio gain and get rid of the vlc one HOT 1
- Compiling under Mac OS fails with duplicate symbols HOT 3
- Allow ODR-AudioEnc to generate DLS+ info from general data
- Full k8s deployment HOT 1
- Audio Input does not work HOT 3
- AES67 input does not work with Debian libvlc
- Compilation issue with debian unstable (trixie) HOT 5
- why i need a sound server if i have only to transcode data? HOT 1
- Drift compensation not recovering after 90sec of source disconnection. HOT 3
- encoder configuration incorrect for certain cases HOT 2
- PADencoder FiFo to RAM HOT 1
- Audio encoding stopped -s option not working. HOT 2
- mplayer snd-aloop example: Set format to s16le HOT 1
- Not all zmq protocols supported. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odr-audioenc.