Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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/.
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.
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.
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'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.