[Kwintv] runiing qtvision as non-root
Sangohn Christian
kwintv@mail.kde.org
Fri, 15 Nov 2002 16:57:53 +0100
On Friday, 15 November 2002 08:17, Stefan Hellwig wrote:
> Hi!
>
> On Wednesday 13 November 2002 18:14, kwintv-admin@mail.kde.org wrote:
> > But why isn't it found?
>
> Did you set your LD_LIBRARY_PATH correctly so that it includes
> /opt/K-Desktop-Environment-3.0.98/lib ? Try to find the qtvision binary (it
> should be in /opt/K-Desktop-Environment-3.0.98/bin in your case) and do:
>
> ldd qtvision
>
> This should print out the dependencies and whether or not a library is
> found and where it is found. Also do an "echo $LD_LIBRARY_PATH" to see how
> the LD_LIBRARY_PATH is set. I hope this helps.
Here is some output about that:
[xtian@sikasso:~] $ echo $LD_LIBRARY_PATH
/home/sangohn/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/lib/jdk-1.1/lib/i386:/usr/lib/jdk-1.1/lib/i386/native_threads:/usr/lib/jdk-1.1/lib/i386/classic:/usr/local/lib/qt3/lib:/opt/kde3/lib:/usr/local/lib/qt3/lib:/opt/K-Desktop-Environment-3.0.98/lib:/opt/K-Desktop-Environment-3.0.98/lib/kde3
[xtian@sikasso:~] $ ldd /opt/kde/bin/qtvision
/usr/local/lib/netscape/plugins/npmidi.so =>
/usr/local/lib/netscape/plugins/npmidi.so (0x40013000)
/dev/pts/1bqtvision.so.1 =>
/opt/K-Desktop-Environment-3.0.98/lib/libqtvision.so.1 (0x40017000)
16:50 libkhtml.so.4 =>
/opt/K-Desktop-Environment-3.0.98/lib/libkhtml.so.4 (0x40090000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x402b4000)
libkdeprint.so.4 =>
/opt/K-Desktop-Environment-3.0.98/lib/libkdeprint.so.4 (0x402d2000)
libkparts.so.2 => /opt/K-Desktop-Environment-3.0.98/lib/libkparts.so.2
(0x4036e000)
libkutils.so.1 => /opt/K-Desktop-Environment-3.0.98/lib/libkutils.so.1
(0x403a7000)
libkio.so.4 => /opt/K-Desktop-Environment-3.0.98/lib/libkio.so.4
(0x403ba000)
libkdeui.so.4 => /opt/K-Desktop-Environment-3.0.98/lib/libkdeui.so.4
(0x40635000)
libkdesu.so.4 => /opt/K-Desktop-Environment-3.0.98/lib/libkdesu.so.4
(0x40842000)
libkdecore.so.4 =>
/opt/K-Desktop-Environment-3.0.98/lib/libkdecore.so.4 (0x4085c000)
libDCOP.so.4 => /opt/K-Desktop-Environment-3.0.98/lib/libDCOP.so.4
(0x409ea000)
libdl.so.2 => /lib/libdl.so.2 (0x40a1a000)
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40a1d000)
libkdefx.so.4 => /opt/K-Desktop-Environment-3.0.98/lib/libkdefx.so.4
(0x40a31000)
libqt-mt.so.3 =>
/usr/local/lib/qt-x11-free-3.1.0-rc3/lib/libqt-mt.so.3 (0x40a59000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x41060000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4108b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41099000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41153000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4115b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x41171000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x411c1000)
libutil.so.1 => /lib/libutil.so.1 (0x411c6000)
libz.so.1 => /usr/lib/libz.so.1 (0x411ca000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x411d8000)
libm.so.6 => /lib/libm.so.6 (0x4e4e6000)
libc.so.6 => /lib/libc.so.6 (0x41221000)
libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x41334000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4136e000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x413b9000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4141f000)
libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x41433000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4145c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
It's strange but QtVision semms to run fine for me now. The only thing that
changed is that I had to restart the system (because of something else) and I
also created a link $KDEDIR/bin/qtvision.la -> $KDEDIR/lib/libqtvision.la but
the out of qtvision still says that qtvision.la can't be found. Nevertheless
as I said it runs nows.
BTW congrats to whoever wrote the teletext stuff. It's great.
>
> Regards, Stefan.
>
> _______________________________________________
> kwintv mailing list
> kwintv@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwintv
--
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
/____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .