3 Replies Latest reply: Nov 4, 2010 3:00 PM by ChivertonT RSS

    How di I run Adobe Air SDK ADL in Linux?

    LarryNH Community Member

      Hi,

       

         I downloaded Adobe Air sdk, and want to run adl... But it does nothing at all. No error message, no results, nada.....

      How do I make it at least tell me what it is trying to do? (I renamed adl to adl_linux since there was an adl file already in the flex sdk,

      apparently it is for the mac)

       

      Here is what I get:

       

      $ $flexsdk/bin/adl_linux

      $ $flexsdk/bin/adl_linux AirTopo2-app.xml

      $ $flexsdk/bin/adl_linux no-such-file.xml

      $

      Not very helpful....... Is there anything else I need that adl depends upon???
      Thanks,
      Larry

        • 1. Re: How di I run Adobe Air SDK ADL in Linux?
          LarryNH Community Member

          OK, I am getting further...

           

            I can get started...

           

            But I guess Adobe does not know how to build executables in linux without shared libraries. It is just a flag for goodness sake! It includes the code

          in the binary. Yes, it makes the executable larger, but it does not require the user to load a bunch of stuff he does not need/want.

           

          I now get:

           

          $ ./adl

          Error loading the runtime (libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory)

           

          My quandary is this, I work for a large company, there are over 250 developers who each have their own machines and work on the same product. We have professionally managed linux boxes that exist half way across the country. We have our development environment in views that can be created.

           

          To include this list of shared objects in our linux boxes is not feasible. We could possibly add to our development views, and I will try and modify LD_LIBRARY_PATH to point to location in our views.

           

          This is a lot of work Because Adobe does not (know about?) want to use the -static flag in "ld" to not use shared libraries (and Adobe does not use Java for adl....)

           

          It would be really nice if Adobe had a version if the SDK that did not require this huge list of shared libraries that I would not even try and request get installed company wide (my Department's linux boxes and all other standardized development boxes)

           

          Please, Please, Please use "ld -static" when you link executables for linux! (or make adl a java program)

           

          I need adl to run regression tests on a part of our product.

           

           

          Required libraries
          libgtk-x11-2.0.so.0libgdk-x11-2.0.so.0libgdk_pixbuf-2.0.so.0
          libgobject-2.0.so.0libglib-2.0.so.0libgthread-2.0.so.0
          libX11.so.6libfontconfig.so.1libfreetype.so.6
          libXrender.so.1libz.so.1libxml2.so.2
          libnss3.solibssl3.solibsmime3.so
          libnspr4.solibdl.so.2libplc4.so
          libplds4.solibstdc++.so.6libm.so.6
          libgcc_s.so.1libpthread.so.0libc.so.6
          libxslt.so.1libcairo.so.2libXt.so.6
          libpango-1.0.so.0libpangocairo-1.0.so.0libpangoft2-1.0.so.0
          libpng12.so.0libGL.solibkwallet.so*
          libgnome-keyring.solibkwalletclient.so*libkdecore.so*
          libDCOP.solibqt-mt.solibhal.so
          libhal-storage.solibXext.so

          • 2. Re: How di I run Adobe Air SDK ADL in Linux?
            LarryNH Community Member

            Is there a way to download pervious versions of the SDK? I don't need the most recent, and my linux kernal is from 2009

             

            Thanks,

            Larry

            • 3. Re: How di I run Adobe Air SDK ADL in Linux?
              ChivertonT CommunityMVP

              Static linking is bad, because the slightest bug or security issue means re-releasing the whole binary.

              So, no, let's not do that.

               

              "To include this list of shared objects in our linux boxes is not feasible"

              It's just a list of library packages to add to the list of the ones you already install. If you have ' have professionally managed linux boxes that exist half way across the country ' I'm sure you have centralised images or install/management systems that will make this dead easy.

               

              "f the SDK that did not require this huge list of shared libraries"

              Most of them don't seem that odd. It's the standard set of GUI libraries plus a few standard bits and bobs for things like the KDE secure keyring.

               

              The final list of packages is handy though, and could obviously be piped through 'yum search' or similar to locate the packages your systems are missing.