Loading "external library" get "I/O error" in mac

Hey everyone,
I just discovered the "external library" in extendscript. So I opened up the "samplelib" example in Xcode 5 and buit it. But, when I tried to run the script, I keep getting the "I/O error" at line "var sampleLib = new ExternalObject("lib:" + libPath);" . I tried to change the "SampleLib.framework" file to readable and writable for every user, but it didn't help.
So, guys, any idea what I've been doing wrong?
Thanks!!!

Hi,
Probably your external object framework is not vaild. Check your Xcode project and rebuild it.
Here is working sample image;
Ten

Similar Messages

  • Error loading external library

    I have created a library in Oracle using a C library test.so in sun solaris.
    This library contains string manipulation and memory management functions. When I call a function in this library through PL/SQL I get the error
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: relocation error: file /home/OraHome/8.1.7/lib/test.so: symbol endl__FR7ostream: referenced symbol not found
    Anybody knows how to set the environment so that symbols in libraries located in other directories can be traced by Oracle.
    Mohan

    Hello
    We have just come across the same problem. A .so library is
    accesible (i.e. we have the adecuate permissions through Unix)
    and the extproc procedure finds it, but we cannot access the
    functions within it. We also get the (really strange) Bad Magic
    error.
    I see that you posted this problem a long while ago and I was
    wondering if you've found a solution you could share.
    Thanks,
    Marta Tirelli

  • Error loading external library (Oracle 8.1.5)

    I'm running Oracle 8.1.5 and am trying to configure the interMedia Text option to enable long test searches using the "contains" operator.
    I've installed (and re-installed) the interMedia text option trying to get this thing working. The installations (including the re-installation) were successful and starting the ctxsrv process was successful as well. No matter what I do, however, I get the following error when I try to create a context type index:
    SQL> create index z$long_ix on z$long(data) indextype is ctxsys.context;
    create index z$long_ix on z$long(data) indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so: open failed: No such file or directory
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    I have tried everything in the online newsgroups, FAQs, etc, but still seem to have this error come up.
    My tnsnames.ora contains:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    My listener.ora contains:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    (ENVS=LD_LIBRARY_PATH=/dbmsu001/app/oracle/product/8.1.5/lib:/dbmsu001/app/oracle/product/8.1.5/ctx/lib)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SWOW)
    (GLOBAL_DBNAME = devlab)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    I restarted the listener each time I made changes to listener.ora and I restarted ctxsrv process each time as well to make sure. I run ctxsrv as "ctxsrv -user ctxsys/ctxsys -personality M -log ctx.log &". I exited SQL*PLus and restarted to make sure I got a new session under the new listener process.
    I don't know alot about libraries and external processes, but from what I've read, I have everything setup properly. I checked the dba_libraries view and it shows the proper filename and path for the libctxx8.so file. It should be correct as it's the same file/path I entered while installing the interMedia text option.
    I've also tried setting text_enable = FALSE in initXXX.ora to make sure that doesn't interfere. Somewhere I read that having that parameter set to TRUE may cause some problems as it's only for version prior to 8.1.5.
    If you have any additional information that can help me get this working, it would be greatly appreciated. I've spent countless hours and am just spinning my wheels now with an ever increasing level of frustration.
    Shane Marshall
    Boston, MA

    This might be best asked in the Oracel Text forum...
    But, it appears that you have extproc configured correctly, the problem is that extproc cannot find the shared object in question. It cannot dynamically load the shared object becaus it cannot find it.
    In my experience, this is due to a LD_LIBRARY_PATH unix environmental variable that does not include the directory where the shared object is. You should set this variable in the login script for the oracle user.
    From the installation guide.... I am not sure if this library is in ORACLE_HOME/lib, if not add the directory to LD_LIBRARY_PATH
    LD_LIBRARY_PATH
    Required when using Oracle products that use shared libraries. Set LD_LIBRARY_
    PATH to include $ORACLE_HOME/lib.

  • Context: Error loading external library

    Oracle 8.1.5EE, Solaris 8 (x86)
    create index quick_text on quick ( text )
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: relocation error: file
    /oracle/app/oracle/product/8.1.5/ctx/lib/libctxx8.so: symbol ociepgoe:
    referenced symbol not found
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    whats the problem ?!
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Omar Alonso ([email protected]):
    Make sure that the Net8 listener is running and is configured to invoke external procedures.<HR></BLOCKQUOTE>
    Of cause its running and configured as follows:
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM=extproc) (ORACLE_HOME=/oracle/app/oracle/product/8.1.5)
    (SID_NAME=PLSExtProc)
    tnsnames.ora:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LD_LIBRARY_PATH - ok to lib and lib/ctx
    + /var/ld/ld.conf - correct
    + ENVS=LD_LIBRARY_PATH=... - set
    I dont understand whats the problem ;-(
    services looks like this:
    PHNET3 has 5 service handler(s)
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    DISPATCHER established:94 refused:0 current:13 max:254 state:ready
    D000 <machine: phnet3, pid: 19391>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34087))
    DISPATCHER established:162 refused:0 current:13 max:254 state:ready
    D001 <machine: phnet3, pid: 19393>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34088))
    DISPATCHER established:132 refused:0 current:13 max:254 state:ready
    D002 <machine: phnet3, pid: 19395>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34089))
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    PLSExtProc has 1 service handler(s)
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    null

  • ORA-06520: PL/SQL: Error loading external library

    Hi
    I am trying to use an external C program from sql using following steps.
    copy the dll in dir ORACLE/806/BIN
    create or replace library outs as
    'e$/ORACLE/806/BIN/SmlCrcChecking.dll'
    create or replace FUNCTION plsCheck_File_CRC (fname Varchar2)
    return boolean
    AS LANGUAGE C
    library outs
    name "Check_File_CRC";
    and call the dll using
    select plsCheck_File_CRC('c:\mttest.txt') from dual;
    The dll is notc alled the message is
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    Please help
    Prashant

    I am trying to create a Pl/SQL test env using
    create or replace procedure file_test
    (fname in varchar2,
    status out number)
    is
    begin
    If Check_File_CRC (fname) then
    status:=0;
    else
    status:=1;
    end if;
    end;
    However the following errros are displayed
    Errors for PROCEDURE FILE_TEST
    6/1 PL/SQL: Statement ignored
    6/4 PLS-00382: expression is of wrong type
    mY TNSNAMES.ORA contains following
    additions
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))
    extproc_connection_data.world =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = extproc))
    (CONNECT_DATA =
    (SID = extproc)
    AND LISTNER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora81)
    (PROGRAM = extproc)
    Message was edited by:
    prashant13

  • PL/SQL missing symbol while loading external library

    I have followed all the steps in creating external library in PL/SQL i.e. configuring Listerner, TNSNAMES.ORA etc. etc.
    While invoking a function call on this external library, I am getting a missing symbol error :
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /home/qzintf/libSQLAdapter.so: undefined symbol: Fneeded32
    ORA-06512: at "EQMIG.QUARTZSQLADAPTER", line 0
    ORA-06512: at line 12
    This missing symbol "Fneeded32" is located in a tuxedo shared lib. The path of tuxedo library (libfml32.so) has already been put in the env var LD_LIBRARY_PATH, but still Oracle is not looking into this library !
    Is there any way where I can define dependency of QUARTZSQLADAPTER on libfml32.so ?? Or make oracle use load this library while loading QUARTZSQLADAPTER ??

    Is the path to libfml32.so accessible to the oracle o/s user and the so itself readable/loadable by oracle?
    You neglected to supply any details of platform and versions - please always do. Full Oracle version and version of o/s.
    If you are using Oracle 64bit (quite likely on Unix flavours), confirm that libfml32.so is a 64bit so. If 32bit then the loadlibrary call will fail as 32bit objects cannot be natively loaded into a 64bit process image.

  • Keep getting "general installation error" message Mac OSX 10.8.5/Safari 6.0.5

    keep getting "general installation error" message Mac OSX 10.8.5/Safari 6.0.5 Followed all the instructions for uninstalling and clean installing. Just wont install

    Make sure you have it set to "show hidden files"
    Check BOTH places and you have to restart Finder
    Press "Quit This" and then go to the Finder Dock icon and right click it
    Select "Open"
    Open TIme Machine
    Go back to September 28 or earlier.
    You'll see the mach_kernel file in the Mac HD directory
    (I can't show it in the TM because screenshots don't work while it's open but here it is in my MAc HD)
    Right click it and select "Restore to"
    Then, when it goes back to Finder, choose the Mac HD directory and click OK.
    It will place the mach_kernel back where it was and you can install software again
    DON'T FORGET to go back and hide your files (and restart Finder) again, or you'll have a mess with the clutter of hidden files everywhere.

  • Error Loading External Library - worked on 10g, now upgraded to 11g and not

    I have an external C library that have been using for years to extracy binary data (images, docs, pdfs etc) from a blob column in a table
    This has been working on Oracle 10.2.0.1 on Windows 32 bit for years.
    I have a new server, Windows 2008 64 bit, have installed 11.2.0.1, created a database and done a full datapump export and import.
    My application seems to work fine with the exception of this external dll
    I have made sure the dll is in the correct directory on the server and the library is pointing to it :
    create or replace library EXTERNPROCEDURES as 'C:\oracle\extern\extern.dll';I then have the same wrapper code that works fine on 10g, is there something I need to do on 11g to "authorise" the external dll or anything as I know the security is tighter or is there an issue with the fact this is 64bit Oracle?
    I have set the listener.ora to be the same as on 10g
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = DB12)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ENVS = "EXTPROC_DLLS=ANY")
          (ORACLE_HOME = c:\oracle\ora11g)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = UPAD)
          (ORACLE_HOME = c:\oracle\ora11g)
          (SID_NAME = UPAD)
      )And the TNS names file
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )Wrapper:
    create or replace procedure OutputString(
      p_Path in varchar2,
      p_Message in varchar2,
      p_mode in varchar2,
      p_NumLines in binary_integer)
    as
    external
      library externProcedures
      name "OutputString"
      with context
      parameters (context,
                  p_Path string,
                  p_path INDICATOR,
                  p_Message string,
                  p_message INDICATOR,
                  p_mode string,
                  p_mode INDICATOR,
                  p_NumLines int,
                  p_numlines INDICATOR)
    ;And the actual pl/sql code
    create or replace procedure extract_b
    (pname in varchar2
    ,ppath in varchar2
    is
         vBlob          blob;
         vLen          number;
         vRaw          raw(10000);
         i          number;
         j          number := 10000;
    begin
         select blob_content into vBlob from wwv_document$ where name = pName;
         -- find the length of the blob column
         vLen :=  DBMS_LOB.GETLENGTH(vBlob);
         -- Read 10000 bytes at a time
         i := 1;
         if vLen < 10000 then
         -- If the col length is < 10000
              DBMS_LOB.READ(vBlob,vLen,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'wb',2*vLen);
         -- You have to convert the data to rawtohex format. Directly sending the buffer data will not work
         -- That is the reason why we are sending the length as the double the size of the data read
         else
         -- If the col length is > 10000
              DBMS_LOB.READ(vBlob,j,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'wb',2*j);
         end if;
         i := i + 10000;
         while (i < vLen ) loop
         -- loop till entire data is fetched
              DBMS_LOB.READ(vBlob,j,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'ab',2*j);
              i := i + 10000 ;
         end loop;
    end;Any ideas?
    Thanks
    Robert

    I call extract_b from sqlplus, which calls outputstring which fails with the error message posted
    Not really sure what else I can provide as I've posted the code for outputstring
    The problem is the for some reason Oracle cannot load the dll, I think the code is fine as it has run on 10g, I think the issue is maybe along the lines that there is something extra in 11g I need to do to set the external library up or it's not happy with the fact it's 64bit or the listener.ora needs to be different in 11g or something like that but I am at a loss as where to look

  • Using External Library in Web Dynpro - Error

    Hello,
    I want to use an external library in a web dynpro. I use WAS 6.40 SP12.
    1. I have created an dc web dynpro app
    2. I have created an dc external library app
    3. I have importet the jar to the external library
    4. I have published the jar as public part
    5. I have imported the public part to web dynpro
    If I build the project I get no error. If I deploy an run the project then I get an error stacktrace:
    java.lang.NoClassDefFoundError: com/sap/netweaver/bc/rf/util/uuid/UUID
    NoClassDefFoundError - I think the jar-file was not deployed. What is wrong?
    Greetings
    Thomas

    Hi THomas,
    Please explain how you are adding the jars into the publicpart of the Libary DC.
    You need to create 2 public parts .
    1. Assembly
    2. Compilation
    You need to add your jar to above two public parts.
    Then you need to add above two publicparts to your webdynpro application.
    Regards, Anilkumar

  • Backing up to external itunes, getting low disk error from macbook

    Hi all,
    So here's the deal: I have a 64Gb iphone with 1GB available, and a 256Gb macbook retina with 17Gb free space.
    The iphone backups are taking up a lot of space on the macbook. I looked into moving the backup files to an external drive and using a soft link to link it all together, but that's a lot more complicated than is necessary, so I just pressed option when opening itunes and created a new library on the external drive with 1TB free space (as reported by Finder).
    I can verify that the computer is using the external library as when I transfer purchases, that library on the external grows in size And doesn't have any of my old content. However, when I try to back up the phone (which is around 30GB) I get the error message that itunes cannot backup the phone because there is not enough space left on the computer, even though the external disk has a terabyte left. I know it's because the macintosh hd has only 17 Gb, is there any way to get round it?
    Thanks in advance!
    JJ

    It isn't using the external drive.
    http://osxdaily.com/2009/09/11/iphone-backup-location/ - your iPhone files are backed up at the following location:
    in Mac OS X:
    ~(your home directory)/Library/Application Support/MobileSync/Backup/
    That's for the files which are backed up in this manner.  Media files are not backed up along with the things above, but you may have other files taking up space.
    iTunes: About iOS backups - http://support.apple.com/kb/HT4946 - including a list of what is backed up.

  • Loaded external SWF gets blurry fonts/bitmaps

    Hi all
    When i load an external swf file it looses quality and
    renders blurry. But the swf itself (the external one) looks
    perfectly fine standalone. Now i ask myself, is this really a
    flashbug or what the heck is it?
    Because i wrote an elearning player wich references hundreds
    of this files, its not very funny to see the quality dropping. To
    get some meat for you, i created a small site, wich should make the
    problem much clearer:
    Click here and
    explore the strange bug
    If anybody has some useful information about it, i am more
    than glad to hear it!
    tks for all the fish and goodbye
    roger

    How was the swf generated? If you were using Camtasia Studio,
    there are
    issues with using Flash 8 player.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "StevenMcQueen" <[email protected]> wrote in
    message
    news:e5mu9e$dmd$[email protected]..
    Hi all
    When i load an external swf file it looses quality and
    renders blurry. But
    the
    swf itself (the external one) looks perfectly fine
    standalone. Now i ask
    myself, is this really a flashbug or what the heck is it?
    Because i wrote an elearning player wich refences hundert of
    this files,
    its
    not very funny to see the quality dropping. To get some meat
    for you, i
    created a small site, wich should make the problem much
    clearer:
    <a target=_blank class=ftalternatingbarlinklarge
    href="
    http://lux.to/tests/ppt2swf/index.html">Click
    here and explore the
    strange bug</a>
    If anybody has some useful information about it, i am more
    than glad to
    hear
    it!
    tks for all the fish and goodbye
    roger

  • I cannot load Reader without getting the patch error

    I have tried to remove all old files, I have tried to find all the hidden files Adobe asked me to remove, but it keeps showing the ptach error.
    Help?

    Remove the old versions of Reader. If using a Windows computer you can do this with the Acrobat/Reader Cleaner tool
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then install a brand new copy: http://get.adobe.com/reader

  • While creating external table getting KUP-01005 error

    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "badfile, byteord
    ermark, characterset, colon

    Post the Create statement.

  • When loading Firefox i get (DNS Lookup error) any advise please

    on loading Firefox 4 the only page that comes up is
    DNS lookup error

    Try re-installing Java. See [[Using the Java plugin with Firefox]]
    A quick search for jqsnotify.exe on Google indicates that it is related to the Java quick start option.

  • Strange LayoutManager error when loading external swf

    The swf loads and I get no popup errors in the browser.  But in debug mode my FlexBuilder console reads:
    [SWF] C:\~projects\source\flexbuilder\tests\dyvetntive_moderator_test\bin-debug\assets\swf\pres entation.swf - 1,592,516 bytes after decompression
    undefined
        at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:668]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
        at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    Loading other swf's produces the same result.
    What is that?

    Turns out it's probably a bug:
    http://bugs.adobe.com/jira/browse/FB-24339
    Third party vendor wrote:
    We have researched this issue. It's not an issue of ours. The crash happens when the loaded AS2 Movie uses _quality property of the MovieClip object.
    Step 1 to reproduce the issue.
    Create a simples AS2 file with Adobe Flash Studio which has the only line:
    this._quality = "BEST"
    and publish this Flash file into "QualityBug.swf" file.
    Compile the following application with Flex. As you can see there is no code of ours at all:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="onInit()">
       <mx:Script>
          <![CDATA[
             import mx.core.UIComponent;
             import flash.display.Loader;
             import flash.net.URLRequest;
             private function onInit():void
                var loader:Loader = new Loader;
                var container:UIComponent = new UIComponent();
                container.addChild(loader);
                this.addChild(container);
                var request:URLRequest = new URLRequest("QualityBug.swf");
                loader.load(request);
          ]]>
       </mx:Script>
    </mx:Application>
    Launch this application in debug mode. The same crash. This means that issue is related to Adobe product family.
    We will try to report to Adobe about this issue.
    Since the issue happens only when debugging on IE we may recommend using other web browser for these purposes, for example Firefox until Adobe fix the problem with their product.

