On 11 Sep 2011, at 18:45, Hartmut Hafermann wrote:
Dear Matthias,
I used alpspython. I also have all these packages installed and I made sure ALPS is configured to use this installation of python. When using alpspython, sys.path does contain '/opt/alps_svn/lib', but not 'opt/alps_svn/lib/pyalps'. Can that be a problem?
No, since you import pyalps.hfd5
I just discovered a workaround for this problem: everything seems to work when turning on the BUILD_SHARED option for all python modules and additionally providing symbolic links such as pyhdf5_c.so -> libpyhdf5_c.so for all libraries in the subdirectory lib/pyalps of the installation. When installing ALPS, all libraries have the prefix 'lib', but python does not seem to recognize libraries with this prefix.
That prefix should not be there, and is not there when I build it. The CMake Lists.txt file states it explicitly:
set_target_properties(${name} PROPERTIES PREFIX "")
Which version of cmake do you use?