LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libreoffice installation problem (https://www.linuxquestions.org/questions/linux-software-2/libreoffice-installation-problem-4175445486/)

fabe856 01-13-2013 11:51 PM

libreoffice installation problem
 
Hi all,
I tried to install libreoffice 3.6.4 on my 32 bit system with fedora 17 using following steps given at http://www.tecmint.com/install-libre...-fedora-17-16/
Step 1:
# cd /tmp
# wget http://download.documentfoundation.o...m_en-US.tar.gz

Step 2: Removing Old OpenOffice Version

Didnot follow this step, as i had not installed any package earlier.

Step 3: Extracting LibreOffice 3.6 Package


Step 4: Installing LibreOffice 3.6.4 Package

## For 32 Bit OS ##
# cd /tmp/LibO_3.6.4_Linux_x86_install-rpm_en-US/RPMS/
# rpm -Uvh *.rpm
# rpm -Uvh desktop-integration/libreoffice3.6-freedesktop-menus-3.6*.noarch.rpm

Step 5: Starting LibreOffice 3.6 Package

However after typing
# libreoffice3.6
I get following error:
/opt/libreoffice3.6/program/soffice.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Also when I go to Applications/Office in the GUI it doesnot show libreoffice

Please suggest what to do now.


Regards
Fabe

bijo505 01-14-2013 01:47 AM

Hi Fabe,

Just try to locate the shared object file
Code:

find /usr/lib /lib -name libpng12.so.0 or locate libpng12.s0.0

Then run
ldd /path/libpng12.so.0

Then find out the missing object file from the ldd o/p and then search/locate for the missing object file.
Code:

locate <missing so file>
If you find out a similar file, create a soft link to that file and run ldd again, if you don't get any missing so, it will work

just have a look at the following URL's

http://faq.slashome.com/index.php?ac...&highlight=ldd
http://www.linuxquestions.org/questi...-so-0-a-91513/

fabe856 01-14-2013 08:38 AM

Quote:

Originally Posted by bijo505 (Post 4869474)
Hi Fabe,

Just try to locate the shared object file
Code:

find /usr/lib /lib -name libpng12.so.0 or locate libpng12.s0.0

Then run
ldd /path/libpng12.so.0


Thanks. I could not resolve it with these commands. However, I removed the installed packages by
# yum remove ....
Then I installed it using
#yum install libre*
and it worked fine


All times are GMT -5. The time now is 08:34 AM.