LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-01-2002, 08:24 PM   #1
alorri
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
playing dvds


I am a very new Linux user so my question may have a simply answer.

I am looking for a DVD player for Linux. I already have mplayer installed and when I went looking, I found links to the Ogle program.

I downloaded the libdvdread, libdvdcss, liba52, ogle, and ogle-gui files. Then I followed the directions on the website. They were as follows:
tar xfzv a52dec-0.7.3.tar.gz
tar xfzv libdvdread-0.9.3.tar.gz
tar xfzv ogle-0.8.5.tar.gz
tar xfzv ogle_gui-0.8.5.tar.gz
cd a52dec-0.7.3 && ./configure && make install
cd libdvdread-0.9.3 && ./configure && make install
cd ogle-0.8.5 && ./configure && make install

When I did the last command, it said: configure: error: Need libdvdread, install it or specify it's location.
What is wrong here? How do I specify the location?

I'd appreciate any help anyone can give.

Thanks.
 
Old 12-01-2002, 08:27 PM   #2
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
you need to run 'ldconfig' after you install new libraries..... that might be tbe problem
 
Old 12-01-2002, 08:58 PM   #3
alorri
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Hmmm...I am not quite getting this. From which point do you run "ldconfig"? I tried it and nothing seems to happen. I am not even sure if the command is doing anything. Nothing shows up.
 
Old 12-01-2002, 09:05 PM   #4
ubien
Member
 
Registered: Oct 2002
Distribution: RH 8.0 and fluxbox
Posts: 122

Rep: Reputation: 15
not sure if this is where it is in all distributions but in RH 8.0 its in /sbin, so cd over there and switch to root and type ./ldconfig if it's there
 
Old 12-01-2002, 11:17 PM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
if it's not giving you a "ldconfig: command not found", then it worked. this looks through all of the directories specified in /etc/ld.so.conf, and I guess loads the libraries into come kind of cache or something.

I don't know what the details of what it does are, but I do know that if you install new libraries, you have to run "ldconfig" before the libraries can be used/detected.

after libdvdread would be a good time to run it.

if this doesn't work, then you may need to specify where libdvdread is via the ./configure script. do "./configure --help | less" to see all of your options. your libdvdread is probably in /usr/local/lib, because the default prefix for installs is usually /usr/local/.
 
Old 12-01-2002, 11:39 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
as was pointed out already once a shared library installed you must make your system aware of it by running /sbin/ldconfig as root. but don't expect it to straighten the thing out if the libraries that were installed are not on $LD_LIBRARY_PATH, for this purpose you either setup an environment variable $LD_LIBRARY_PATH to point to a directory where not found libs are or you enter the name of the directory into /etc/ld.so.conf and once the /sbin/ldconfig is ran it reads /etc/ld.so.conf and $LD_LIBRARY_PATH to find new libs and put them into /etc/ld.so.cache so when a particular program that requires that particular library runs it might actually find that library.
 
Old 12-02-2002, 06:18 AM   #7
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
If that still doesn't work try
./configure --help
this gives you a list of options configure does understand, maybe there is something like --with-libdvdread where you can give the path to the libdvdread.
But ldconfig should really solve your problem.

BTW you have mplayer installed, why don't you use it to watch dvds? The option is -dvd <chapternumber>.

OTOH Ogle suports the gui navigation provided with most dvds. Also xine is built on Ogle, so it should work to.

Just some thoughts, hopefully helpfull ones.
 
Old 12-02-2002, 01:19 PM   #8
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Alorri.

You say the last command gives you 'Need libdvdread, install it or specify it's location.'

You can specify it's location, you need to pass the correct '--with-<whatever>' paramater to the configure script. To see what parameter the script takes search it with grep like so 'grep '--with-' ./configure'. You will also need to know the know where you installed libdvdread to (both the actual libraries themselves and the header files).

BTW What distribution are you using, as you should be able to get packages of ogle and dvdread for most distros.


0x0001.

I wouldn't say that 'xine is built on Ogle' as XINE predates Ogle by quite some margin. It is true that some of XINE's plugins use code from Ogle, most notably the dvdnav plugin, but this hardly makes it 'built on Ogle'.
 
Old 12-02-2002, 07:23 PM   #9
alorri
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for all the help. I got it going now. Much appreciated.
 
Old 12-03-2002, 03:07 AM   #10
0x0001
Member
 
Registered: Sep 2002
Distribution: Slackware 8.1
Posts: 84

Rep: Reputation: 15
@nonamenobody

Point taken. I don't use xine, i just knew that it inherited the navigation from ogle, and thus thought it was built on ogle.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing DVDs CouchMaster Suse/Novell 12 05-28-2005 06:01 PM
playing DVDs carldub Linux - Newbie 2 03-17-2005 09:57 PM
Playing DVDs Lord C Linux - Software 3 03-24-2004 08:25 PM
playing new dvds? riddlebox80 Linux - Software 3 04-17-2003 07:32 PM
dvds not playing enzo250gto Linux - Software 1 09-16-2002 01:43 AM


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

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