1 Reply Latest reply on Nov 20, 2007 3:04 AM by Newsgroup_User

    Can't load IA 32-bit .so on a IA 32-bit platform

    Mancomb
      Hi all,

      Just made a fresh install of eclipse 3.3 and the Flex builder alpha on Ubuntu 7.04 on an Mac Intel Xeon (64-bit) Duo dual-core system. The install seems to have gone alright, I can import my existing 3 flex projects and have access to code completion on the projects.

      However, I am unable to build. Towards the end of the build process I see an error:

      An internal build error has occurred. Please check the Error Log.

      Checking the error log, I see the following:

      !SESSION 2007-10-24 12:54:08.359 -----------------------------------------------
      eclipse.buildId=M20070921-1145
      java.version=1.5.0_11
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA
      Command-line arguments: -os linux -ws gtk -arch x86

      !ENTRY org.eclipse.ui 2 0 2007-10-24 12:54:09.559
      !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
      !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
      !MESSAGE Cannot bind to an undefined command: plug-in='com.adobe.flexbuilder.editors.css', id='com.adobe.flexbuilder.editors.css.design.ZoomIn'
      !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
      !MESSAGE Cannot bind to an undefined command: plug-in='com.adobe.flexbuilder.editors.css', id='com.adobe.flexbuilder.editors.css.design.ZoomOut'
      !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
      !MESSAGE Cannot bind to an undefined command: plug-in='com.adobe.flexbuilder.editors.css', id='com.adobe.flexbuilder.editors.css.design.Magnify100'

      !ENTRY com.adobe.flexbuilder.project 4 43 2007-10-24 12:54:41.406
      !MESSAGE Uncaught exception in compiler
      !STACK 0
      java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/libawt.so: Can't load IA 32-bit .so on a IA 32-bit platform
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
      at java.lang.Runtime.loadLibrary0(Runtime.java:822)
      at java.lang.System.loadLibrary(System.java:993)
      at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
      at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
      at flash.graphics.images.ImageUtil.getImage(ImageUtil.java:28)
      at flash.graphics.images.JPEGImage.<init>(JPEGImage.java:28)
      at flex2.compiler.media.JPEGTranscoder.getImage(JPEGTranscoder.java:30)
      at flex2.compiler.media.ImageTranscoder.doTranscode(ImageTranscoder.java:46)
      at flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:126)
      at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:184)
      at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:93)
      at flex2.compiler.as3.EmbedEvaluator.generateSource(EmbedEvaluator.java:292)
      at flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java:361)
      at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:81)
      at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
      at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)
      at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
      at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)
      at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:269)
      at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
      at flex2.compiler.as3.EmbedExtension.parse1(EmbedExtension.java:39)
      at flex2.compiler.as3.Compiler.parse1(Compiler.java:339)
      at flex2.compiler.API.parse1(API.java:2158)
      at flex2.compiler.API.parse1(API.java:2111)
      at flex2.compiler.API.batch2(API.java:319)
      at flex2.compiler.API.batch(API.java:1025)
      at flex2.compiler.API.compile(API.java:1211)
      at flex2.tools.oem.Application.compile(Application.java:783)
      at flex2.tools.oem.Application.recompile(Application.java:751)
      at flex2.tools.oem.Application.compile(Application.java:530)
      at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:224)
      at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:266)
      at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:119)
      at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:135)
      at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 0)
      at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source)
      at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source)
      at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
      at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
      at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
      at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      I'm guessing the builder isn't liking the 64-bit processor. That the error is in libawt is suspicious, is it merely some gui panel that isn't working.

      Any hope for me? I'd love to get off the OS X system I'm using for development and switch back to Linux. Thanks,
      Mancomb
        • 1. Re: Can't load IA 32-bit .so on a IA 32-bit platform
          Level 7
          Mancomb wrote:
          > Hi all,
          >
          > Just made a fresh install of eclipse 3.3 and the Flex builder alpha on Ubuntu
          > 7.04 on an Mac Intel Xeon (64-bit) Duo dual-core system. The install seems to
          > have gone alright, I can import my existing 3 flex projects and have access to
          > code completion on the projects.
          >
          > However, I am unable to build. Towards the end of the build process I see an
          > error:
          >
          > An internal build error has occurred. Please check the Error Log.
          >
          > Checking the error log, I see the following:
          >
          > !SESSION 2007-10-24 12:54:08.359
          > -----------------------------------------------
          > eclipse.buildId=M20070921-1145
          > java.version=1.5.0_11
          > java.vendor=Sun Microsystems Inc.
          > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA
          > Command-line arguments: -os linux -ws gtk -arch x86
          >
          > !ENTRY org.eclipse.ui 2 0 2007-10-24 12:54:09.559
          > !MESSAGE Warnings while parsing the key bindings from the
          > 'org.eclipse.ui.commands' extension point
          > !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
          > !MESSAGE Cannot bind to an undefined command:
          > plug-in='com.adobe.flexbuilder.editors.css',
          > id='com.adobe.flexbuilder.editors.css.design.ZoomIn'
          > !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
          > !MESSAGE Cannot bind to an undefined command:
          > plug-in='com.adobe.flexbuilder.editors.css',
          > id='com.adobe.flexbuilder.editors.css.design.ZoomOut'
          > !SUBENTRY 1 org.eclipse.ui 2 0 2007-10-24 12:54:09.560
          > !MESSAGE Cannot bind to an undefined command:
          > plug-in='com.adobe.flexbuilder.editors.css',
          > id='com.adobe.flexbuilder.editors.css.design.Magnify100'
          >
          > !ENTRY com.adobe.flexbuilder.project 4 43 2007-10-24 12:54:41.406
          > !MESSAGE Uncaught exception in compiler
          > !STACK 0
          > java.lang.UnsatisfiedLinkError:
          > /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/libawt.so: Can't load IA
          > 32-bit .so on a IA 32-bit platform
          > at java.lang.ClassLoader$NativeLibrary.load(Native Method)
          > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
          > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
          > at java.lang.Runtime.loadLibrary0(Runtime.java:822)
          > at java.lang.System.loadLibrary(System.java:993)
          > at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
          > at java.security.AccessController.doPrivileged(Native Method)
          > at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
          > at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
          > at flash.graphics.images.ImageUtil.getImage(ImageUtil.java:28)
          > at flash.graphics.images.JPEGImage.<init>(JPEGImage.java:28)
          > at flex2.compiler.media.JPEGTranscoder.getImage(JPEGTranscoder.java:30)
          > at flex2.compiler.media.ImageTranscoder.doTranscode(ImageTranscoder.java:46)
          > at
          > flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:126)
          > at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:184)
          > at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:93)
          > at flex2.compiler.as3.EmbedEvaluator.generateSource(EmbedEvaluator.java:292)
          > at flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java:361)
          > at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:81)
          > at
          > macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
          > at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)
          > at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
          > at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)
          > at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:269)
          > at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
          > at flex2.compiler.as3.EmbedExtension.parse1(EmbedExtension.java:39)
          > at flex2.compiler.as3.Compiler.parse1(Compiler.java:339)
          > at flex2.compiler.API.parse1(API.java:2158)
          > at flex2.compiler.API.parse1(API.java:2111)
          > at flex2.compiler.API.batch2(API.java:319)
          > at flex2.compiler.API.batch(API.java:1025)
          > at flex2.compiler.API.compile(API.java:1211)
          > at flex2.tools.oem.Application.compile(Application.java:783)
          > at flex2.tools.oem.Application.recompile(Application.java:751)
          > at flex2.tools.oem.Application.compile(Application.java:530)
          > at
          > flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:224)
          > at
          > com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.
          > mybuild(ASApplicationBuilder.java:266)
          > at
          > com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASAp
          > plicationBuilder.java:119)
          > at
          > com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:
          > 135)
          > at
          > com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuild
          > er.java:70)
          > at
          > com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unk
          > nown Source)
          > at
          > com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown
          > Source)
          > at
          > com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unk
          > nown Source)
          > at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
          > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
          > at
          > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
          > at
          > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
          > at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
          > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
          > at
          > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
          > at
          > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:3
          > 02)
          > at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
          > at
          > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
          > at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
          > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
          >
          > I'm guessing the builder isn't liking the 64-bit processor. That the error is
          > in libawt is suspicious, is it merely some gui panel that isn't working.
          >
          > Any hope for me? I'd love to get off the OS X system I'm using for development
          > and switch back to Linux. Thanks,
          > Mancomb
          >
          >
          >

          Can you upgrade to latest SUN JRE 5.0 or JRE 6.0 and verify the same?