opensmile
opensmile copied to clipboard
"ld: library not found for -lopensmile" on Mac
when I try to "./buildStandAlone.sh". I got this error: " make: *** [all] Error 2 /bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -mfpmath=sse -msse2 -lm -lpthread -lc -o SMILExtract progsrc/smilextract/SMILExtract-SMILExtract.o -lm -ldl -lopensmile libtool: link: g++ -O2 -mfpmath=sse -msse2 -o SMILExtract progsrc/smilextract/SMILExtract-SMILExtract.o -Wl,-bind_at_load -lpthread -lc -lm -ldl -lopensmile ld: library not found for -lopensmile clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [SMILExtract] Error 1 "
and this is my paths: $ which automake autoconf libtool m4 gcc /usr/local/bin/automake /usr/local/bin/autoconf /usr/bin/libtool /usr/bin/m4 /usr/bin/gcc
how I fix the error, THX.
I don't have a Mac to reproduce. Found this, not sure if it is helpful.
I haven't try it but, THX any way.
This error persists even with the script linked above. Did you find a solution @ExcaliburAir ?
I also experience the exact same error....
I am also facing same error for buildStandAlone.sh and buildAndroid.sh. @iPsych is there any update on this?
I just had the problem on archlinux and I replaced this line in the Makefile.am
SMILExtract_LDADD = $(SMILE_LIBS) -lopensmile
by
SMILExtract_LDADD = $(SMILE_LIBS) libopensmile.la
I was able to get mine to work by editing buildStandAlone.sh to call make -j8
twice more before the call to make install
.
I posted about it on the thread that @naxingyu linked above too: https://gist.github.com/hbuschme/6456249#gistcomment-2885220
I was able to get mine to work by editing buildStandAlone.sh to call
make -j8
twice more before the call tomake install
.I posted about it on the thread that @naxingyu linked above too: https://gist.github.com/hbuschme/6456249#gistcomment-2885220
Why does this work? (I mean, it does work, but why?)
I just had the problem on archlinux and I replaced this line in the Makefile.am
SMILExtract_LDADD = $(SMILE_LIBS) -lopensmile
by
SMILExtract_LDADD = $(SMILE_LIBS) libopensmile.la
Worked for me!