Maybe you are looking for

  • Webforms - Wrap Text/Word Wrap for Column Headings

    I have some member aliases that are set as my webform's column headings, but they are fairly long. Setting the column width to a custom value that fits most of the text in the heading makes the form very wide and ugly to work with. I don't see any op

  • Win 8 to win 8.1 with boot camp again or to update?

    can we easy update win 8x64 to win 8.1 via microsoft website,just finished win 8 installation over boot camp but i was wondering since microsoft is offering 8.1 on their site for free can we just update it like that or we need to find win 8.1 x64 iso

  • From Blackberry to iphone 3gs

    I need some help. I am going from a Blackberry Curve 8300 to an iphone and I can't wait to get/use the iphone. I need to tranfer all my contacts to the iphone. What is the best way to do this? I don't have Outlook. My Blackberry currently backs up to

  • 3F files in Photoshop and Lightroom

    Does any one have an advice on how to use 3F files created with flexcolor software in photoshop CS6.  I have installed the Imacon 3F plug-in but can can only open the 3F files when I remove the camera RAW plug-in.  Is there any way you can have both

  • Deployment error with sun app server 8.2

    hi, i'm a newbieto java programming. i'm following the j2ee tutorial. but i'm stuck when deploying could anyone help me on this? thanks in advance. Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server] Unable to construct pr