I found the bug in the Makefile for libnative-platform-java. Here's how
to workaround it:

   sudo apt-get build-dep libnative-platform-java
   apt-get source libnative-platform-java
   cd libnative-platform-java-0.3~rc2/

Apply this patch:
--- Makefile.orig       2013-11-20 10:42:54.599476939 -0800
+++ Makefile    2013-11-20 10:43:04.879476606 -0800
@@ -28,7 +28,7 @@
        $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^
 
 $(ODIR)/libnative-platform-curses.so: $(OBJ_CURSES)
-       $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -lcurses -shared -o 
$@ $^
+       $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^ 
-lcurses
 
 $(JCLASSESDIR)/%.class: javafiles-list
        mkdir -p $(JCLASSESDIR)

Run:
   dpkg-source --commit
   dpkg-buildpackage
   cd ..
   sudo dpkg -i libnative-platform-jni_0.3~rc2-2_amd64.deb

Test with
   gradle -v

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1238322

Title:
  gradle not working:  symbol lookup error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gradle/+bug/1238322/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to