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

Boost is not properly detected on macos #48

Open
mminutoli opened this issue Oct 20, 2017 · 2 comments
Open

Boost is not properly detected on macos #48

mminutoli opened this issue Oct 20, 2017 · 2 comments
Assignees

Comments

@mminutoli
Copy link

The root cause is that ck is looking for a dynamic library with a .so extension while it should be .dylib

@gfursin gfursin self-assigned this Oct 21, 2017
@gfursin
Copy link
Member

gfursin commented Oct 21, 2017

Ehh, yes, that's right. I didn't use CK on Mac myself, so some of my colleagues fixed such issues for Mac, but not all. I will try to provide a better support for .dylib shortly ... Will tell you when ready.

@gfursin
Copy link
Member

gfursin commented Oct 23, 2017

I added a support to use the following CK internal names instead of .so, .dylib, .exe in the "soft_file"

    "soft_file": {
      "linux": "libboost_system$#file_ext_dll#$", 
      "win": "libboost_system*-mt*$#file_ext_lib#$"
    }, 

These extensions will be substituted from the target OS. I updated boost soft meta so normally it shoud search for .dylib on MacOS now. (@dsavenko since you use MacOS, do you mind to help check it, please?)
Don't forget to update ck-env repo:

$ ck pull repo:ck-env

These issues may occasionally appear in some other soft descriptions - in such case, their meta should be also update using above file extensions.

Hope it will work! Thanks!

@psyhtest psyhtest assigned ens-lg4 and unassigned dsavenko Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants