Home Download Buy Blog Forum Support

ST3: Issues with JavaC when building(MacOS)

ST3: Issues with JavaC when building(MacOS)

Postby bg451 on Fri Feb 01, 2013 5:07 pm

For some reason that I cannot figure out, whenever I try to build any java file, I get this

[Finished in 0.5s with exit code -5]
[shell_cmd: javac "/Code/myTestFile.java"]
[dir: /Code/]
[path: /usr/bin:/bin:/usr/sbin:/sbin]dyld: lazy symbol binding failed: Symbol not found: _dirfd
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dirfd
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
Expected in: /usr/lib/libSystem.B.dylib

It does not occur with ST2 and works every time. The file that I am using is a simply Hello World that compiles everywhere else and runs without any errors.
bg451
 
Posts: 1
Joined: Fri Feb 01, 2013 5:03 pm

Re: ST3: Issues with JavaC when building(MacOS)

Postby toddmazierski on Mon Feb 04, 2013 3:59 pm

I appear to be having this same issue. Sublime Text 3, build 3010. Mac OS 10.7.4.

Code: Select all
[Finished in 2.7s with exit code -5]
[cmd: ['/Users/todd/bin/push', '/Users/todd/a_test.rb']]
[dir: /Users/todd]
[path: /usr/bin:/bin:/usr/sbin:/sbin]dyld: lazy symbol binding failed: Symbol not found: _dirfd
  Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dirfd
  Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
  Expected in: /usr/lib/libSystem.B.dylib


Here is my build file:
Code: Select all
{
  "cmd": ["/Users/todd/bin/push", "$file"]
}
toddmazierski
 
Posts: 2
Joined: Mon Feb 04, 2013 3:52 pm

Re: ST3: Issues with JavaC when building(MacOS)

Postby burk on Mon Feb 04, 2013 7:59 pm

Same issue here, exact errors, build file as

Code: Select all
{
   "cmd": ["/usr/bin/unison", "-ui", "text", "-batch", "-force", "/Users/chas/src/project-rel-1.1", "/Users/chas/src/project-rel-1.1", "ssh://sub.example.net//var/www/html/chas/project-rel-1.1"]
}


Error was, in part:

[path: /usr/bin:/bin:/usr/sbin:/sbin]dyld: lazy symbol binding failed: Symbol not found: _dirfd
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dirfd
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
Expected in: /usr/lib/libSystem.B.dylib

Build 3010, Mac OS X 10.7.5
burk
 
Posts: 1
Joined: Mon Feb 04, 2013 7:51 pm

Re: ST3: Issues with JavaC when building(MacOS)

Postby toddmazierski on Mon Feb 11, 2013 3:45 pm

Hooray, this appears to be fixed in build 3012.
toddmazierski
 
Posts: 2
Joined: Mon Feb 04, 2013 3:52 pm


Return to Technical Support

Who is online

Users browsing this forum: Fatbat and 20 guests

cron