[mythtv] Question on compile!!!

Chris Kleeschulte mythtv-dev@snowman.net
Sun, 21 Jul 2002 21:17:01 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0206_01C230FB.F430D240
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

check this page out...it will explain how to get that Qt module loaded=20



http://doc.trolltech.com/3.0/sql-driver.html#QMYSQL3



peace

Chris


  ----- Original Message -----=20
  From: Andrew Deponte=20
  To: mythtv-dev@snowman.net=20
  Sent: Sunday, July 21, 2002 12:23 PM
  Subject: Re: [mythtv] Question on compile!!!


  K, I got it all compiled with 0 errors. The problem now is that when I
  run mythtv it says

  [adeponte@redtux adeponte]$ mythtv
  mythtv: error while loading shared libraries: libmp3lame.so.0: cannot
  open shared object file: No such file or directory

  If I make a symlink to /usr/local/lib/libmp3lame.so.0 in my home
  directory then when I run mythtv it finds it libmp3lame.so.0 but then =
I
  get the following. It also does the following if I just add
  /usr/local/lib to my LD_LIBRARY_PATH environment variable. It looks
  like I have got it to find the library using LD_LIBRARY_PATH but the
  problem seems to be the permissions for the database in MySQL. Can
  someone tell me the proper permissions that are required by the =
software
  and the fact that the QMYSQL3 driver is not loaded and please help me
  with why its not loaded or where it is. I am some what familiar with
  MySQL in Perl but not in QMYSQL3. Please Help!

  [adeponte@redtux adeponte]$ mythtv
  QSqlDatabase warning: QMYSQL3 driver not loaded
  QSqlDatabase: available drivers:=20
  Couldn't open database
  Probed: Television
  Probed: Composite1
  Probed: S-Video
  QSqlQuery::exec: database not open
  Changing from None to WatchingLiveTV
  Cannot open output.nuv for writing




  On (07/21/02 11:46), Andrew Deponte wrote:
  > Delivered-To: adeponte@localhost.cyph.org
  > From: Andrew Deponte <cyphactor@socal.rr.com>
  > To: mythtv-dev@snowman.net
  > Subject: Re: [mythtv] Question on compile!!!
  > In-Reply-To: <20020721175907.GA17005@ns.cyph.org>
  > User-Agent: Mutt/1.3.25i
  > Errors-To: mythtv-dev-admin@snowman.net
  > X-BeenThere: mythtv-dev@snowman.net
  > X-Mailman-Version: 2.0.11
  > Precedence: bulk
  > Reply-To: mythtv-dev@snowman.net
  > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=3Dhelp>
  > List-Post: <mailto:mythtv-dev@snowman.net>
  > List-Subscribe: =
<http://www.snowman.net/mailman/listinfo/mythtv-dev>,
  > <mailto:mythtv-dev-request@snowman.net?subject=3Dsubscribe>
  > List-Id: Development of mythtv <mythtv-dev.snowman.net>
  > List-Unsubscribe: =
<http://www.snowman.net/mailman/listinfo/mythtv-dev>,
  > <mailto:mythtv-dev-request@snowman.net?subject=3Dunsubscribe>
  > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
  > Date: Sun, 21 Jul 2002 11:46:12 -0700
  >=20
  > I figured it out myself. The problem was that the libqt-mt.so.3 file =
had
  > the tailing 3 so I symlinked it with libqt-mt.so and then ran the
  > Makefile and it compiled that subdir but other subdirs use that lib
  > as well so other subdir needed the -L/usr/lib/qt-3.0.3/lib added =
too.
  >=20
  > On (07/21/02 10:59), cyphactor@socal.rr.com wrote:
  > > Delivered-To: adeponte@localhost.cyph.org
  > > From: cyphactor@socal.rr.com
  > > To: mythtv-dev@snowman.net
  > > User-Agent: Mutt/1.3.25i
  > > Subject: [mythtv] Question on compile!!!
  > > Errors-To: mythtv-dev-admin@snowman.net
  > > X-BeenThere: mythtv-dev@snowman.net
  > > X-Mailman-Version: 2.0.11
  > > Precedence: bulk
  > > Reply-To: mythtv-dev@snowman.net
  > > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=3Dhelp>
  > > List-Post: <mailto:mythtv-dev@snowman.net>
  > > List-Subscribe: =
