[CS4]: ICU Locale Link Error

Hello,
Has anyone had trouble with link errors for ICU Locale's when porting from InDesign CS3 to CS4 on the Mac? Although the SDK ReadMe says CS4 uses ICU 3.4, upon inspection of the ICU frameworks delivered with the CS4 SDK, they are actually version 3.6. I don't know if the change in version has anything to do with the link error or whether there is an omission somewhere. I've tried putting all the CS4 ICU libraries into the project, but to no avail.
John H.

Never mind. I forgot about changing the Frameworks path in the project. It works!
John H.

Similar Messages

  • [CS4] Porting plugin from Indesign CS3 to CS4 c++ linking error

    I am hoping to upgrade our current plugin to the latest version of Indesign CS4.
    I've downloaded and unpacked the new Indesign CS4 SDK and have read the porting guide.  I've not seen anything obvious relating to this issue.
    This is using Visual Studios 2005 SP1 with InDesignCS4ProductsSDK_Build578.
    It appears that through the headers that I don't end up with any compile issues.  However in linking my current project is unable to find just a couple of external symbols.
    ItemSelection.obj : error LNK2019: unresolved external symbol "public: void __thiscall K2Internals::K2VectorBase<class IDType<struct PMIID_tag>,class K2Allocator<class IDType<struct PMIID_tag> > >::fill_insert(class IDType<struct PMIID_tag> *,unsigned int,class IDType<struct PMIID_tag> const &)" (?fill_insert@?$K2VectorBase@V?$IDType@UPMIID_tag@@@@V?$K2Allocator@V?$IDType@UPMIID_tag@ @@@@@@K2Internals@@QAEXPAV?$IDType@UPMIID_tag@@@@IABV3@@Z) referenced in function "public: virtual class K2Vector<class IDType<struct PMIID_tag>,class K2Allocator<class IDType<struct PMIID_tag> > > * __thiscall SelectionSuiteCSB::CreateObserverProtocolCollection(void)" (?CreateObserverProtocolCollection@SelectionSuiteCSB@@UAEPAV?$K2Vector@V?$IDType@UPMIID_t ag@@@@V?$K2Allocator@V?$IDType@UPMIID_tag@@@@@@@@XZ)
    Convert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class PMReal __thiscall PMMatrix::operator[](int)const " (__imp_??APMMatrix@@QBE?AVPMReal@@H@Z) referenced in function "class Ipg3::Matrix __cdecl ConvertMatrix(class PMMatrix const &)" (?ConvertMatrix@@YA?AVMatrix@Ipg3@@ABVPMMatrix@@@Z)
    Does anyone have any ideas of where I should look next?
    Paul Cooley

    Ian,  Thanks.  That did solve the K2Vector problems.
    Are you aware of which .tpp covers the PMMatrix class?  That would probably make this linking error:
    Convert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class PMReal __thiscall PMMatrix::operator[](int)const " (__imp_??APMMatrix@@QBE?AVPMReal@@H@Z) referenced in function "class Ipg3::Matrix __cdecl ConvertMatrix(class PMMatrix const &)" (?ConvertMatrix@@YA?AVMatrix@Ipg3@@ABVPMMatrix@@@Z)

  • [CS4] IDFactory link error - affects release only

    update: forgot to mention this only happens whily building release. debug version builds and loads.
    Hello,
    I ported a plugin from CS3 and CS4 and getting following link error (one for each DECLARE_PMID) while linking ID file. SDK samples compile and link just fine.
    Undefined symbols:
      "IDFactory::IDFactory(long const&, char*, long const&)", referenced from:
          __static_initialization_and_destruction_0(int, int)in ITMID.o
    Environment
    Mac 10.6.3 64-bit
    XCode 3.2.1 w GCC 4.0
    Linked against 10.4 SDK
    I am sure I am missing something obvious. Would save me lot of time if you could point it out or send me in right direction.
    Thanks
    Kapil

    BTW I have tried selecting all of the shapes before enabling
    bone tool...saw that as a possible solution on another forum,
    however no luck

  • Premiere Pro CS4 export doesn't work Dynamic Link Error

    I am on Windows XP and have upgraded to Premier Pro CS4.  I have under a 2 minute video that will not export (combo of photos and avi files we shot and a couple purchased avi in the NTSC format).  AME sits on a "Waiting" status with no sign of movement.  After an hour I turned it off.  Tried to open AME and add the sequence, when I get the Adobe Dynamic Link Error - at least I get an error.  What is this?  I have no extra items on the timeline and have deleted the other sequences out to see it that mattered - no.  I have done the updater and have the latest updates - still nothing.  What am I missing?  What should I be looking for?  Help Please.

    Antivirus isn't an issue and I have a lot of space.
    Gerri
    Allan Block
    "This is a transmission from Allan Block Corporation and may contain
    information which is privileged or confidential.  If you are not the
    addressee, note that any disclosure, copying, distribution, or use of
    the contents of this message is prohibited.  If you have received this
    information in error, please destroy it and notify us immediately at our
    telephone number (952) 835-5309."

  • Mac CS4 Linker Error with IAIColorSpace.cpp

    Hi Folks,
    I'm trying to use AIColorSpace in my Mac AICS4 Plug-In using Xcode 3.1.1 on Leopard 10.5.7, but I'm getting a linker errors (see below).
    Has anyone here included "IAIColorSpace.cpp" in their project and successfully compile an AICS4 plug-in using Xcode 3.1.1 on Leopard?
    When I include IAIColorSpace.cpp in my project, I get a linker error of:
    _sAIColorSpace, referenced from
    _sAIColorSpace$non_lazy_ptr in IAIColorSpace.o
    symbol(s) not found
    collect2: Id returned 1 exit status
    There are many Google hits of "non_lazy_ptr" errors with Xcode, but nothing has helped me solve this issue. Any help would be most appreciated!
    Thanks!
    -- Jim

    The usual culprit is that sAIColorSpace needs to be defined in all the right places. Typically its EXTERN'd in both a header & a cpp, as well as included in a list of suites to load (along with the version of the suite to load). Have you added it to all three places? Usually you just find the spots where all the other suties are and cut & paste it into their number. Where that would be depends on whether you're using your own plugin setup or if you're working off one of the Adobe skeleton samples plugins.

  • Windows 7 Production Premium CS4 language pack installation error + solution

    Ok. Long story short...(For solution scroll all the way down)
    Tried to install ubuntu next to my windows vista. Next day I found myself wondering in store searching for windows 7 because Ubuntu install ruined something somewhere inside my computer and neither one of my OS were not starting at all...
    Ok. So I purchased Windows 7 with smile in my face and happiness in my soul! Now it´s clean installed and working and I have to say it is much better than Vista was...
    Already installed 3d max 2009 and couple of other old programs and works like charm and softwares are starting fast!
    ...BUT
    Today I tried to install my wonderful CS4 Production Premium package to this computer. All went well all the way to the end report where it said something like "installation error" and then there was few products or files on the list which it was unable to install...(I can post the exact list tomorrow when I try to uninstall and then again install suite the fourth or fifth time in a row.) After error report I was really worried. First I tried to start Photoshop and all I got was error report "some of the application components are missing from the application directory. Please re-install the application." Then I tried Illustrator and the message was "the localized resource files for this application could not be loaded. Please re-install...blah blah..." When I try to open Onlocation I get windows error "Adobe Onlocation has stopped working." Bridge and Media Encoder are working! But when tried to start After Effects, Premiere and Soundbooth it just opened the serial key window. When I write the serial from my dvd-box backlabel it gives me the nice big red X and says that my serial is not valid. But my serial was really valid just a while ago when I started to install these softwares! Oh please NO!
    Ok. So...Questions shortly:
    How to get my Production Premium installation work in Windows 7 and get back to work?
    How to de-activate my softwares after computer breakdown or user stupidity leading to computer breakdown so I can use my softwares again?
    EDIT:
    Well...This is what I got from the error report:
    Adobe After Effects CS4 LangPack (en_GB)
    Error:
    Error 2.
    Adobe Encore CS4 LangPack (en_GB)
    Error:
    Error 2.
    Adobe Flash CS4 Extension - Flash Lite LangPack Common
    Error:
    Error 2.
    Adobe Flash CS4 Payload LangPack (en_GB)
    Error:
    Error 2.
    Adobe Illustrator CS4 LangPack (en_GB)
    Error:
    Error 2.
    Adobe OnLocation CS4 LangPack (en_GB)
    Error:
    Error 2.
    Adobe Photoshop CS4 International English Language Pack
    Error:
    Error 2.
    Adobe Photoshop CS4 International English Language Pack_x64
    Error:
    Error 2.
    Adobe Premiere Pro CS4 LangPack (en_GB)
    Error:
    Error 2.
    Adobe Soundbooth CS4 LangPack (en_GB)
    Error:
    Error 2.
    LangPack (British) for DeviceCentral
    Error:
    Error 2.
    Tried installing different language but it still won´t work...
    Can´t install it in safe mode and installing trough troubleshooters different windows versions won´t work either...
    Any ideas anyone?
    EDIT:
    Tried creating .nrg dvd-images with Nero and installing from harddrive instead of dvd-discs but still no luck. So problem is not in my dvd-drive or discs...
    EDIT:
    SOLUTION...
    Adobe support answered to my question. I was missing a DOCUMENTS folder from my USERS - PUBLIC path and after I created that and un-installed & installed my production premium package, everything worked like it should! You might encounter to this same problem also if your USERS - PUBLIC - DOCUMENTS folder has some security settings on... Just right click the folder, choose security and check full control in permissions and remember to sign in as administrator when you install any software...
    Hope this tip is helpful!
    Now...Back to work!

    WOH, just what I needed.
    My problem was, that I have moved my documents to another partition, but the public parts I unfortunaly don't had thinked about. . This was 'the solution'! Thank you J_Suhonen!

  • "Not an executable or is a link" errors when starting Messaging Server

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

  • I had to reinstall CS4 and now have error messages when opening bridge and photoshop

    The error message is "The specified module could not be found. C:\Program Files (x86)\Common Files\Adobe\Adobe Version Cue CS4\Client\4.0.1\Version Cue.DLL

    I tried what you suggested and it did not help.  whenever I try to open either photoshop or bridge, I get a message saying that there was a problem loading scripts the last time that Bridge was open and do I want to try loading them again?  If I click yes, I get that same error message that I reported in my original question and photoshop/bridge will immediately close.  If I click no, photoshop and bridge will open but it will not let me open a raw format document.  It seems like Adobe Camera Raw is not being recognized.   One of the updates I downloaded was an update to Adobe Camera Raw so the functionality is there, it just can't be accessed.  do you think I should try to uninstall and re-install Photoshop again?
    Date: Mon, 3 Sep 2012 19:48:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: I had to reinstall CS4 and now have error messages when opening bridge and photoshop
        Re: I had to reinstall CS4 and now have error messages when opening bridge and photoshop
        created by Arpit Kapoor in Downloading, Installing, Setting Up - View the full discussion
    Go To Help->Updates and install the latest update. It should work.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4670793#4670793
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4670793#4670793. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Need to download - design premium CS4 - I'm getting error: 150:30 when I try to open PS

    I had CS help me a few months ago to re-set or load my CS4 Design Premium, when I changed 2008 imac to Mavericks.  Now I can't remember how we did that.  Now the issue is that I need to do the same on my new Macbook pro (also Mavericks)- Somehow the Suite seems to have loaded all programs, and clicking on one says to restart and then says " but if that doesn't work, then reach support." so here I am.  Can someone help asap?  Second question today.  thanks

    Hi madsea,
    There could be issues while loading CS 4 on Mavericks due to incompatibility of OS and software. Please check out the system requirements for CS4 from the link mentioned below.
    System Requirements : System requirements | CS4, Point Products
    For Error -150 : 30 | Error "Licensing has stopped working" | Mac OS
    You can certainly try if it works for you. Links for download and installation are mentioned below.
    Download : Download CS4 products
    Install : Install CS4 products | Windows, Mac OS
    Thanks,
    Atul Saini

  • Can website hyperlinks be converted to local links when creating a PDF?

    I'm using the Acrobat X trial version and need some help understanding its capabilities.
    I have a 600+ page document that resides on a Wiki web site. The Wiki is direct edited by numerous authors and it generates the html code.
    I have successfully used Acrobat X to access the site and create a local PDF document on my computer, including Bookmarks. Selecting a bookmark "jumps to" the correct reference in the PDF document.
    My question is in regard to the actual content, where thousands of hyperlinks exist. All of these links refer to the source document on the website. If I click on one of these, this also works fine.
    But my objective is to convert those hyper links into a "local link". I want to use the resulting PDF file on computers that do not have Internet access.
    Is this conversion possible? Is there an Acrobat X option I am overlooking?
    Or is there coding that would need to be added to the source document for this to work?
    Or is the a "futures" request?
    Robert Chudek, Director
    Chisago County Historical Society
    www.chisagocountyhistory.org

    The system was not my own, it was on a PC belonging to the school where I teach. The error message referred to Acrobat 9.0, so I assume that the problem is to do with the version on which the file was created being more recent than that on which I attempeted to open it.

  • JNI Unsatisfied Link Error

    Hello All:
    I have some java code that calls a C function in a dll. I have succesfully used the javah utility to generate the header file for my jni native implementation code and have build both the client java code as well as the dll using g++3.0 using Bloodshed Dev C++ (an open source IDE). When I go to execute the java code I get an unsatisfied link error saying my function is not recognized by the jvm. Does anyone have any suggestions on this issue?? I am using Win2k and jdk 1.4.1
    Here is what I've already tried:
    1) Have added the directory where the java class file as well as the dll to my PATH variable, I have even put the dll files in the jdk bin directory
    2) My dll loads three other dll's and calls a function in one of those dll's, I am using the loadLibrary function to load these dll's and am using function pointers to reference the actual function in the dll
    I was wondering if its a problem if I use g++ to build my dll, does the virtual machine assume by default that gcc is used, please let me know.
    Any help is much appreciated
    Thanks

    I've looked through the various postings on this issue and have tried some or all of the suggestions that were made relevant to my problem but I still keep getting this error. As a result I am attaching some code here:
    Listed below is my java code
    public class DecoderAdapter
    //instance vars
    private static DecoderAdapter decoderAdapObj;
    private String serNum="43543534654";
    private Hashtable decodeInfo;
    private final int DEC_SNTYPE_UNKNOWN=0;
    private final int DEC_SNTYPE_ADOBE_1A=10;
    private final int DEC_SNTYPE_ADOBE_1B=20;
    private final int DEC_SNTYPE_ADOBE_2A=30;
    private final int DEC_SNTYPE_ADOBE_2B=40;
    private int serNumType;
    static
         System.loadLibrary("javaWrapperProj");
    public DecoderAdapter() throws UnsatisfiedLinkError
    /** accessor for decodeInfo
    public Hashtable getDecodeInfoHash()
         return decodeInfo;
    /** mutator for decodeInfo
    public void setDecodeInfoHash()
         initializeHash();
    /** accessor for serial number type
    public int getSerNumType()
         return serNumType;
    /** mutator for serial number type
    public void setSerNumType(int serNumberType)
         serNumType = serNumberType;
    /** accessor for serial number
    public String getSerNum()
         return serNum;
    /** mutator for serial number type
    public void setSerNum(String serNumber)
         serNum = serNumber;
    public static void main(String[] args)
    //local vars
         try
    decoderAdapObj = new DecoderAdapter();
    int snType=decoderAdapObj.DEC_SNTYPE_UNKNOWN;
    String serialNum=decoderAdapObj.getSerNum();
    decoderAdapObj.setDecodeInfoHash();
    Hashtable myHash = decoderAdapObj.getDecodeInfoHash();     
         decoderAdapObj.setSerNumType(decoderAdapObj.DEC_SNTYPE_UNKNOWN);
         int responseCode=decodeSerNum(snType,serialNum,myHash);
         System.out.println("The response from decoding the serial number is "+responseCode);
         System.out.println("About to call the hashtable retrieval function");
         System.out.println("The media code returned="+decoderAdapObj.decodeInfo.get("mediaCode"));
         //getHashResults();
         catch (UnsatisfiedLinkError un)
         System.out.println("Caught an unsatisfied link exception with the message="+un.getMessage());
         System.out.println("The stack trace of this error is="+un.getStackTrace());
    /** This method is used
         to fill up the contents
         of the hashtable
    public void initializeHash()
         decodeInfo = new Hashtable();
         decodeInfo.put("errorCode",new Integer(0));
         decodeInfo.put("mediaCode",new String("temp"));
    //declaration of native method
    private static native int decodeSerNum(int snType,
    String serialNumberStr,
    Hashtable decodeInfoHash);
    The following is what gets generated by the javah utility:
    /* Header for class DecoderAdapter */
    #ifndef IncludedDecoderAdapter
    #define IncludedDecoderAdapter
    #ifdef __cplusplus
    extern "C" {
    #endif
    /* Inaccessible static: decoderAdapObj */
    * Class: DecoderAdapter
    * Method: decodeSerNum
    * Signature: (ILjava/lang/String;Ljava/util/Hashtable;)I
    JNIEXPORT jint JNICALL Java_DecoderAdapter_decodeSerNum
    (JNIEnv *, jobject, jint, jstring, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    And finally the following is my C implementation file:
    Date: 07/11/02 11:56
    Copyright:
    #include <jni.h>
    #include "Decoder.h"
    #include "DecoderAdapter.h"
    #include <iostream.h>
    #include <stdio.h>
    #include <windows.h>
    #include <conio.h>
    typedef int (WINAPI*cfunc)(int,char *,DecodeInfo *);
    JNIEXPORT jint JNICALL Java_DecoderAdapter_decodeSerNum
    (JNIEnv * env, jclass currentObj, jint serialNumberType, jstring serialNumber, jobject decodeInfoHash)
    HINSTANCE hLib=LoadLibrary("WCDSNDecoder.DLL");
    //HINSTANCE hLib1=LoadLibrary("Kernel32.DLL");
    //HINSTANCE hLib2=LoadLibrary("msvcrt.DLL");
    if(hLib==NULL) {
    cout << "Unable to load library!" << endl;
    getch();
    return 0;
    //load the dll at run time
    cfunc decodeSerialNumberPtr=(cfunc)GetProcAddress((HMODULE)hLib, "decodeSerialNumber");
    DecodeInfo result;
    //call decode serial number here
    //and pass in the serial number type
    //the serial number and the empty
    //struct containing the serial number info
    char * actualSerialNumber = const_cast<char *> (env->GetStringUTFChars(serialNumber,0));
    int serType = serialNumberType;
    int finalResult=decodeSerialNumberPtr(serType,actualSerialNumber,&result);
    //set the results from the Decode Info struct
    //int decodeSerialNumber(int serialNumberType,
    // char *serialNumberFrmtd,
    // DecodeInfo *serialNumInformation);
    //first return the Java class object that is the type of the
    //java object
    jclass decoder_class = env->GetObjectClass(currentObj);
    jclass decoder_hash_class = env->GetObjectClass(decodeInfoHash);
    //call the put method from the native code
    //on the hashtable object and pass it the necessary
    //arguements
    jmethodID putMethod = env->GetMethodID(decoder_hash_class,"put","(S,O)V");
    jstring key = env->NewStringUTF("mediaCode");
    jstring value = env->NewStringUTF(result.mediaCode);
    //now do the actual call to the method
    env->CallVoidMethod(decodeInfoHash,putMethod,key,value);
    //release memory here
    FreeLibrary((HMODULE)hLib);
    env->ReleaseStringUTFChars(serialNumber,actualSerialNumber);
    return finalResult;
    The exact error is shown below:
    Caught an unsatisfied link exception with the message=decodeSerNum
    My path variable's contents is shown below:
    PATH=C:\XEmacs\XEmacs-21.4.8\i586-pc-win32;C:\oracle\ora81\bin;C:\oracle\ora81\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Perforce;C:\JRE\1.1\bin;c:\webObjectsCode\dev\LocalDeveloper\Executables;C:\djdev\bin;C:\emacs-20.7\bin;C:\jakarta-ant-1.4.1\bin;C:\J2SDK1~1.1\bin;C:\Apple\Library\Executables;C:\Apple\bin;C:\Apple\Library\JDK\bin;C:\j2sdk1.4.1\include;C:\j2sdk1.4.1\include\winnt;C:\webObjectsCode\devWO5\sn_decoder\javaWrapperWork;C:\Program Files\Common Files\Microsoft Shared\VSA\7.0\VsaEnv
    Please note that I am successfully able to build a dll file.
    Any help would be appreciated...

  • Adobe Dynamic Link Error

    Lately, when I try to open a Premiere Pro CS3 or CS4 project in Encore CS4, I set this error message: "an adobe dynamic link error occurred". It used to work but now it doesn't. Anyone know why?

    Something went corrupted in your system you will have to run the Clean-up Scripts and reinstall.
    Best thing to have full functioning Reinstall from a Clean Formated hard Drive
    Regards
    Julio Cesar

  • Linker Error

    I am try to compile a code sample for a piece of 3rd party software using the provided Makefile for my environment which is solaris. The code is written in C++. I keep running into the same linker error and cant seem to pinpoint the problem. Any help would be greatly appriciated. Thank you. The compiler being used is CC.
    mkdir -p obj
    CC -c -DSOLARIS -I./ -I../../../../../../common/include/ -c -w -O -o obj/DataFileReader.o src/DataFileReader.cc
    CC -c -DSOLARIS -I./ -I../../../../../../common/include/ -c -w -O -o obj/batch.o src/batch.cc
    CC -DSOLARIS -L/usr/local/lib -R/usr/local/lib -L/usr/lib -L/usr/local/lib obj/DataFileReader.o obj/batch.o -L../../../lib -lg1client -lsocket -lnsl -o bin/batch
    Undefined first referenced
    symbol in file
    std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__sun_append(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) ../../../lib/libg1client.so
    std::basic_string<char,std::char_traits<char>,std::allocator<char> >std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__sun_concat(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)const ../../../lib/libg1client.so
    std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__sun_append(const char*) ../../../lib/libg1client.so
    ld: fatal: Symbol referencing errors. No output written to bin/batch
    *** Error code 1
    make: Fatal error: Command failed for target `bin/batch'

    Fixed it. Only took a couple days of wasted time I could have been coding. libCstd.so had misteriously dissapeared from the dev box I was working on.

  • Strange Linker error using Forte 6

    Hi,
    I am getting an unusual linker error while trying to compile something using Forte 6 update 2. First some backgrond
    We have an internal application currently running on a Solaris 2.6 box. I wish to move it to a Solaris 8 box. The application uses mainly apache, perl and mysql. One of the perl modules used is the old SPGrove module written by James Clark (www.jclark.com), which in turn uses the libsp.a library from the 'sp' distribution by the same author. I can find information on compiling/running 'sp' on O/S versions upto solaris 7 but not 8. Having tried all the available versions of gcc I finally gave up and tried Forte 6.
    Having had problems with applications and dynamic libraries complied with different compilers before I have compiled perl 5.6.1 using Forte 6, I have installed all the required perl modules and I have successfully compiled version 1.3.4 of the 'sp' package.
    The old SGML::SPGrove modules is no longer available and has been replaced by two newer ones, SGML::Grove, which installs fine, and SGML::SPGroveBuilder, which has some C++ code which is linked against the libsp.a library as mentioned above. The module (once certain options have been set to get the correct environment) compiles fine but when I run the test suit I get the following error.
    Can't load 'blib/arch/auto/SGML/SPGroveBuilder/SPGroveBuilder.so' for module SGML::SPGroveBuilder: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file blib/arch/auto/SGML/SPGroveBuilder/SPGroveBuilder.so: symbol __1cG__CrunLvector_copy6Fpv1IIpF11_vpF1_v_v_: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
    The symbol '__1cG__CrunLvector_copy6Fpv1IIpF11_vpF1_v_v_' is contained in libCrun.so in the Forte installation. I have no idea what it is, or why I get the error.
    Sorry to be so long winded, but I wanted to give enough information so that I didnt get 'too many' easy to answer questions about the environment.
    'uname -snrvmapiX' for the system is:
    SunOS atlas 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60System = SunOS
    Node = atlas
    Release = 5.8
    KernelID = Generic_108528-13
    Machine = sun4u
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    Many thanks.
    Sean Timmins
    Systems Administrator

    Just to clarify, the I get the error during the 'make test' part of the normal perl module build process for installing the SGML::SPGroveBuilder module (perl Makefile.PL; make; make test; make install).
    Perl and SGML::SPGroveBuilder are both complied using Forte 6 update 2. The only difference being that perl (being normal C code) was compiled using the C compiler '/usr/local/SUNWspro/bin/cc' and the module requires the C++ complile '/usr/local/SUNWspro/bin/CC'.
    I have to make minor modifications to Makefile.PL before it will compile at all. These modifications are:
    1) Forcing the C++ compiler as perl will try to use exactly the same binary as was used to compile itself.
    2) Setting a few #define's so that the same ones are used to build the module as were used to build the sp library that is linked in with the module.
    3) Adding the various directories where both libsp.a (yes statically linked, no dynamic one in the sp distribution) and the required header files (all in the sp distribution) are located.
    I have since tried recompiling perl (with Forte 6 update 2) with no dynamicaly loaded libraries and get the same error. I have also found a tiny little patch to OpenSPv1.5pre5 (which is the replacement for the original sp distribution) which allowed me to compile eveything with gcc 3.1, perl, opensp (v1.5pre5) and SGML::SPGroveBuilder, and I get a very similar error at the same stage but a different symbol name.
    I am begining to think that its gone to far and there are too many branching oppertunities where I have made a mistake (I've really tried way way way too many combinations now), or that the SPGroveBuilder module simply has a probelm with the C++ code in it. It has not been updated in some time.
    I am going to try removing everything from the box and start from scratch, patch it to the hilt and try it from the beginning.
    Of course, any flashes of brilliance that come to mind would still be greatly appreciated :-)
    Sean Timmins
    Systems Administrator

  • C++ linking error Undefined symbols  AIX 5.3 xlC  bdb 4.7

    I am getting the following linking error while linking the MyCb example given in Berkley DB guide
    xlC -bnoquiet -o /ra2/frt_bld/TMPBIN/BDBtest \
    /ra2/frt_bld/TMPOBJ/DBAbs.o \
    /ra2/frt_bld/TMPOBJ/MyDb.o \
    /ra2/frt_bld/TMPOBJ/PPNum.o \
    /ra2/frt_bld/TMPOBJ/PPNumStore.o \
    /ra2/frt_bld/TMPOBJ/PPNumStoreDB.o \
    /ra2/frt_bld/TMPOBJ/UTDbtest.o \
    /ra2/frt_bld/TMPOBJ/UTPPNUm.o \
    -lC_r ../../../ACE_wrappers/ace/libACE.so -ldb_cxx -L../../../db-4.7.25/build_unix -L/usr/local/ssl -L/../../../ACE_wrappers/ace -lcrypto -lpthread -lz -lm -o /ra2/frt_bld/TMPBIN/BDBtest
    ld: 0711-318 ERROR: Undefined symbols were found.
    The following symbols are in error:
    Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object}
    RLD: Address Section Rld-type Referencing Symbol
    .Db::set_error_stream(std::basic_ostream<char,std::char_traits<char> >*) [1010] ER PR MyDb.cpp(/ra2/frt_bld/TMPOBJ/MyDb.o)
    00003b50 .text R_RBR [148] .MyDb::MyDb(std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)
    .Db::open(DbTxn*,const char*,const char*,DBTYPE,unsigned int,int) [1012] ER PR MyDb.cpp(/ra2/frt_bld/TMPOBJ/MyDb.o)
    00003b84 .text R_RBR [148] .MyDb::MyDb(std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)
    ER: The return code is 8.
    ld: 0711-317 ERROR: Undefined symbol: .Db::open(DbTxn*,const char*,const char*,DBTYPE,unsigned int,int)
    // File: MyDb.cpp
    #include "MyDb.h"
    #include <string>
    #include <iostream>
    // Class constructor. Requires a path to the location
    // where the database is located, and a database name
    MyDb::MyDb(std::string &path, std::string &dbName)
    : db_(NULL, 0), // Instantiate Db object
    dbFileName_(path + dbName), // Database file name
    cFlags_(DB_CREATE) // If the database doesn't yet exist,
    // allow it to be created.
    try
    // Redirect debugging information to std::cerr
    db_.set_error_stream( static_cast<std::ostream *>(&std::cerr) );
    // Open the database
    db_.open(NULL, dbFileName_.c_str(), NULL, DB_BTREE, cFlags_, 0);
    // DbException is not a subclass of std::exception, so we
    // need to catch them both.
    catch(DbException &e)
    std::cerr << "Error opening database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    catch(std::exception &e)
    std::cerr << "Error opening database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    //And then we need the implementation for the close() method:
    // Private member used to close a database. Called from the class
    // destructor.
    void
    MyDb::close()
    // Close the db
    try
    db_.close(0);
    std::cout << "Database " << dbFileName_
    << " is closed." << std::endl;
    catch(DbException &e)
    std::cerr << "Error closing database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    catch(std::exception &e)
    std::cerr << "Error closing database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    Thanks
    Anand Rathi
    Edited by: user10127683 on Jun 10, 2009 9:02 AM

    Hi Anand,
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/aix.html <-- check FAQ #4.
    Please use a "-D_LARGE_FILES=1" when building BDB on AIX.
    Let me know how it works.
    Thanks,
    Bogdan Coman

Maybe you are looking for