LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where to put libflashplayer.so? (https://www.linuxquestions.org/questions/slackware-14/where-to-put-libflashplayer-so-778198/)

Ace Blackwell 12-26-2009 11:38 AM

Where to put libflashplayer.so?
 
Well I'm sure this has been done to death and I'm just not getting it but...

I'm running Slack64 on hp2500 AMD64 dualboot.

I'm trying to get flashplayer to work with Firefox that came with slack. Here is what I've done so far.

1) Install using firefox "add plugins" . Can't find.
2) Manually DL'd and put the resulting libXXX.so file in numerous directories. /lib, /lib64/firefox/plugins, home/modzilla/plugins. You name it. Last check I have it in 4-5 different dir and firefox never sees it.
3) copied the text of slackbuild of flashplayer and created a file on my hardrive. Tried to run sh command and get error at line 152 (something to do with a missing directory from what I can make of the script) Unfortunately I don't know the ftp commands from the prompt to access the script file directly from the site so I had to copy and paste the info.

In short I'm not sure where to go from here. Any suggestions?

Thanks in advance for the help
Ace

~sHyLoCk~ 12-26-2009 11:40 AM

Why not install from slackbuilds?

Gerard Lally 12-26-2009 12:12 PM

Quote:

Originally Posted by Ace Blackwell (Post 3805302)
Well I'm sure this has been done to death and I'm just not getting it but...

I'm running Slack64 on hp2500 AMD64 dualboot.

I'm trying to get flashplayer to work with Firefox that came with slack. Here is what I've done so far.

1) Install using firefox "add plugins" . Can't find.
2) Manually DL'd and put the resulting libXXX.so file in numerous directories. /lib, /lib64/firefox/plugins, home/modzilla/plugins. You name it. Last check I have it in 4-5 different dir and firefox never sees it.
3) copied the text of slackbuild of flashplayer and created a file on my hardrive. Tried to run sh command and get error at line 152 (something to do with a missing directory from what I can make of the script) Unfortunately I don't know the ftp commands from the prompt to access the script file directly from the site so I had to copy and paste the info.

Hi

I copied the libflashplayer.so file to /usr/lib64/mozilla/plugins/, and changed permissions:

sudo chmod +x /usr/lib64/mozilla/plugins/libflashplayer.so

I mainly use Opera - therefore I do this as well:

sudo mkdir -p /usr/lib64/opera/plugins
cd /usr/lib64/opera/plugins
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so .

Or, as Shylock says, just use the Slackbuild!

:)

helo 12-26-2009 12:54 PM

Those are the correct directories. But firefox will not see flash, if flash cannot find all its libs. So try
Quote:

ldd libflashplugin.so
and make sure there are no "not founds" in the output.

Ace Blackwell 12-26-2009 01:11 PM

Thanks all

1) tried the libXXX.so to usr/lib64/modzilla/plugins directory and used the permissions command. No change but it wasnt' in there before.
2) I tried the slack build of flashplayer from slack64-current. Got an error trying to run the script file. At line 152 as mentioned in the first posting.
3) ran the ldd command. Here is the result
ldd: ./libflashplugin.so: No such file or directory
I didn't add the path to the command. Should I?

Thanks again
Ace

Eternal_Newbie 12-26-2009 02:39 PM

1) Unless you set the TMP variable (in the slackbiuld) to somewhere in your home directory, or use something like fakeroot, you need to su to root to run most slackbuilds.

2) You need a copy of the libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz file (from http://labs.adobe.com/downloads/flas...r10_64bit.html ) in the directory you run the slackbiuld in.

3) Remove all copies of libflashplayer.so you have already installed before installing again. You only need one. Either in ~/.mozilla/plugins/ or /usr/lib64/mozilla/plugins/

helo 12-26-2009 04:15 PM

Quote:

3) ran the ldd command. Here is the result
ldd: ./libflashplugin.so: No such file or directory
I didn't add the path to the command. Should I?
sorry that should have been

Quote:

ldd libflashplayer.so
in the directory with that file in.

Alien Bob 12-26-2009 08:16 PM

You can just use the SlackBuild in the /extra directory of slackware64-13.0: http://slackware.osuosl.org/slackwar...player-plugin/ ... Change the VERSION variable to "10.0.42.34".

Then run the SlackBuild, it will download the tarball automatically and create a flashplayer-plugin package for you in the /tmp directory.

Eric

brianL 12-27-2009 04:04 AM

SlackBuilds are great, but it's always seemed a bit overkill to use one for the flashplayer, when all that's required is to copy libflashplayer.so to /usr/lib (or lib64)/mozilla/plugins. :twocents:

~sHyLoCk~ 12-27-2009 06:23 AM

Quote:

Originally Posted by brianL (Post 3805721)
SlackBuilds are great, but it's always seemed a bit overkill to use one for the flashplayer, when all that's required is to copy libflashplayer.so to /usr/lib (or lib64)/mozilla/plugins. :twocents:

Yeah but it helps keep track of an upgrade to new version , provided you periodically run sbopkg -c :p

wildwizard 12-27-2009 06:44 AM

Just a quick question but you have downloaded the 64bit plugin haven't you?

Ace Blackwell 12-27-2009 10:50 PM

I tried Slack Builds but got an error at line 150.
cat $SRCDIR/slack-desc > $PKG/install/slack-desc

Also the install file down loaded to my home directory not the tmp directory.

I'm not sure I did it right. I couldn't download the script file by clicking on it as it opens it up instead. So I copy and pasted it into a text file and named it the same name as the file on the site.

I also cleared every copy of the XXXX.so file from my system.

*Follow Up* I have downloaded install_flash_player_10_linux.tar.gz
I did a search for a 64 bit file but every link I found brought me to the same point on the Adobe website and this was the file. I don't know if its 64 bit or not. I ended extracting it in the /usr/lib/flash-plugin, /usr/lib64/firefox3.5.2/plugins, /usr/lib64/mozilla. Firefox just isnt' seeing it. So I've either not gotten a 64 bit file or I've not found the magic directory yet.

Is there another player that would work with firefox?


Thanks All
Ace

wildwizard 12-28-2009 05:14 AM

You've got yourself the 32 bit version then

http://labs.adobe.com/downloads/flas...r10_64bit.html

Note that when you download this one it has x86_64 in the filename, that is when you know you have the right one.

Ace Blackwell 12-28-2009 08:56 PM

Thanks Wildwizard. That was the issue. All the searches and hyperlinks from various sites kept taking me to the "beta" version of the 32 bit file.

None the less I'm running now. Thanks to all that responded.

Ace

Matthew Sforcina 02-08-2010 01:51 PM

My location was a little different...

Had to shop around with my locate function to find out where the plugins were stored.

/usr/libs/firefox-addons/plugins/

is where I put the libflashplayer.so

I am running 32-bit 9.10 Karmic


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