<http://www.snowman.net/mailman/listinfo/mythtv-dev>,
  > > <mailto:mythtv-dev-request@snowman.net?subject=3Dsubscribe>
  > > List-Id: Development of mythtv <mythtv-dev.snowman.net>
  > > List-Unsubscribe: =
<http://www.snowman.net/mailman/listinfo/mythtv-dev>,
  > > <mailto:mythtv-dev-request@snowman.net?subject=3Dunsubscribe>
  > > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
  > > Date: Sun, 21 Jul 2002 10:59:07 -0700
  > >=20
  > > Hey, again I think my e-mail should work from my member enty in =
the list
  > > this time. Here is the problem. In the make process it gets to
  > > mythdialog and runs the make file and then on the first g++ line =
it
  > > barfs saying that /usr/bin/ld: cannot find -lqt-mt, I looked =
through
  > > the qt3 that i just installed in /usr/local/qt and the file is not =
in
  > > there. So then I ran updatedb, and locate to find it. It shows up =
in
  > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3
  > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0
  > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0.3
  > > So I added another -L to the mythdialog Makefile to fix it and put
  > > -L/usr/lib/qt-3.0.3/lib/
  > > It still gives me the error though when I run make that =
/usr/bin/ld
  > > cannot find it. Please Assist me!!.
  > > Thanks,
  > > Andrew
  > > _______________________________________________
  > > mythtv-dev mailing list
  > > mythtv-dev@snowman.net
  > > http://www.snowman.net/mailman/listinfo/mythtv-dev
  > _______________________________________________
  > mythtv-dev mailing list
  > mythtv-dev@snowman.net
  > http://www.snowman.net/mailman/listinfo/mythtv-dev
  _______________________________________________
  mythtv-dev mailing list
  mythtv-dev@snowman.net
  http://www.snowman.net/mailman/listinfo/mythtv-dev

------=_NextPart_000_0206_01C230FB.F430D240
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>check this page out...it will explain =
how to get=20
that Qt module loaded </FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><A=20
href=3D"http://doc.trolltech.com/3.0/sql-driver.html#QMYSQL3">http://doc.=
trolltech.com/3.0/sql-driver.html#QMYSQL3</A></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>peace</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Chris</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dcyphactor@socal.rr.com =
href=3D"mailto:cyphactor@socal.rr.com">Andrew=20
  Deponte</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmythtv-dev@snowman.net=20
  href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, July 21, 2002 =
12:23=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [mythtv] Question =
on=20
  compile!!!</DIV>
  <DIV><BR></DIV>K, I got it all compiled with 0 errors. The problem now =
is that=20
  when I<BR>run mythtv it says<BR><BR>[adeponte@redtux adeponte]$=20
  mythtv<BR>mythtv: error while loading shared libraries: =
libmp3lame.so.0:=20
  cannot<BR>open shared object file: No such file or directory<BR><BR>If =
I make=20
  a symlink to /usr/local/lib/libmp3lame.so.0 in my home<BR>directory =
then when=20
  I run mythtv it finds it libmp3lame.so.0 but then I<BR>get the =
following. It=20
  also does the following if I just add<BR>/usr/local/lib to my =
LD_LIBRARY_PATH=20
  environment variable. It looks<BR>like I have got it to find the =
library using=20
  LD_LIBRARY_PATH but the<BR>problem seems to be the permissions for the =

  database in MySQL. Can<BR>someone tell me the proper permissions that =
are=20
  required by the software<BR>and the fact that the QMYSQL3 driver is =
not loaded=20
  and please help me<BR>with why its not loaded or where it is. I am =
