LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xine issues?? (https://www.linuxquestions.org/questions/linux-newbie-8/xine-issues-230655/)

snakeo2 09-14-2004 06:17 PM

Xine issues??
 
Im trying to install Xine and im having some problems. I went to the xine's site and downloaded xine-lib-1-rc5.tar.gz and proceeded to install from source. The instructions at xine's site recommend that you
" Make sure your /etc/ld.so.conf contains /usr/local/lib and continue with: ldconfig", how do i do this??

everyting went fine with xine-lib-1-rc5, but when I installed xine-ui-0.99.2 , I get the following error
"checking for XINE-LIB version >= 1.0.0... no
*** Could not run XINE test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding XINE or finding the wrong
*** version of XINE. If it is not finding XINE, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** You should install xine-lib first ***


Keep in mind that installed xine-lib before xine-ui-0.99. How can get around this problem? or is there a similar program to apt-get for FC2 so I can get xine that way. thanks in advance

CroMagnon 09-14-2004 06:53 PM

Quote:

Make sure your /etc/ld.so.conf contains /usr/local/lib and continue with: ldconfig", how do i do this??
Uh, well, you edit /etc/ld.so.conf to make sure it has /usr/local/lib in it (just that, on a line of it's own), and then (as root) you run ldconfig. Use ldconfig -v if you'd like to verify that it's doing something (it does work, but it doesn't tell you that it's working). Once you've done this, try rerunning the configure command.

I'm sure FC2 uses RPM, so all you have to do is find some Xine RPMs if you want to wuss out (j/k). Try rpmfind.net if that appeals to you.

zuesse 09-14-2004 07:18 PM

Assumptions:

1) your using bash

2) your compiling xine from source as you did xine-lib

In most cases when you compile from source you get instructions similar to:


cd /source/dir
./configure
make
make install

The default install path (most of the time) is /usr/local where executables end up getting put in say
/usr/local/bin and libraries- in this case shared objects get placed in /usr/local/lib

If this is the case with your build, you will probably need to add an entry for /usr/local/lib in /etc/ld.so.conf

As root
using your favorite editor, edit the file /etc/ld.so.conf

if there is no line that looks like:

/usr/local/lib

create one.

when finished run the following as root:

ldconfig -v

This will get the system up to date with what you've done but the changes may not be
available in your shell.
To add the changes to your current - I am assuming - terminal window type the following:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Based on the info you have provided and my assumptions you should now be able to
1) recompile and install the libraries

2) recompile and install the app and everything should work

XINE is a feature rich app with many compile time options and dependancies for those options.
You will learn much with this one. Keep reading.

snakeo2 09-14-2004 07:43 PM

Ok I edited the ld.so.conf file as follows:
/usr/lib/mysql
/usr/X11R6/lib
/usr/lib/qt-3.3/lib
/usr/local/lib

ran as root the ldconfig -v
got a long output. Now i will continue to install from source. wish me luck

snakeo2 09-14-2004 07:58 PM

thanks guys. Everything went fine and i'm now watching videos, mpegs, etc


All times are GMT -5. The time now is 06:05 PM.