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 with paraFoam (3.8 and OF1.7) since the upgrade to OpenSuSE 11.4 (http://www.cfd-online.com/Forums/openfoam-installation/97965-problem-parafoam-3-8-of1-7-since-upgrade-opensuse-11-4-a.html)

Cyp February 29, 2012 09:04

problem with paraFoam (3.8 and OF1.7) since the upgrade to OpenSuSE 11.4
 
Hi!

I have a problem with my paraview installation since the IT service of my company upgrade my operating system to OpenSUSE 11.4

I use OF 1.7.0 and the associated paraview 3.8.
When I launch the paraFoam command, I get the following error message :

Code:

/home1/gemp/csoulain/OpenFOAM/ThirdParty-1.7.0/platforms/linux64Gcc/paraview-3.8.0/lib/paraview-3.8/paraview-real: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I don't know what to do to solve the problem....

Regards,
Cyp

wyldckat March 2, 2012 07:43

Greetings Cyp,

You've got two options:
  1. Either upgrade your ParaView version to 3.12.0, from the usual OpenFOAM download pages. Then edit the file "OpenFOAM-1.7.0/etc/apps/paraview3/bashrc" and change the numbers to fit the new version.
  2. Or do a symbolic link, after searching for the current python library:
    Code:

    find /usr/lib -name "libpython*"
    find /usr/lib64 -name "libpython*"
    mkdir -p $FOAM_USER_LIBBIN
    ln -s /usr/lib/libpython.so.2.7.1 $FOAM_USER_LIBBIN/libpython2.6.so.1.0

    Keep in mind that this is just an example ;)
Best regards,
Bruno


All times are GMT -4. The time now is 23:45.