some what=20
  familiar with<BR>MySQL in Perl but not in QMYSQL3. Please=20
  Help!<BR><BR>[adeponte@redtux adeponte]$ mythtv<BR>QSqlDatabase =
warning:=20
  QMYSQL3 driver not loaded<BR>QSqlDatabase: available drivers: =
<BR>Couldn't=20
  open database<BR>Probed: Television<BR>Probed: Composite1<BR>Probed:=20
  S-Video<BR>QSqlQuery::exec: database not open<BR>Changing from None to =

  WatchingLiveTV<BR>Cannot open output.nuv for =
writing<BR><BR><BR><BR><BR>On=20
  (07/21/02 11:46), Andrew Deponte wrote:<BR>&gt; Delivered-To: <A=20
  =
href=3D"mailto:adeponte@localhost.cyph.org">adeponte@localhost.cyph.org</=
A><BR>&gt;=20
  From: Andrew Deponte &lt;<A=20
  =
href=3D"mailto:cyphactor@socal.rr.com">cyphactor@socal.rr.com</A>&gt;<BR>=
&gt;=20
  To: <A =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
=20
  Subject: Re: [mythtv] Question on compile!!!<BR>&gt; In-Reply-To: =
&lt;<A=20
  =
href=3D"mailto:20020721175907.GA17005@ns.cyph.org">20020721175907.GA17005=
@ns.cyph.org</A>&gt;<BR>&gt;=20
  User-Agent: Mutt/1.3.25i<BR>&gt; Errors-To: <A=20
  =
href=3D"mailto:mythtv-dev-admin@snowman.net">mythtv-dev-admin@snowman.net=
</A><BR>&gt;=20
  X-BeenThere: <A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
=20
  X-Mailman-Version: 2.0.11<BR>&gt; Precedence: bulk<BR>&gt; Reply-To: =
<A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
=20
  List-Help: &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dhelp">mailto:myth=
tv-dev-request@snowman.net?subject=3Dhelp</A>&gt;<BR>&gt;=20
  List-Post: &lt;<A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mailto:mythtv-dev@snowman.net</A>&=
gt;<BR>&gt;=20
  List-Subscribe: &lt;<A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A>&gt;,<BR>&gt;=20
  &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dsubscribe">mailto=
:mythtv-dev-request@snowman.net?subject=3Dsubscribe</A>&gt;<BR>&gt;=20
  List-Id: Development of mythtv &lt;mythtv-dev.snowman.net&gt;<BR>&gt;=20
  List-Unsubscribe: &lt;<A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A>&gt;,<BR>&gt;=20
  &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dunsubscribe">mail=
to:mythtv-dev-request@snowman.net?subject=3Dunsubscribe</A>&gt;<BR>&gt;=20
  List-Archive: &lt;<A=20
  =
href=3D"http://www.snowman.net/pipermail/mythtv-dev/">http://www.snowman.=
net/pipermail/mythtv-dev/</A>&gt;<BR>&gt;=20
  Date: Sun, 21 Jul 2002 11:46:12 -0700<BR>&gt; <BR>&gt; I figured it =
out=20
  myself. The problem was that the libqt-mt.so.3 file had<BR>&gt; the =
tailing 3=20
  so I symlinked it with libqt-mt.so and then ran the<BR>&gt; Makefile =
and it=20
  compiled that subdir but other subdirs use that lib<BR>&gt; as well so =
other=20
  subdir needed the -L/usr/lib/qt-3.0.3/lib added too.<BR>&gt; <BR>&gt; =
On=20
  (07/21/02 10:59), <A=20
  href=3D"mailto:cyphactor@socal.rr.com">cyphactor@socal.rr.com</A> =
wrote:<BR>&gt;=20
  &gt; Delivered-To: <A=20
  =
href=3D"mailto:adeponte@localhost.cyph.org">adeponte@localhost.cyph.org</=
A><BR>&gt;=20
  &gt; From: <A=20
  =
href=3D"mailto:cyphactor@socal.rr.com">cyphactor@socal.rr.com</A><BR>&gt;=
 &gt;=20
  To: <A =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
