LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amazing problem im mozilla (https://www.linuxquestions.org/questions/linux-software-2/amazing-problem-im-mozilla-157115/)

huno 03-13-2004 10:45 AM

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 :mad:





--
huno

megaspaz 03-13-2004 12:09 PM

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.

Raven Linda 03-14-2004 02:49 PM

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

megaspaz 03-14-2004 03:06 PM

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".

stirling 03-14-2004 06:07 PM

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

Raven Linda 03-14-2004 08:19 PM

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

Raven Linda 03-14-2004 09:16 PM

. . . . 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

megaspaz 03-14-2004 09:32 PM

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

stirling 03-14-2004 10:26 PM

well, if they have a compat rpm for fedora, then i'd recommend that instead of the symlink.
but either way should work fine.

Raven Linda 03-15-2004 04:40 PM

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:D :D :study: :study:


All times are GMT -5. The time now is 03:26 AM.