LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2004, 10:55 AM   #1
neo5p
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Rep: Reputation: 0
Unhappy Real Player 9 for linux 9.0 help


Hi every one,
i installed Redhat 9.0 and wanted to listen some online music from a site which requires real player to do so. Therefore i downloaded RealPlayer9-9.0.7.151-4.i386.rpm but when i double click the icon for installation it stucks, and when i tried
#rpm -ivh RealPlayer9-9.0.7.151-4.i386.rpm
error: Failed dependencies:
libXm.so.2 is needed by RealPlayer9-9.0.7.151-4
this is the error which i have got. so please can any one help me.
thanks in advance
neo
 
Old 07-27-2004, 11:47 AM   #2
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
try converting it by using rpm2tgz. then you can unpack it and put it where it needs to go.
 
Old 07-27-2004, 12:12 PM   #3
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
btw, where did you find that rpm for RP9? got a link?
 
Old 07-27-2004, 02:19 PM   #4
neo5p
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
plz write in detail

i tried
# rpm2tgz RealPlayer9-9.0.7.151-4.i386.rpm
# bash: rpm2tgz: command not found


i got the file from http://translate.google.com/translat...UTF-8%26sa%3DG

thanks
neo
 
Old 07-27-2004, 05:52 PM   #5
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
cut and paste this into a file and name it "rpm2tgz" . Enjoy!


#!/bin/sh
# Copyright 1997, 1998 Patrick Volkerding, Moorhead, MN USA
# Copyright 2002 Slackware Linux, Inc., Concord, CA USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

if [ "$TMPDIR" = "" ]; then
TMPDIR=/tmp
fi
# If mcookie is available, use it for better /tmp security.
if [ -x `which mcookie` ]; then
COOKIE=`mcookie`
else
COOKIE=$$
fi
if [ "$1" = "" ]; then
echo "$0: Converts RPM format to standard GNU tar + GNU zip format."
echo " (view converted packages with \"less\", install and remove"
echo " with \"installpkg\", \"removepkg\", \"pkgtool\", or manually"
echo " with \"tar\")"
echo
echo "Usage: $0 <file.rpm>"
if [ "`basename $0`" = "rpm2tgz" ]; then
echo " (Outputs \"file.tgz\")"
else
echo " (Outputs \"file.tar.gz\")"
fi
exit 1;
fi
for i in $* ; do
if [ ! "$1" = "$*" ]; then
echo -n "Processing file: $i"
fi
rm -rf $TMPDIR/rpm2targz$COOKIE # clear the way, just in case of mischief
mkdir $TMPDIR/rpm2targz$COOKIE

# Determine if this is a source or binary RPM.
# If we have getrpmtype, use that. Otherwise, try "file".
if which getrpmtype 1> /dev/null 2> /dev/null; then
if getrpmtype -n $i | grep source 1> /dev/null 2> /dev/null ; then
isSource=1
else
isSource=0
fi
else # use file. This works fine on Slackware, and is the default.
if file $i | grep RPM | grep " src " 1> /dev/null 2> /dev/null ; then
isSource=1
else
isSource=0
fi
fi

ofn=$TMPDIR/rpm2targz$COOKIE/`basename $i .rpm`.cpio
if which rpm2cpio 1> /dev/null 2> /dev/null ; then
rpm2cpio $i > $ofn 2> /dev/null
if [ ! $? = 0 ]; then
echo "... rpm2cpio failed. (maybe $i is not an RPM?)"
( cd $TMPDIR ; rm -rf rpm2targz$COOKIE )
continue
fi
else # less reliable than rpm2cpio...
dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $ofn
fi
DEST=$TMPDIR/rpm2targz$COOKIE
if [ "$isSource" = "1" ]; then
DEST=$DEST/$(basename $(basename $i .rpm) .src)
fi
mkdir -p $DEST
( cd $DEST
cpio --extract --preserve-modification-time --make-directories < $ofn 1> /dev/null 2> /dev/null
rm -f $ofn
find . -type d -perm 700 -exec chmod 755 {} \; )
( cd $TMPDIR/rpm2targz$COOKIE ; tar cf - . ) > `basename $i .rpm`.tar
gzip -9 `basename $i .rpm`.tar
if [ "`basename $0`" = "rpm2tgz" ]; then
mv `basename $i .rpm`.tar.gz `basename $i .rpm`.tgz
fi
( cd $TMPDIR ; rm -rf rpm2targz$COOKIE )
echo
done
 
Old 07-27-2004, 11:26 PM   #6
majalee
Member
 
Registered: Jul 2004
Location: India
Distribution: Ubuntu / OpenSuse
Posts: 54

Rep: Reputation: 15
realplayer

hi,

try installing realplayer 8 for linux. i have realplayer 8 on redhat 9.0 and it works perfectly for me.

if u want to try to install realplayer 9 then libXm is a must. realplayer 8 does not use libXm.

get the realplayer 8 from :

http://www.itp.tu-graz.ac.at/Comp/RPM/RByName.html

it will be a source rpm file. so when u do :

# rpm -i realplayer?????.src.rpm

it will install the tar.gz file in /usr/src/redhat/SOURCES. just go that directory, extract the tar.gz file by doing :

# tar xvfz realplayer?????.tar.gz

it will create a directory : go that directory and do :

# ./configure

then

# make all

then

# make install

then

# make clean

and during "configure" if there are no errors then hopefully u will be able to install it and use the realplayer...

hope this helps u..

aaditya
 
Old 07-28-2004, 06:50 AM   #7
neo5p
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
still no luck

thanks chewysplace and majalee
i was able to change the rpm file to tgz file
then i did this
#tar -zxvf RealPlayer9-9.0.7.151-4.i386.tgz
it created two directories usr and etc but i went in both of them and tried almost every thing like configure, ./configure, install, make install and many other things but none seems to be working
how ever usr directory has bin, lib and share sub directory where as etc has X11 sub directory
what should i do no

thanks
neo
 
Old 07-28-2004, 10:25 AM   #8
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
i dont see why you needed to do a ./configure or install. just move the contents of both directories to the /usr and /etc directories.
it should work right away after that.

for example:

tar zvfx RealPlayer9.tgz makes /usr and /etc
now type this command: cp usr/ etc/ / -R
this will copy everything from the subtress into the /usr and /etc direcotries.
then go under /usr/local <i think> and you should find RealPLayer9 direcotry.
undet the RP9 directory should be the program. you can go to the /usr/bin direcotry and make a softlink to it by typeing somethign like:
ln -s /usr/local/RealPlayer9/realplay realplay

so when you just type realplay in the console it'll bring up the program.
have fun with it. if any questions just post.

Last edited by chewysplace; 07-28-2004 at 10:29 AM.
 
Old 07-28-2004, 10:55 AM   #9
neo5p
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
still giving the error which i mentioned in the begining

[root@hexium bin]# realplay9
/usr/lib/RealPlayer9/realplay: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory

please tell me how can i install this library cuz this is the error which i have been seeing since i had rpm file of the realplayer9.
 
  


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
any one using real player on linux should read this marsques Linux - Security 7 10-14-2005 04:45 PM
how to uninstall real player in linux phanee Linux - Software 2 09-15-2005 03:42 PM
Help ! Real Player+Firefox+Suse Linux 9.1 Pro masaood Linux - Software 2 08-24-2005 09:58 PM
Real Player for Mandrake Linux 10.0 Gins Linux - General 5 02-24-2005 12:53 PM
How to install Real player in linux ? futurist Linux - Software 19 06-15-2003 04:21 AM

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

All times are GMT -5. The time now is 09:32 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