Results 1 to 2 of 2

Thread: New Error loading IMSL C Numerical Library

  1. #1

    New Error loading IMSL C Numerical Library

    Hi forum members,

    I recently found an error when I tried to load the IMSL C Numerical Library. It was working before (until three days ago) and I guess some software update is preventing the PyIMSL from running now. I decided to re-install the wrappers (I am running Ubuntu 10.04 64 bits and I follow the procedure of the forum for nonstandard PyIMSL 1.5 installation option 2) but it didn't solve the problem.

    The same error pops up each time:
    Please set your LD_LIBRARY_PATH to include the directory containing IMSL C Numerical libraries.

    I have checked the LD_LIBRARY_PATH and It is ok. I then I thought there might be a dependency error and checked the dependencies of libimslmathstat_imsl.so and libimslmathstat_mkl.so and I found some issues in the outputs:

    mauricio@mauricio-laptop:/opt/pyimsl/imsl/lib$ ldd libimslmathstat_imsl.so

    linux-vdso.so.1 => (0x00007fff7717d000)
    /export/er/CNL7/build/rdhgc411e64/lib/libimslcmath_imsl.so => not found
    /export/er/CNL7/build/rdhgc411e64/lib/libimslcstat_imsl.so => not found
    libc.so.6 => /lib/libc.so.6 (0x00007f05ac0fe000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f05ac6b6000)

    mauricio@mauricio-laptop:/opt/pyimsl/imsl/lib$ ldd libimslmathstat_mkl.so

    linux-vdso.so.1 => (0x00007fff3b3ff000)
    libimslcmath.so => not found
    libimslcstat.so => not found
    libimslcdata.so => not found
    libmkl_gf_lp64.so => /opt/pyimsl/imsl/mkl/libmkl_gf_lp64.so (0x00007fe4c5535000)
    libmkl_gnu_thread.so => /opt/pyimsl/imsl/mkl/libmkl_gnu_thread.so (0x00007fe4c51d1000)
    libmkl_core.so => /opt/pyimsl/imsl/mkl/libmkl_core.so (0x00007fe4c4ffe000)
    libmkl_lapack.so => /opt/pyimsl/imsl/mkl/libmkl_lapack.so (0x00007fe4c48bf000)
    libiomp5.so => /opt/pyimsl/imsl/mkl/libiomp5.so (0x00007fe4c4754000)
    libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00007fe4c4466000)
    libc.so.6 => /lib/libc.so.6 (0x00007fe4c40e3000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007fe4c3edf000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe4c3cc1000)
    libm.so.6 => /lib/libm.so.6 (0x00007fe4c3a3e000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe4c5a77000)

    The libraries that could not be found are in the same location /opt/pyimsl/imsl/lib. Do you think that unresolved dependencies is the reason of my problem? Is there any solution? Before hand thank you.

    Mauricio
    Mau

  2. #2
    Junior Member
    Join Date
    Sep 2005
    Posts
    4
    You are right that unresolved dependencies in libimslmathstat.so and libimslmathstat_mkl are causing loading errors. Most of the time dependency errors are caused by not having the imsl libraries in the the LD_LIBRARY_PATH. However, if you already have /opt/pyimsl/imsl/lib in your LD_LIBRARY_PATH and still seeing this error then looking at dependencies of individual files might be helpful. Please provide ldd output for the following files:
    libimslcstat_imsl.so
    libimslcmath_imsl.so

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •