[mythtv-users] libDTS in Debian?

Paul Bender pebender at san.rr.com
Sat Apr 15 18:04:06 UTC 2006


Steven Adeff wrote:

> I can't seem to get libDTS support to compile in debian, I even
> compiled libDTS from source and I still get:
> 
> g++ -shared -Wl,-soname,libmythavcodec-0.19.so.0 -o
> libmythavcodec-0.19.so.0.19.0 bitstream.o utils.o mem.o allcodecs.o
> mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o
> mjpeg.o audresample.o resample2.o dsputil.o motion_est.o imgconvert.o
> imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o
> ratecontrol.o adpcm.o eval.o error_resilience.o fft.o mdct.o raw.o
> golomb.o cabac.o dpcm.o adx.o faandct.o parser.o g726.o vp3dsp.o
> h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o dvdsub.o
> dvbsub.o dvbsubdec.o dvdsubenc.o opt.o lzo.o myth_utils.o aasc.o
> alac.o asv1.o cinepak.o cook.o cljr.o cyuv.o dv.o 8bps.o ffv1.o flac.o
> flicvideo.o 4xm.o fraps.o h261.o h264.o huffyuv.o idcinvideo.o
> indeo2.o indeo3.o interplayvideo.o lcl.o loco.o mace.o msrle.o
> msvideo1.o png.o qdm2.o qdrw.o qpeg.o qtrle.o ra144.o ra288.o
> roqvideo.o rpza.o rv10.o shorten.o smc.o snow.o sonic.o svq1.o
> truemotion1.o truemotion2.o truespeech.o tscc.o cscd.o ulti.o vc9.o
> vcr1.o vmdav.o vorbis.o vp3.o vqavideo.o wmadec.o wnv1.o ws-snd1.o
> xan.o xl.o bmp.o a52dec.o bit_allocate.o a52_bitstream.o downmix.o
> imdct.o parse.o crc.o resample.o dtsdec.o xvmcvideo.o fdct_mmx.o
> cputest.o dsputil_mmx.o mpegvideo_mmx.o idct_mmx.o motion_est_mmx.o
> simple_idct_mmx.o fft_sse.o vp3dsp_mmx.o vp3dsp_sse2.o idct_mmx_xvid.o
>   -L/usr/share/qt3/lib -L/usr/X11R6/lib -L../libavutil
> -lmythavutil-0.19 -ldts -lqt-mt -lXext -lX11 -lm -lpthread
> /usr/bin/ld: /usr/local/lib/libdts.a(parse.o): relocation R_X86_64_32S
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libdts.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [libmythavcodec-0.19.so.0.19.0] Error 1

I am not using Debian. However, when I compiled libdts it created and 
install both libdts.a and libdts_pic.a. I was able to get MythTV to 
compile by replacing libdts.a with libdts_pic.a.


More information about the mythtv-users mailing list