LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-16-2005, 12:04 PM   #1
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Rep: Reputation: 15
realplayer and *.so vs *.so.6.0


I've had some fun getting some realplayer files opened a few weeks ago, and I've just now twigged that there's a difference between the codecs such as cook.so and cook.so.6.0.

The file sizes and dates are different, and I'm wondering if they're from different releases of realplayer ?
If so, what versions ? Google doesn't provide anything definitive.
And should sticking them all in one spot work ?

As an aside, how does the rvrend.so.6.0 (in the realplayer plugin folder) come into play - is it for the browsers use ?
 
Old 04-16-2005, 02:37 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
OK, I don't know a lot about media players, but a .so is a shared object file - basically a shared lib something like a dll in Windows. Usually, when there are multiple versaions of a library, you get files like mysharedlib.so.x.y where x.y is the version number of the library. This is so programs can use a particular version if they need to.

Often, the main mysharedlib.so is symlinked to one of the mysharelib.so.x.y versions, but it doesn't have to be. If your files are different in size, they are probably two different versions. You may be able to run nm on the library to get clues about what version it is. And yes, plugins are often distributed as shared libs.
 
Old 04-16-2005, 07:35 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
file.so is a symlink to the real file, along the lines of file.so.x.y.z where x y and z are versioning info. Each time you update the library it symlinks the .so file to the latest version .so.x.y.z file.
 
Old 04-16-2005, 10:05 PM   #4
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
I decided to pull all the realplayer codecs off and install fresh (I'd been moving them around trying to get some stuff to work), so I could get an idea of where which files were being installed to.
They're definitely different files, not symlinks.

real-codecs-1.2-1plf contains
‎/usr/lib/real
‎/usr/lib/real/atrc.so.6.0
‎/usr/lib/real/cook.so.6.0
‎/usr/lib/real/ddnt.so.6.0
‎/usr/lib/real/dnet.so.6.0
‎/usr/lib/real/drv2.so.6.0
‎/usr/lib/real/drv3.so.6.0
‎/usr/lib/real/drv4.so.6.0
‎/usr/lib/real/dspr.so.6.0
‎/usr/lib/real/sipr.so.6.0
‎/usr/lib/real/tokf.so.6.0
‎/usr/lib/real/tokr.so.6.0

But /usr/lib/real isn't where the RealPlayer10GOLD installs to:
/usr/local/RealPlayer/codecs/amrn.so
‎/usr/local/RealPlayer/codecs/amrw.so
‎/usr/local/RealPlayer/codecs/atrc.so
‎/usr/local/RealPlayer/codecs/colorcvt.so
‎/usr/local/RealPlayer/codecs/cook.so
‎/usr/local/RealPlayer/codecs/cvt1.so
‎/usr/local/RealPlayer/codecs/drv1.so
‎/usr/local/RealPlayer/codecs/drv2.so
‎/usr/local/RealPlayer/codecs/drvc.so
‎/usr/local/RealPlayer/codecs/raac.so
‎/usr/local/RealPlayer/codecs/rv10.so
‎/usr/local/RealPlayer/codecs/rv20.so
‎/usr/local/RealPlayer/codecs/rv30.so
‎/usr/local/RealPlayer/codecs/rv40.so
‎/usr/local/RealPlayer/codecs/sipr.so

So using these packages there are two different locations for realplayer codecs.

Naturally kaffeine/gxine only look in one place, so I copied the ones from /usr/lib/real to the RealPlayer codecs directory at ‎/usr/local/RealPlayer/codec, ensured the realplayer codec preference was pointed at ‎/usr/local/RealPlayer/codec , and the errors about sipr.so.6.0 etc go away.

What's interesting is that a couple of rm files I have, realplay only plays sound, no video, but kaffeine plays it fine.

Is there a reason the plf rpms don't contain the newer realplayer codecs from the RealPlayer10GOLD rpm ? and that they're in a different location ?
 
Old 04-16-2005, 10:09 PM   #5
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
Also, in searching for sipr.so.6.0 I found
http://itp.tugraz.at/Comp/RPM/sipr.so.6.0.html
which references mplayer-w32codec-1.0-1.i386

Is it better to install this in preference to the realplayer10 rpm, or is it just a matter of taste ?
 
Old 04-17-2005, 03:58 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
IMNSHO mplayer.* is far better than anything real.* So if I had to choose a codec put out by the mplayer group over a codec put out from the real folks, mplayer would win 8 out of 7 days on my system.

BUT

That said, the real codecs should not be overlapping with the mplayer-win32 codecs. They can be happily installed side by side without overwriting one another, at least this has been my experience. Maybe it's a packaging issue that does this...

Cool
 
  


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
RealPlayer tethysgods Linux - Software 1 08-11-2005 10:22 AM
realplayer egg_hk Linux - Newbie 1 03-03-2004 04:46 PM
RealPlayer 8 troycus Linux - Newbie 5 09-27-2003 09:36 AM
realplayer 8 freychef Slackware 3 07-06-2003 01:49 AM
realplayer athenerx Linux - Newbie 2 09-11-2001 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration