LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-15-2002, 09:27 PM   #1
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Rep: Reputation: 15
Exclamation xine-lib trouble


Red Hat 8.0, relatively new computer

i'm trying to install xine and basically any standard program i can find just to get used to some of the basic commands and learn my way around linux, but this one is giving me particularly difficult times. apparently i need to install xine-lib first (why, i have no idea) and after i do it the regular xine-ui, same version, doesn't detect them, just as before i realized i needed two libraries. it give me the same message

checking for XINE-LIB version >= 0.9.10... 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 ***


as before. personally i'm baffled. it might be partly because i have no idea how to set environment variables like PATH (PATH=$PATH:/yadda/blah:. doesn't stick unless i tinker with some .profile, right?) or this new, more confusing LD_LIBRARY_PATH. What the heck is that? Why can't xine-lib just install into a place where i won't have to do change any PATHs? why can't it come with xine-ui? i can navigate around in the terminal just fine (besides email and web browsing i do everything there pretty much) but i swear sometimes i just want to.... i can't even bring myself to type it. i've been saying i was down with linux for so long and decided i should start walking the walk, but its like linux doesn't even want me!

sorry i got distracted by my rage. would i be better off if i had some specific book or cd-rom that will teach me, could anyone recommend? or perhaps red hat's commercial-ness and (from what i hear) their tendency to stray from the beaten path of linux is what causes some of these discrepancies. would anyone recommend a less commercial version?

i've clearly asked about 18 different questions here so i'll back off and let you genius's replies roll in.....

Last edited by bandofmercy; 12-15-2002 at 10:03 PM.
 
Old 12-16-2002, 12:03 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Far from Genius, and nowhere near guru, here is my stab at a few of your questions...

LD_LIBRARY_PATH = /etc/ld.so.conf

You want to make sure that the xine-lib got installed into a path that is included in that file. If it did not, or if there is an old xine-lib file in a path which is located in one specified by that file, then you will either want to remove it, or specify it during the ./configure portion of the compile. I think once you take a peek at the ld.so.conf file, you will see exactly what I am talkin about. If not, let us know and I will be glad to further explain.

Onto the PATH. You can specify PATH EXPORTS in /etc/profile to make them system wide, or for specific users it's usually ~/.bash_profile

Onto a more "less commercial" distro. In a short attempt to not start a distro war, I will recommend Slackware. Slack seems to me the one with the most straight forward "PATH" in the /etc/profile file, and works the best with sources IMO. It's not too great on the RPM side of town, but doesn't have to be since most things are released in at least sources, then sometimes RPM's so it's not like you'd have to go without. Plus there are other options, and even the option to have RPM ability.

You are definitely down with linux, if you are command lining a lot, and enjoy that, then you just need a bit of guidance, and maybe check out a few other distros.

If you don't wanna jump on slack, you could try Debian, a very good distro itself that isn't a "Big 3" distro. Gentoo being probably my 3rd suggestion.

Anyway, hope this doesn't start a distro war as that's been done about 50 times this month already

Cool
 
Old 12-16-2002, 12:25 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
xine isn't very easy to compile, but not that many things
are. if you're going to get good at linux, you have to
learn these things about installing software.
the xine site tells you the stuff you need, and the order
you need to install that stuff anyway.
most any software you compile will install by default
in /usr/local. a lot of software will not work right unless
it is in the same directory with other certain libraries
they depend on. in linux there are several default
directories you have for libraries and binaries. This
also gives you the possiblity to install stuff where you
want, and to have several versions of the same
software installed, without messing up other versions.

the list of directores searched for libraries is in
/etc/ld.so.conf
you can add directories to this and then type
ldconfig
and they will be added.
if you install libraries into a directory that is not in
ld.so.conf
they will not be seen, (except in rare circumstances).
you can define the directory you want stuff installed
into at configure time
like configure --prefix=/usr
in this case if it's libraries, they will be installed in /usr/lib.
if its binaries, they will be installed in /usr/bin.
you generally must type ldconfig, after installing
libraries for them to be seen, before compiling the
next package which depends on them.
make sure that /usr/local/lib is in your /etc/ld.so.conf

it takes a lot of learning to use linux well. its like a
metal shop full of dangerous and wonderful tools.
windows is like a stick and a rock.
 
Old 02-15-2003, 01:18 AM   #4
UB_KMA
Member
 
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Rep: Reputation: 15
after installing xine-lib, simply type "ldconfig" at the root command line. The other packages will then see it and install.
 
Old 02-15-2003, 05:01 AM   #5
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
xine comes as part of mandrake 9
 
Old 02-15-2003, 11:01 PM   #6
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Rep: Reputation: 15
I tryed xine and I thought it sucked so i got mplayer instead and I thought it was a lot better then xine. you might want to try it.
 
Old 03-01-2003, 07:24 PM   #7
danimaldaisy
Member
 
Registered: Dec 2002
Distribution: redhat 7.3 now upgraded to 8.0
Posts: 53

Rep: Reputation: 15
just get youre redhat 7.3 disk 2 and look in the rpm folder and find the xine package and double click on it let it install and you're done. unless you did too much monkeying around trying to install it this should work flawlessly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Misc. Questions About 10.2 Duo Secundus Slackware 1 09-29-2005 05:40 AM
xine playing very slowly, and other misc problems. JackSmith Linux - Software 2 02-22-2005 08:23 AM
Trouble getting Xine up & running... dkgilbey Linux - Software 2 10-15-2004 06:00 PM
xine.de is under construction - how to install - xine-lib-1-rc3a.tar.gz sanjaya Linux - Software 1 02-13-2004 08:36 PM
Misc Questions OlRoy Linux - General 3 12-09-2002 06:03 PM


All times are GMT -5. The time now is 03:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration