Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue on Mac OS #197

Open
jeshtroy opened this issue Jul 6, 2017 · 1 comment
Open

Installation issue on Mac OS #197

jeshtroy opened this issue Jul 6, 2017 · 1 comment

Comments

@jeshtroy
Copy link

jeshtroy commented Jul 6, 2017

On running install i.e. cmake --build . --target install
This is the console output.

[ 28%] Built target blosc_static
[ 56%] Built target blosc_shared_testing
[ 84%] Built target blosc_shared
[ 85%] Built target test_nolock
[ 87%] Built target test_shuffle_roundtrip_sse2
[ 88%] Built target test_noinit
[ 90%] Built target test_nthreads
[ 92%] Built target test_api
[ 93%] Built target test_compress_roundtrip
[ 94%] Built target test_maxout
[ 95%] Built target test_shuffle_roundtrip_generic
[ 96%] Built target test_shuffle_roundtrip_avx2
[ 98%] Built target test_getitem
[ 99%] Built target test_compressor
[100%] Built target bench
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/pkgconfig/blosc.pc
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/include/blosc.h
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/include/blosc-export.h
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/libblosc.1.12.1.dylib
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/libblosc.1.dylib
-- Up-to-date: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/libblosc.dylib
-- Installing: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/libblosc.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/jpt54/Downloads/c-blosc-master/usr/local/lib/libblosc.a(threading.c.o) has no symbols

Note: Command line tools using xcode are already installed

blosc wasn't installed in CMAKE_INSTALL_PREFIX

@FrancescAlted
Copy link
Member

I get a similar message on my Mac box:

[100%] Built target bench
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/pkgconfig/blosc.pc
-- Installing: /usr/local/include/blosc.h
-- Installing: /usr/local/include/blosc-export.h
-- Installing: /usr/local/lib/libblosc.1.12.1.dylib
-- Installing: /usr/local/lib/libblosc.1.dylib
-- Up-to-date: /usr/local/lib/libblosc.dylib
-- Installing: /usr/local/lib/libblosc.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /usr/local/lib/libblosc.a(threading.c.o) has no symbols

but contrarily to you, the library gets installed:

Francescs-MacBook-Pro:build-macosx faltet$ ll /usr/local/lib/libblosc.*
-rwxr-xr-x  1 faltet  admin  519972 Jul  7 13:49 /usr/local/lib/libblosc.1.12.1.dylib
lrwxr-xr-x  1 faltet  admin      21 Jul  7 13:49 /usr/local/lib/libblosc.1.dylib -> libblosc.1.12.1.dylib
-rw-r--r--  1 faltet  admin  626192 Jul  7 13:49 /usr/local/lib/libblosc.a
lrwxr-xr-x  1 root    admin      16 Apr 24 12:42 /usr/local/lib/libblosc.dylib -> libblosc.1.dylib

and I can link with that without problems. Strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants