LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-13-2004, 10:45 AM   #1
huno
Member
 
Registered: May 2002
Distribution: Slackware 9.1
Posts: 161

Rep: Reputation: 30
amazing problem im mozilla


this problem i don't have seen before .. i'm installing flash plugin .. in /usr/lib/mozilla-1.2/plugin/ ,,,

but the flash player cannot run in mozilla





--
huno
 
Old 03-13-2004, 12:09 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
are you sure, you've got the right mozilla install folder? flash works in mozilla. the only confusing thing is which mozilla install folder. usually if you installed mozilla with a package provided by your distro, that will be in /usr/lib/mozilla-XXX. if you install mozilla via the installer from mozilla.org, that will default install to /usr/local/mozilla. also how are you installing flash? flash is one of those things that's easier, imo, to do a manual install since all you need to do is to copy 2 files from the flash tarball to you plugins folder. one's an *.class file and the other file is *.xpt file.
 
Old 03-14-2004, 02:49 PM   #3
Raven Linda
LQ Newbie
 
Registered: Mar 2004
Location: St. Louis, MO USA
Distribution: Red Hat Fedora Core
Posts: 5

Rep: Reputation: 0
same prob

Hi!

I have the same problem as huno, I think. I downloaded flash from macromedia.com/shockwave/download, and followed the instructions. My mozilla directory is /usr/local/mozilla, as megaspaz said I got it from mozilla.org. I verified this by right-clicking on the mozilla button on my kde desktop and looking at properties, and it says the command is /usr/local/mozilla/mozilla.

After reading megaspaz's advise, I looked in my plugins directory and found:

]# cd /usr/local/mozilla/plugins
[root@localhost plugins]# ls -l
total 1468
-rwxr-xr-x 1 root root 856 Mar 14 08:02 flashplayer.xpt
-rwxr-xr-x 1 root root 1470464 Mar 14 08:02 libflashplayer.so
-rwxrwxrwx 1 root root 21056 Jan 13 14:10 libnullplugin.so

So when I installed, I got a .xpt file but not a .class file. I looked in the tarball directory and didn't find it there, either . . . .

[root@localhost plugins]# cd /root/install_flash_player_6_linux
[root@localhost install_flash_player_6_linux]# ls -l
total 1504
-rwxrwxr-x 1 dale dale 23579 Feb 24 2003 flashplayer-installer
-rw-rw-r-- 1 dale dale 856 Feb 24 2003 flashplayer.xpt
-rwxrwxr-x 1 dale dale 1470464 Feb 24 2003 libflashplayer.so
-rw-rw-r-- 1 dale dale 20728 Feb 28 2003 readme.htm
-rw-rw-r-- 1 dale dale 11301 Feb 28 2003 readme.txt
[root@localhost install_flash_player_6_linux]#

I tried the install twice. Any advice very much appreciated!

Linda
 
Old 03-14-2004, 03:06 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
hmmm... it's been a while but i guess flash 6 doesn't use the *.class file anymore. it should be a *.xpt and a *.so file. my mistake, since it's been a really long time since i installed flash and i'm using version 5 of the flash player since version 6 gave me all kinds of problems.

but for raven, it looks like you're not using the right mozilla command. if you're launching mozilla using the command mozilla, it will launch the mozilla that was provided by your distro. the command you want to use for launching mozilla would be "/usr/local/mozilla/mozilla".
 
Old 03-14-2004, 06:07 PM   #5
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
one of the problems with binary only packages is you get stupid companies that don't know what they're doing.

in this case, if you run
ldd libflashplayer.so

you'll see the shared libraries and versions it depends on.
in this list is libstdc++-libc6.2-2.so.3

if this is not in your /usr/lib then it won't run.
it won't give you an error message or freeze your computer. you just won't see any flash.

all you have to do is make a symlink to the library that is on your computer.
cd /usr/lib
ln -s libstdc++.so libstdc++-libc6.2-2.so.3

so, that's the final undocumented step to installing flash for moz or firefox
 
Old 03-14-2004, 08:19 PM   #6
Raven Linda
LQ Newbie
 
Registered: Mar 2004
Location: St. Louis, MO USA
Distribution: Red Hat Fedora Core
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by megaspaz

but for raven, it looks like you're not using the right mozilla command. if you're launching mozilla using the command mozilla, it will launch the mozilla that was provided by your distro. the command you want to use for launching mozilla would be "/usr/local/mozilla/mozilla". [/B]
Thanks megaspaz for your reply! I verified that I'm running "/usr/local/mozilla/mozilla" by looking at the properties of the desktop button. But for grins I executed that same command on the command line, and it started mozilla, but it also gave me an error in the terminal window:

$ /usr/local/mozilla/mozilla
LoadPlugin: failed to initialize shared library /usr/local/mozilla/plugins/libflashplayer.so [libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory]

So I logged in as root and forgot about slocate because I'm a noob and I ran:

# find / -name libstdc++-libc6.2-2.so.3

and found nothing. But I'm clueless on lib's and don't even know if that's the actual file name. So I searched that on google, and found lots of stuff I didn't understand. I think maybe I need to install that library, but I couldn't find an understandable explaination of how to do that. Am I at least on the right track?

Linda
 
Old 03-14-2004, 09:16 PM   #7
Raven Linda
LQ Newbie
 
Registered: Mar 2004
Location: St. Louis, MO USA
Distribution: Red Hat Fedora Core
Posts: 5

Rep: Reputation: 0
. . . . and thank YOU Stirling. Unfortunately as I mentioned in the privious post (after you posted but before I saw it sorry) I don't seem to have the libstdc++-libc6.2-2.so.3 to link too! Where might I find it? And what do I do with it, just treat it like any other file and drop it in /usr/lib? Will I still need to link it?

Many thanks
Linda
 
Old 03-14-2004, 09:32 PM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
do the command:

locate libstdc++-libc6.2-2.so.3

if you have it, it will tell you where it's at. if it's not in /usr/lib, then create link in /usr/lib as described above. need to su into root to do this

Quote:
ln -s /path_given_from_locate_command/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.2-2.so.3
if you don't have it, check on fedora's site for the compat-libstc++ package
 
Old 03-14-2004, 10:26 PM   #9
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
well, if they have a compat rpm for fedora, then i'd recommend that instead of the symlink.
but either way should work fine.
 
Old 03-15-2004, 04:40 PM   #10
Raven Linda
LQ Newbie
 
Registered: Mar 2004
Location: St. Louis, MO USA
Distribution: Red Hat Fedora Core
Posts: 5

Rep: Reputation: 0
Thank you!! You guys were a great help and I learned some things. I saw the compat package on redhat's web site, but couldn't figure out how to download it. I found it elsewhere in rpm format and installed it, and flash is working! Thanks again.

Linda
 
  


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
The Amazing Database I Can't Use... Can I? supes Linux - Software 6 06-30-2004 10:53 AM
Linux = Amazing ooagentbender LinuxQuestions.org Member Success Stories 2 11-13-2003 08:02 AM
Slack (9.0) is truly amazing! PapaNoHair Slackware 26 05-07-2003 04:22 PM
My amazing floppy problem.. katana Linux - General 1 11-20-2002 04:43 AM
amazing! CtrlAltDel Linux - Distributions 8 10-03-2002 06:55 PM

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

All times are GMT -5. The time now is 12:01 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
Open Source Consulting | Domain Registration