This repository has been archived by the owner. It is now read-only.

encfs failed to build on 10.9 #23738

Closed
tomfuertes opened this Issue Oct 29, 2013 · 16 comments

Comments

Projects
None yet
10 participants
@tomfuertes
Copy link
Contributor

tomfuertes commented Oct 29, 2013

  • Command line tools are up to date
  • brew doctor returns no errors

config-logs: https://gist.github.com/anonymous/7216615
Verbose Install Gist: https://gist.github.com/tomfuertes/fbaaf314ee445322d8ed

@ilesm

This comment has been minimized.

Copy link

ilesm commented Oct 29, 2013

I came here to log this same issue.

@tomfuertes

This comment has been minimized.

Copy link
Contributor

tomfuertes commented Oct 29, 2013

Looks like there is some discussion on this here: jollyjinx/encfs.macosx#3

@ilesm

This comment has been minimized.

Copy link

ilesm commented Oct 29, 2013

This version will build: https://github.com/jollyjinx/encfs.macosx

But when running I get this:

% encfs /Users/me/Dropbox/.secure /Users/me/Dropbox-secure [11:33:54]
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost7archive17xml_iarchive_implINS0_12xml_iarchiveEEC2ERSij
Referenced from: /usr/local/Cellar/encfsmacosxfuse/1.7.4p2/lib/libencfs.6.dylib
Expected in: flat namespace

dyld: Symbol not found: __ZN5boost7archive17xml_iarchive_implINS0_12xml_iarchiveEEC2ERSij
Referenced from: /usr/local/Cellar/encfsmacosxfuse/1.7.4p2/lib/libencfs.6.dylib
Expected in: flat namespace

[1] 81887 trace trap encfs /Users/me/Dropbox/.secure /Users/me/Dropbox-secure

@janw

This comment has been minimized.

Copy link

janw commented Oct 30, 2013

Experiencing the exact same issue as @ilesm.

@b-b-

This comment has been minimized.

Copy link

b-b- commented Oct 30, 2013

same here!

$ encfs ~/Dropbox/Private.enc ~/Private -- -o volname="Dropbox Private"
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost7archive17xml_iarchive_implINS0_12xml_iarchiveEEC2ERSij
Referenced from: /usr/local/Cellar/encfsmacosxfuse/1.7.4p2/lib/libencfs.6.dylib
Expected in: flat namespace

dyld: Symbol not found: __ZN5boost7archive17xml_iarchive_implINS0_12xml_iarchiveEEC2ERSij
Referenced from: /usr/local/Cellar/encfsmacosxfuse/1.7.4p2/lib/libencfs.6.dylib
Expected in: flat namespace

@saily

This comment has been minimized.

Copy link

saily commented Oct 30, 2013

+1

1 similar comment
@drewolson

This comment has been minimized.

Copy link
Contributor

drewolson commented Oct 30, 2013

👍

@adamv

This comment has been minimized.

Copy link
Contributor

adamv commented Oct 30, 2013

Please stop "+1" and "me too" on this; everyone with 10.9 is going to have this exact problem. (Think about why!)

@defunctzombie

This comment has been minimized.

Copy link

defunctzombie commented Nov 5, 2013

For those still having problems. I created a formula file which worked on my clean install of Mavericks. This works against the bottled version of boost (or compiled) and will do away with the Symbol not found errors some are getting.

https://gist.github.com/defunctzombie/7324625

@drewolson

This comment has been minimized.

Copy link
Contributor

drewolson commented Nov 5, 2013

@defunctzombie This worked perfectly for me. Thanks!

Is this something that should be pulled in?

@defunctzombie

This comment has been minimized.

Copy link

defunctzombie commented Nov 5, 2013

@drewolson I think it should, but have not tested it on older osx. Maybe someone with a multi-version osx setup could give it a go. Happy to make a pull request if it gets the ok from people that know more about this stuff than me.

@ilesm

This comment has been minimized.

Copy link

ilesm commented Nov 5, 2013

@defunctzombie Works for me too! (On 10.9.) Thank you, I've been dying without encfs on my main machine.

@adamv

This comment has been minimized.

Copy link
Contributor

adamv commented Nov 5, 2013

If you make a pull request, the build bot will test on 10.7-10.9. So please make a pull request.

defunctzombie added a commit to defunctzombie/homebrew that referenced this issue Nov 6, 2013

@katoquro

This comment has been minimized.

Copy link

katoquro commented Nov 24, 2013

Please let us know when can we expect a fix in upstream?

@defunctzombie

This comment has been minimized.

Copy link

defunctzombie commented Nov 26, 2013

I will not be pushing this fix upstream. The project has seen no release in 3 years and the source repo is working on what appears to be an overhaul for version 2.0.

I would merge the smaller fix/patch so that users can have something working today.

@adamv adamv closed this in 35391ad Dec 5, 2013

@felipelalli

This comment has been minimized.

Copy link

felipelalli commented Mar 21, 2014

@defunctzombie it works for me, thank you. But why did you do? Now I am getting this error: this OSXFUSE library version is incompatible with the OSXFUSE kernel extension

ehershey added a commit to ehershey/homebrew that referenced this issue Apr 4, 2014

encfs: fixes for osx 10.9
- switch to osxfuse from fuse4x
- better build flags generation
- fix boost linkage issues (used inreplace instead of big patch in
- original pull request)
- fix symlinks on osx

credits goes to:
defunctzombie (Homebrew#24017)
ollyjinx (jollyjinx/encfs.macosx@955de8e)

Closes Homebrew#23738.
Closes Homebrew#24196.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.