Skip to content

Need to set LD_LIBRARY_PATH for 1.3.13 #146

Closed
@jankrecke

Description

@jankrecke

Hello,

Until recently I have been using mkl_fft 1.3.11 on Ubuntu 24.04 and I could install it without issues with uv from the Intel index.

Relevant section from the pyproject.toml:

[[tool.uv.index]]
name = "intel"
url = "https://software.repos.intel.com/python/pypi"

[tool.uv.sources]
mkl_fft = { index = "intel" }
numpy = { index = "intel" }

dependencies = [
"mkl-fft>=1.3.0",
"numpy>=1.21.6",
]

and uv.lock:

$ grep mkl_fft uv.lock
    { url = "https://software.repos.intel.com/python/pypi/mkl-fft/mkl_fft-1.3.11-81-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:5561565f832a921eb08ce6adca04a9b03d03046ab60dfa4080d1342b803fd165" },
    { url = "https://software.repos.intel.com/python/pypi/mkl-fft/mkl_fft-1.3.11-81-cp312-cp312-win_amd64.whl", hash = "sha256:aad6ee1f290a0163246a0ccb8d761236e90a1fe5acc42b402ef71c6ca3ca6c4a" },

I accidentally updated to 1.3.13 after deleting my uv.lock file,

$ grep mkl_fft uv.lock
    { url = "https://software.repos.intel.com/python/pypi/mkl-fft/mkl_fft-1.3.13-0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:62d03c16defb78f73269087857f6a860345408e93c2717e8f0d4d5bfbaad3829" },
    { url = "https://software.repos.intel.com/python/pypi/mkl-fft/mkl_fft-1.3.13-0-cp312-cp312-win_amd64.whl", hash = "sha256:0d0a531ab5d443c5928d7f6cbfdce5d4f73811f7bab2cf72c9fb2305fe037ca3" },

and now I get an error that culminates in

ImportError: libintlc.so.5: cannot open shared object file: No such file or directory

which can be fixed by

export LD_LIBRARY_PATH=/path/to/my/.venv/lib/

In general that's not a problem and can be handled in my Dockerfile.

But I'm surprised that there would be this change of behaviour from 1.3.11 to 1.3.13. Is that by design? Or am I missing something?

I thank you very much in advance and look forward to hearing from you! Please let me know if you need any more information.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions