[mythtv-users] MythPlugins from source problem

Jay R. Ashworth jra at baylink.com
Tue Aug 28 18:58:50 UTC 2007


On Tue, Aug 28, 2007 at 02:49:36PM -0400, Joe Borne wrote:
>      > Brad DerManouelian replied:
>      You need to install mythtv (not just compile) before trying to
>      compile the plugins. Did you do that first?
> 
>    Still no luck. Here is the error I get..
>    cd mtd && make -f Makefile
>    make[2]: Entering directory `/root/build/mythplugins/mythdvd/mtd'
>    g++  -o mtd main.o dbcheck.o logging.o mtd.o serversocket.o jobthread.o
>    dvdprobe.o fileobs.o threadevents.o moc_logging.o moc_mtd.o
>    moc_serversocket.o   -L/usr/kde/3.3/lib -L/usr/lib/qt- 3.3/lib
>    -L/usr/local/lib -lmyth-0.20.1 -lmythui-0.20.1 -lfreetype -lmp3lame -lasound
>    -lraw1394 -liec61883 -lavc1394 -lrom1394 -lXinerama -lXv -lXxf86vm -lXvMCW
>    -lXvMC -lmythdvdnav-0.20.1 -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm
>    -lpthread
>    /usr/bin/ld: cannot find -lmyth-0.20.1
>    collect2: ld returned 1 exit status
>    make[2]: *** [mtd] Error 1
>    make[2]: Leaving directory `/root/build/mythplugins/mythdvd/mtd'
>    make[1]: *** [sub-mtd] Error 2
>    make[1]: Leaving directory `/root/build/mythplugins/mythdvd'
>    make: *** [sub-mythdvd] Error 2

note that your fragment here does *not* demonstrate that you did

# make install

on MythTV proper before trying to compile the modules.  The error
you're getting comes precisely from that mistake.  The library has to
be in the system libraries directory (well, one of them) or the linker
won't find it.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the mythtv-users mailing list