CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem installing OpenFoam-version 1.7.1 on SuSE 11.3 using the RPM Pack (http://www.cfd-online.com/Forums/openfoam-installation/86792-problem-installing-openfoam-version-1-7-1-suse-11-3-using-rpm-pack.html)

lil_jam April 2, 2011 00:30

Problem installing OpenFoam-version 1.7.1 on SuSE 11.3 using the RPM Pack
 
Hey fellows, need some tiny thing here :

I followed instructions on http://www.openfoam.com/download/suse.php
apparently downloading OpenFOAM for SuSE 11.3 x86_64bit. But happened to have some error which I can't solve:

by icoFoam -help gives out error: icoFoam: error while loading shared libraries: libscotch-5.1.so: cannot open shared object file: No such file or directory


sudo rpm -q libscotch gives: package not installed

sudo rpm -q libscotch-dev gives: libscotch-dev-5.1.6.dfsg-4.x86_64
(installed)



but I repeat instruction 4. for installing the 64bit of the libscotch library version gives: Preparing packages for installation...
package libscotch-5.1-5.1.6.dfsg-4.x86_64 is already installed


why does this error happened? looking foward for the solution of this problem!

thanks!




wyldckat April 2, 2011 04:50

Greetings lil_jam and welcome to the forum!

Try this:
Code:

rpm -q libscotch-5.1
I've just tested to install this in openSUSE 11.3 and all went OK, although there is a step missing on the official page:
Code:

sudo zypper in libqt4 libQtWebKit4
Only afterwards will you be able to install the ParaView rpm.

Best regards,
Bruno

lil_jam April 2, 2011 09:45

thank you Bruno for the speedy answer. I've repeated the step 4 and tried again downloading these 4 stuffs like below. All showed 'already installed' beside the 1st one.

sudo rpm -i --badreloc --relocate /usr/lib=/usr/lib64 \
http://www.openfoam.com/download/sus...g-4.x86_64.rpm

sudo rpm -i --badreloc --relocate /usr/lib=/usr/lib64 \
http://www.openfoam.com/download/sus...g-4.x86_64.rpm

sudo rpm -i http://www.openfoam.com/download/sus...0-2.x86_64.rpm


sudo rpm -i --nodeps http://www.openfoam.com/download/sus...0-2.x86_64.rpm

As when I downloaded the 1st line, it appeared this :

rpm: relocations must begin with a /


I also tried opening icoFoam -help on 2nd terminal, and showed this error :

icoFoam: error while loading shared libraries: libscotch-5.1.so: cannot open shared object file: No such file or directory

that was like previously, where when I checked it again for libscotch ie line 1.


best regards

wyldckat April 2, 2011 11:05

Hi lil_jam,

OK, try this:
Code:

sudo -s

rpm -i --badreloc --relocate /usr/lib=/usr/lib64 http://www.openfoam.com/download/suse/11.3/x86_64/libscotch-5.1-5.1.6.dfsg-4.x86_64.rpm     

#then finally exit root mode
exit

This way it's executed directly in root mode and there isn't any "\" that could damage the command.

Best regards,
Bruno

lil_jam April 26, 2011 05:20

Hi Bruno!

sorry that I've been away lately. Sorry I really tried it again. but it didn't work either. Still the same result as my 1st post.

best regards

lil_jam

wyldckat April 28, 2011 14:09

Hi lil_jam,

Mmm, then the only option that comes to mind is to:
  1. Launch yast2 and go to the "Software Management" option.
  2. Update/refresh the repositories.
  3. Request it to re-install libscotch, until it's properly installed.
  4. Then run the other instructions once again.
Hopefully this should solve the problem. I didn't give more detailed instructions because right now I don't have an openSUSE box at arms length :)

Best regards and good luck!
Bruno


All times are GMT -4. The time now is 07:18.