LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 09-15-2002, 01:01 AM   #1
jburford
Member
 
Registered: Sep 2002
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106

Rep: Reputation: 15
Xine install - library problem?


I am trying to install xine to play DVDs. I am using RH7.3. My basic problem is that I am inexperienced, and while trying to compile the various tarballs, I am getting a library linking error (?), which my prior reading hadn't anticipated. the following is a bit long, but I have tried to include everything relevant. Any avice or explanation would be appreciated, but might need to be aimed at a target udience with little understanding...

Trying to install xine.
Downloaded libdvdcss1.2.2, xinelib0.9.13, libdvdnav0.1.3, xinedvdnav0.9.13, libdvdread0.9.3, xineui0.9.13, as tarballs.

I have compiled libdvdcss-1.2.2, xine-lib-0.9.13, but from the messages I get from make install of xine-lib, I get:

"Libraries have been installed in:
/usr/local/lib/xine/plugins

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

I then compile libdvdnav-0.1.3, which appears to work OK
I start to compile zine-dvdnac-0.9.13, using ./configure, which results in an error as follows:

checking for xine-config... /usr/local/bin/xine-config
checking for XINE-LIB version >= 0.9.13... 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
***


The reading I did before starting this processed did not mention linking libraries. I deinstalled an old copy of xine when I met this error, and restarted the process, and I do not know how to move on. Can I just insert the library path in /etc/lo.so.config? Any ideas? Is this normal? what do I need to know about linking libraries?

cheers

James
 
Old 09-15-2002, 01:30 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
For a complete and udder newbie trying to play DVD's you might want to look at Ogle instead. http://www.dtek.chalmers.se/groups/dvd/

Otherwise, if you are ready for more advanced usage, skip Xine, and go to Mplayer!
www.mplayerhq.hu

Cool
 
Old 09-15-2002, 04:27 AM   #3
jburford
Member
 
Registered: Sep 2002
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks for your advice, and I can get Ogle working easily enough, but I am interested in why the issue has arisen, and what is going on. When is linking to a library required? How do you do it? This is the sort of thing where there isn't much in the way of documentation to help you learn without spending weeks ona development box.....

James
 
Old 09-15-2002, 04:35 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, when you install libs you should update your ld.so.conf to reflect this new libs if the program doesn't do this for you. Once updated, running ldconfig will set it straight.

Does that help a bit?

Cool
 
Old 09-15-2002, 05:08 AM   #5
jburford
Member
 
Registered: Sep 2002
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106

Original Poster
Rep: Reputation: 15
So if I put the path of any directories that have libraries in ld.so.conf, this is all that was missing? Is this something missing in the install guide, or in the set up of the tarball? Or user generated? (an ID ten T error?)

thanks for your help

Jim
 
Old 09-15-2002, 05:58 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
he he he, I don't think it's quite any of those, if any, I would say install guide, but more whoever built the tarball make file.

That should work yes, but don't forget to run ldconfig afterwards. I usually run ldconfig and updatedb together:
ldconfig &&
updatedb

Cool
 
Old 09-15-2002, 07:06 AM   #7
jburford
Member
 
Registered: Sep 2002
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106

Original Poster
Rep: Reputation: 15
many thanks - I learnt something (quite a lot, over the day) - playing DVDs isn't really important to me, but if I don't have a project, I don't learn much.

thanks again

Jim
 
Old 09-15-2002, 07:31 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome
 
  


Reply



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
xine install problem cerealdaemon Linux - Software 1 05-08-2005 11:21 PM
Strange Xine problem - Xine running fine only in Xnest xgreen Slackware 3 01-24-2005 09:00 AM
xine-ui install problem fuelinjection Linux - Software 4 04-10-2004 01:01 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
xine and ESD install problem parsecbyproxy Linux - Software 4 06-20-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration