-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Mac] Linking intermittently fails to find openssl symbols #414
Comments
The weird thing about this is the linker seems to use the "right thing"™. |
I've been able to reproduce this with this:
and
I'll take a look at this while it's not intermittent for me. |
@julienw and I managed to reproduce the problem while working on #430. We discovered that - On Mac OS X, the documentation of
@julienw pointed out that A temporary workaround could be to define the env variable SQLITE3_LIB_DIR so we don't have to deal with /usr/lib anymore. I propose we define that variable in the MacOSX job on travis, and we document it in the README., Then we would be able to fix rusqlite. |
So the root cause is: rust-lang/pkg-config-rs#11 |
A workaround could be to install libsqlite3 through brew so that pkg-config does not givesystem libs. |
This was not clear above: actually pkg-config works perfectly, but because libsqlite3 is installed in the system (as opposed as using brew) and the |
It seems like this is way easier to trigger when switching between |
is this still happening to you @cr ? |
Yes, I still see it every now and then with latest master. @julienw |
have you followed https://github.com/fxbox/foxbox#extra-steps-for-mac-os-x ? |
Yes, but not following these results in a very different and permanent error. |
Hi, I am also seeing this issue even following those steps before launching foxbox. |
So you still see the same error than in #414 (comment) ? |
@cr @isabelrios, when the next failure occurs, could you paste the output of these commands? echo "$SQLITE3_LIB_DIR"
cargo build --verbose # let's see if the order is similar to https://github.com/fxbox/foxbox/issues/414#issuecomment-214258407 |
@julienw, yes, not always but I can see it. |
@JohanLorenzo I just saw this, but on trying to re-run I achieved success
The linker arguments this time:
Couldn't reproduce to get more than that I'm afraid. |
@samgiles
|
Indeed, if it happens again, I'll investigate further. |
Following up. Have any of you guys encountered that problem for the past month? If not, would you be okay if we closed that issue? |
It occurs roughly 30% of the time on Travis. It can be repro locally.
Example: https://travis-ci.org/fxbox/foxbox/jobs/124982733#L460
Rusting up to the latest nightly wouldn't solve the problem. See this job for instance
The text was updated successfully, but these errors were encountered: