|
From: Mailing l. u. f. U. C. a. U. <kal...@li...> - 2013-10-14 16:07:28
|
Thanks, it worked! -----Original Message----- From: Mailing list used for User Communication and Updates <kal...@li...> To: kaldi-users <kal...@li...> Sent: Mon, Oct 14, 2013 6:12 pm Subject: Re: [Kaldi-users] libfst.so: undefined reference to `dlopen' Hi, Did you try to compile OpenFST without "--disable-shared" or to run Kaldi's src/configure without "--shared" and recompile? The latter will build statically linked Kaldi binaries (and will occupy more disk space). Vassil On Mon, Oct 14, 2013 at 12:40 PM, Mailing list used for User Communication and Updates <kal...@li...> wrote: > Hi, > > I am getting following problem when creating online recognizer binaries. > > OpenFST was compiled using --enable-static --disable-shared options. > > cd src/onlinebin > > make > > g++ -lfst -lm -ldl -msse -msse2 -Wall -I.. -fPIC -DKALDI_DOUBLEPRECISION=0 > -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 > -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS > -I/home/user/speech/kaldi/kaldi-trunk/tools/ATLAS/include > -I/home/user/speech/kaldi/kaldi-trunk/tools/openfst/include > -Wno-sign-compare -I/home/user/speech/portaudio/portaudio/include -g > -rdynamic -Wl,-rpath=/home/user/speech/kaldi/kaldi-trunk/tools/openfst/lib > -ldl online-server-gmm-decode-faster.cc ../online/kaldi-online.a > ../lat/kaldi-lat.a ../decoder/kaldi-decoder.a ../feat/kaldi-feat.a > ../transform/kaldi-transform.a ../gmm/kaldi-gmm.a ../hmm/kaldi-hmm.a > ../tree/kaldi-tree.a ../matrix/kaldi-matrix.a ../util/kaldi-util.a > ../base/kaldi-base.a > /home/user/speech/portaudio/portaudio/lib/.libs/libportaudio.a -lasound > -ljack -L/home/user/speech/kaldi/kaldi-trunk/tools/openfst/lib -lfst -ldl > /usr/lib/atlas-base/libatlas.so.3gf /usr/lib/atlas-base/libf77blas.so.3gf > /usr/lib/atlas-base/libcblas.so.3gf > /usr/lib/atlas-base/liblapack_atlas.so.3gf -lm -lpthread -ldl -o > online-server-gmm-decode-faster > > /home/user/speech/kaldi/kaldi-trunk/tools/openfst/lib/libfst.so: undefined > reference to `dlopen' > /home/user/speech/kaldi/kaldi-trunk/tools/openfst/lib/libfst.so: undefined > reference to `dlerror' > > collect2: ld returned 1 exit status > > How to fix it? > > Thanks a lot. > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Kaldi-users mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-users > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Kaldi-users mailing list Kal...@li... https://lists.sourceforge.net/lists/listinfo/kaldi-users |