=20
  &gt; User-Agent: Mutt/1.3.25i<BR>&gt; &gt; Subject: [mythtv] Question =
on=20
  compile!!!<BR>&gt; &gt; Errors-To: <A=20
  =
href=3D"mailto:mythtv-dev-admin@snowman.net">mythtv-dev-admin@snowman.net=
</A><BR>&gt;=20
  &gt; X-BeenThere: <A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
 &gt;=20
  X-Mailman-Version: 2.0.11<BR>&gt; &gt; Precedence: bulk<BR>&gt; &gt; =
Reply-To:=20
  <A =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
=20
  &gt; List-Help: &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dhelp">mailto:myth=
tv-dev-request@snowman.net?subject=3Dhelp</A>&gt;<BR>&gt;=20
  &gt; List-Post: &lt;<A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mailto:mythtv-dev@snowman.net</A>&=
gt;<BR>&gt;=20
  &gt; List-Subscribe: &lt;<A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A>&gt;,<BR>&gt;=20
  &gt; &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dsubscribe">mailto=
:mythtv-dev-request@snowman.net?subject=3Dsubscribe</A>&gt;<BR>&gt;=20
  &gt; List-Id: Development of mythtv =
&lt;mythtv-dev.snowman.net&gt;<BR>&gt;=20
  &gt; List-Unsubscribe: &lt;<A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A>&gt;,<BR>&gt;=20
  &gt; &lt;<A=20
  =
href=3D"mailto:mythtv-dev-request@snowman.net?subject=3Dunsubscribe">mail=
to:mythtv-dev-request@snowman.net?subject=3Dunsubscribe</A>&gt;<BR>&gt;=20
  &gt; List-Archive: &lt;<A=20
  =
href=3D"http://www.snowman.net/pipermail/mythtv-dev/">http://www.snowman.=
net/pipermail/mythtv-dev/</A>&gt;<BR>&gt;=20
  &gt; Date: Sun, 21 Jul 2002 10:59:07 -0700<BR>&gt; &gt; <BR>&gt; &gt; =
Hey,=20
  again I think my e-mail should work from my member enty in the =
list<BR>&gt;=20
  &gt; this time. Here is the problem. In the make process it gets =
to<BR>&gt;=20
  &gt; mythdialog and runs the make file and then on the first g++ line=20
  it<BR>&gt; &gt; barfs saying that /usr/bin/ld: cannot find -lqt-mt, I =
looked=20
  through<BR>&gt; &gt; the qt3 that i just installed in /usr/local/qt =
and the=20
  file is not in<BR>&gt; &gt; there. So then I ran updatedb, and locate =
to find=20
  it. It shows up in<BR>&gt; &gt; =
/usr/lib/qt-3.0.3/lib/libqt-mt.so.3<BR>&gt;=20
  &gt; /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0<BR>&gt; &gt;=20
  /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0.3<BR>&gt; &gt; So I added =
another -L to=20
  the mythdialog Makefile to fix it and put<BR>&gt; &gt;=20
  -L/usr/lib/qt-3.0.3/lib/<BR>&gt; &gt; It still gives me the error =
though when=20
  I run make that /usr/bin/ld<BR>&gt; &gt; cannot find it. Please Assist =

  me!!.<BR>&gt; &gt; Thanks,<BR>&gt; &gt; Andrew<BR>&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; =
mythtv-dev=20
  mailing list<BR>&gt; &gt; <A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
 &gt;=20
  <A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A><BR>&gt;=20
  _______________________________________________<BR>&gt; mythtv-dev =
mailing=20
  list<BR>&gt; <A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR>&gt;=
 <A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A><BR>____________________________=
___________________<BR>mythtv-dev=20
  mailing list<BR><A=20
  =
href=3D"mailto:mythtv-dev@snowman.net">mythtv-dev@snowman.net</A><BR><A=20
  =
href=3D"http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.sn=
owman.net/mailman/listinfo/mythtv-dev</A></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0206_01C230FB.F430D240--