Skip to content

Instantly share code, notes, and snippets.

@maewolfsky
Created May 5, 2014 14:12
Show Gist options
  • Save maewolfsky/3ca7b73f965cf97b683f to your computer and use it in GitHub Desktop.
Save maewolfsky/3ca7b73f965cf97b683f to your computer and use it in GitHub Desktop.
Vagrant 1.5.4 and vagrant-berkshelf 2.0.1 problems
$ otool -L /Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle
/Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle:
@executable_path/../lib/libruby.2.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/local/lib/libgecodesearch.36.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/usr/local/lib/libgecodeminimodel.36.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/usr/local/lib/libgecodeint.36.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/usr/local/lib/libgecodekernel.36.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/usr/local/lib/libgecodesupport.36.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
$ otool -l /Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle
/Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle:
Load command 0
cmd LC_SEGMENT_64
cmdsize 712
segname __TEXT
vmaddr 0x0000000000000000
vmsize 0x000000000001c000
fileoff 0
filesize 114688
maxprot 0x00000007
initprot 0x00000005
nsects 8
flags 0x0
Section
sectname __text
segname __TEXT
addr 0x0000000000000fd0
size 0x00000000000187cb
offset 4048
align 2^4 (16)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __stubs
segname __TEXT
addr 0x000000000001979c
size 0x0000000000000378
offset 104348
align 2^1 (2)
reloff 0
nreloc 0
flags 0x80000408
reserved1 0 (index into indirect symbol table)
reserved2 6 (size of stubs)
Section
sectname __stub_helper
segname __TEXT
addr 0x0000000000019b14
size 0x00000000000002ec
offset 105236
align 2^2 (4)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __gcc_except_tab
segname __TEXT
addr 0x0000000000019e00
size 0x0000000000000fac
offset 105984
align 2^2 (4)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __cstring
segname __TEXT
addr 0x000000000001adac
size 0x0000000000000d25
offset 109996
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000002
reserved1 0
reserved2 0
Section
sectname __const
segname __TEXT
addr 0x000000000001bae0
size 0x00000000000001db
offset 113376
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __unwind_info
segname __TEXT
addr 0x000000000001bcbb
size 0x00000000000002bc
offset 113851
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __eh_frame
segname __TEXT
addr 0x000000000001bf78
size 0x0000000000000088
offset 114552
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Load command 1
cmd LC_SEGMENT_64
cmdsize 552
segname __DATA
vmaddr 0x000000000001c000
vmsize 0x0000000000001000
fileoff 114688
filesize 4096
maxprot 0x00000007
initprot 0x00000003
nsects 6
flags 0x0
Section
sectname __got
segname __DATA
addr 0x000000000001c000
size 0x00000000000000e0
offset 114688
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000006
reserved1 148 (index into indirect symbol table)
reserved2 0
Section
sectname __nl_symbol_ptr
segname __DATA
addr 0x000000000001c0e0
size 0x0000000000000010
offset 114912
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000006
reserved1 176 (index into indirect symbol table)
reserved2 0
Section
sectname __la_symbol_ptr
segname __DATA
addr 0x000000000001c0f0
size 0x00000000000004a0
offset 114928
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000007
reserved1 178 (index into indirect symbol table)
reserved2 0
Section
sectname __const
segname __DATA
addr 0x000000000001c590
size 0x0000000000000058
offset 116112
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __data
segname __DATA
addr 0x000000000001c5f0
size 0x00000000000003c8
offset 116208
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __common
segname __DATA
addr 0x000000000001c9b8
size 0x0000000000000004
offset 0
align 2^2 (4)
reloff 0
nreloc 0
flags 0x00000001
reserved1 0
reserved2 0
Load command 2
cmd LC_SEGMENT_64
cmdsize 72
segname __LINKEDIT
vmaddr 0x000000000001d000
vmsize 0x0000000000008000
fileoff 118784
filesize 31656
maxprot 0x00000007
initprot 0x00000001
nsects 0
flags 0x0
Load command 3
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 118784
rebase_size 80
bind_off 118864
bind_size 1792
weak_bind_off 120656
weak_bind_size 1056
lazy_bind_off 121712
lazy_bind_size 3656
export_off 125368
export_size 2592
Load command 4
cmd LC_SYMTAB
cmdsize 24
symoff 128488
nsyms 343
stroff 135280
strsize 15160
Load command 5
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 151
iextdefsym 151
nextdefsym 84
iundefsym 235
nundefsym 108
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 133976
nindirectsyms 326
extreloff 0
nextrel 0
locreloff 0
nlocrel 0
Load command 6
cmd LC_UUID
cmdsize 24
uuid AA1BACD0-C593-31B6-9BB5-DE74A1F7CDA7
Load command 7
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.9
sdk 10.9
Load command 8
cmd LC_SOURCE_VERSION
cmdsize 16
version 0.0
Load command 9
cmd LC_LOAD_DYLIB
cmdsize 72
name @executable_path/../lib/libruby.2.0.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 2.0.0
compatibility version 2.0.0
Load command 10
cmd LC_LOAD_DYLIB
cmdsize 72
name /usr/local/lib/libgecodesearch.36.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 36.0.0
compatibility version 36.0.0
Load command 11
cmd LC_LOAD_DYLIB
cmdsize 72
name /usr/local/lib/libgecodeminimodel.36.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 36.0.0
compatibility version 36.0.0
Load command 12
cmd LC_LOAD_DYLIB
cmdsize 64
name /usr/local/lib/libgecodeint.36.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 36.0.0
compatibility version 36.0.0
Load command 13
cmd LC_LOAD_DYLIB
cmdsize 72
name /usr/local/lib/libgecodekernel.36.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 36.0.0
compatibility version 36.0.0
Load command 14
cmd LC_LOAD_DYLIB
cmdsize 72
name /usr/local/lib/libgecodesupport.36.0.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 36.0.0
compatibility version 36.0.0
Load command 15
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libSystem.B.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 1197.1.1
compatibility version 1.0.0
Load command 16
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libobjc.A.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 228.0.0
compatibility version 1.0.0
Load command 17
cmd LC_LOAD_DYLIB
cmdsize 48
name /usr/lib/libc++.1.dylib (offset 24)
time stamp 2 Wed Dec 31 18:00:02 1969
current version 120.0.0
compatibility version 1.0.0
Load command 18
cmd LC_RPATH
cmdsize 32
path @loader_path/../lib (offset 12)
Load command 19
cmd LC_RPATH
cmdsize 40
path @executable_path/../lib (offset 12)
Load command 20
cmd LC_RPATH
cmdsize 128
path /Users/mbaxa/.vagrant.d/gems/gems/dep-selector-libgecode-1.0.0/lib/dep-selector-libgecode/vendored-gecode/lib (offset 12)
Load command 21
cmd LC_FUNCTION_STARTS
cmdsize 16
dataoff 127960
datasize 232
Load command 22
cmd LC_DATA_IN_CODE
cmdsize 16
dataoff 128192
datasize 0
Load command 23
cmd LC_DYLIB_CODE_SIGN_DRS
cmdsize 16
dataoff 128192
datasize 296
$ v up
Vagrant failed to initialize at a very early stage:
The plugins failed to load properly. The error message given is
shown below.
Could not open library '/Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle': dlopen(/Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle, 5): Symbol not found: __ZN6Gecode16ValBranchOptions3defE
Referenced from: /Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle
Expected in: flat namespace
in /Users/mbaxa/.vagrant.d/gems/gems/dep_selector-1.0.3/lib/dep_gecode.bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment