-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Hi,
I'm have this error when I try to install python-blosc using and installed c-blosc:
-- Build files have been written to: /home/eamanu/dev/python-blosc/_skbuild/linux-x86_64-3.8/cmake-build
Scanning dependencies of target blosc_extension
[ 50%] Building C object CMakeFiles/blosc_extension.dir/blosc/blosc_extension.c.o
[100%] Linking C shared module blosc_extension.cpython-38-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lblosc_static
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/blosc_extension.dir/build.make:103: blosc_extension.cpython-38-x86_64-linux-gnu.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/blosc_extension.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/skbuild/setuptools_wrap.py", line 589, in setup
cmkr.make(make_args, env=env)
File "/usr/lib/python3/dist-packages/skbuild/cmaker.py", line 496, in make
raise SKBuildError(
An error occurred while building with CMake.
Command:
cmake --build . --target install --config Release --
Source directory:
/home/eamanu/dev/python-blosc
Working directory:
/home/eamanu/dev/python-blosc/_skbuild/linux-x86_64-3.8/cmake-build
Please see CMake's output for more information.
To avoid use of c-blosc local folder I comments the lines to avoid build the local c-blosc:
# against if blosc is available on the system, etc.
find_package(blosc)
# if(NOT blosc_FOUND)
#set(BUILD_STATIC ON CACHE BOOL "Build a static version of the blosc library.")
#set(BUILD_SHARED OFF CACHE BOOL "Build a shared library version of the blosc library.")
#set(BUILD_TESTS OFF CACHE BOOL "Build test programs form the blosc compression library")
#set(BUILD_BENCHMARKS OFF CACHE BOOL "Build benchmark programs form the blosc compression library")
#set(CMAKE_POSITION_INDEPENDENT_CODE ON)
#add_subdirectory(c-blosc)
Metadata
Metadata
Assignees
Labels
No labels