-
Notifications
You must be signed in to change notification settings - Fork 258
Problem building on Fedora #58
Comments
Hi @zeroepoch. Thanks for reporting this, I'll have a look at this and update you on the progress as it's resolved. |
I built the SDK inside an Ubuntu 14.04 VM and I noticed it doesn't create lib64 although it's a 64-bit VM. FYI, on Fedora 24 after building everything the hello world example worked but it segfaults when doing a call into libcurl when I run the simulated cloud example, but that's a separate issue. |
In your original issue you were using a 64-bit installation of Fedora, correct? |
Yes my Fedora 24 install is also 64-bit on physical hardware. |
The fix for your original issue requires a change to one of our dependencies, nanomsg. I'm going to create a pull request against them and I'll provide the link to it here shortly. Would you mind creating a separate GitHub Issue for the second problem you brought up? |
You can see the PR here |
I'll test the PR tonight just to confirm and also get the backtrace needed to file the other issue. |
After replacing |
I spoke too soon. RPATH needs to be updated as well otherwise you get runtime errors. Sorry didn't know if it made sense to fork and submit a pull request for just a single line change.
|
BTW, it looks like Fedora does change a few of the common CMake variables, see one example here: https://bugzilla.redhat.com/show_bug.cgi?id=795542 |
Yes, you're correct! As a matter of fact we fixed that this morning but it hasn't gone in quite yet. The RPATH needs to reference the proper lib install directory in the same way that the nanomsg.pc file needs to reference the proper lib install directory. See #53, as it is a similar issue. |
I don't know if this has something to do with cmake 3.6.2, Fedora, or something in the build scripts, but it's looking in ../install-deps/lib instead of ../install-deps/lib64 for libnanomsg.so. See the error below:
To workaround the problem I moved everything from lib to lib64 and created a symlink (lib -> lib64). After doing that and running make again everything worked.
The text was updated successfully, but these errors were encountered: