Shared object symbols, ( I'm used to VC++ )

Hi,
I'm realy new at programming for linux in c++. But I'm not a noobe in C++. I'm used to MS VS.
I tried to create shared objects with SunStudio12 and I'm was wandering if there is no "_declspec" for linux.
The second thing is, it seams that nearly every class und function is exported. I opened the compiled so file with an editor an I saw symbols of all my classes and functions. Is there a way to reduce unwanted symbols?
Thanks
Martin

ok, i understand. If I want to remove them I have to use an extra tool.
But it make for me no sense, why are they still there. I exported ("__symbolic" ) online one funktion for all other functions an objects I set "-xldscope=hidden". Why are they still in there. Nobady can use these informations like
9W�P        �=�]4��;)�7       �NameSpace::Class1 �i��T���шÓ^Th
       &#1311;)%&#65533;9&#65533;P"&#65533;k&#65533;&#65533;&#612;p       &#65533;&#65533;qL&#65533;<3&#65533;
9W&#65533;P       NameSpace::Class2 const NameSpace::Class3<NameSpace::Class1>*  &#65533;&#65533;&#65533;
&#65533;&#65533;&#65533;&#65533;&#65533;        &#65533;       &#65533;&#65533;&#65533;0O|CKA&#65533;^&#65533;+&#65533;*      NameSpace::Class3<NameSpace::Class1>*
     &#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;                &#65533;&#65533;&#65533;0O|CKA&#65533;^&#65533;+&#65533;*       &#65533;i&#65533;&#65533;T&#65533;&#65533;&#65533;&#1096;Ó^Th
       &#1311;)%&#65533;9&#65533;P"&#65533;k&#65533;&#65533;&#612;p       &#65533;&#65533;qL&#65533;<3&#65533;or should not be able to use it !
Martin

Similar Messages

  • About profiling a Shared Object

    Hi, I need to profile a shared object compiled with Gcc/G++ 3.2.
    I have sources for this shared object and can recompile it, but this DLL is executed by an executable of which i don't have sources and most of all I can't recompile it.
    How can I successfully profile my SO?
    I'm using on a "SunOS mxgf 5.8 Generic_117350-12 sun4us sparc FJSV,GPUZC-M" machine.
    Thanks,
    Ema.
    Message was edited by:
    Ema

    The Sun Studio performance tools support profiling gcc/g++
    compiled code. You don't need to have the a.out compiled for
    profiling. It will only affect whether or not you can see source-level
    data for the a.out, not what you can see for methods in the
    shared object. You must use the native libc.so, however.
    I would recommend the latest FCS of the Studio tools, Sun Studio 11.
    You will need to install patch 01, which is available now, or patch 02
    which will be released very soon, since there's a bug relating
    to demangling in the FCS version.
    Marty

  • Publish executable's symbols to a loaded shared object

    I am trying to load a shared object that should resolve some symbols inside the executable that loaded it:
    program A loads plugin.so which uses method "callback" that exists in program A
    When I try to load the .so I end up with an error:
    undefined symbol: __1cJBugEngineFipath2t6Mpkc_v_
    if I use nm "program" | grep __1cJBugEngineFipath2t6Mpkc_v_:
    0000000000416d20 T __1cJBugEngineFipath2t6Mpkc_v_
    On Linux with the GCC tools, I would normally use the option "-rdynamic":
    "When creating a dynamically linked executable, add all symbols to the dynamic symbol table. The dynamic symbol table is the set of symbols which are visible from dynamic objects at run time."
    but I have read that the linker for suncc automatically exports all symbols as a default.
    Any tip?

    Nope :( same symbol error.
    I also tried to use "dlopen(0, RTLD_NOLOAD|RTLD_GLOBAL)" to force symbols to be global in the executable, that didn't work.
    I can fortunately switch from a plugin-based build to a completely static executable (all plugins statically linked but the client code is exactly the same) but it would be much better to fix this issue on Linux.

  • How can i use the shared object already present in the system from java.

    explanation:
    Actually there are shared objects present in the jdk which is used by java itself.I want to know if i can use the methods in any library file(shared object) which is already present in the system.
    Or the question can be put this way how does the java call the native methods? (Can we do that explicitly) in our code.

    It isn't entirely clear what you mean by 'shared' objects and what the relationship with these shared objects and calling native code is.
    There are no shared objects in the Java language, only the java platform.
    The platform system properties are exposed via the System class (java.lang package).
    You are free to create your own shared objects by using static member access or some other mechanism.
    Your access to methods in any of the API's is dictated by the access type you have, normally public being the only completely open access allowing complete visibility.
    You can call native methods, thats what JNI is for. Calling native methods in classes other than your own is generally done using the API provided by the developer(s) of those classes.

  • Using Shared Object Libraries

    How (or what) do we set when using shared object libraries?
    We have Java Native Methods which are implemented using C++ and stored in shared object libraries. We can build our project, but when trying to execute the project, the shared object libraries are not found. We had tried to set the external execution settings to include the library paths, but nothing seems to take affect.
    What do we need to set to run with the shared object libraries?

    RK,
    I appreciate your responce, hopefully we'll get this worked out. I will try to give you as much information as I can so you will hopefully understand the problem.
    We have added a Library Reference to our project - which is a jar file - this jar file contains our Business Objects which are implemented in Java. Within this Library Reference, there is a Java class which has a Native method. The method is implemented in C++ The C++ implementation of this method is within a C++ shared object library (libname.so).
    How do we let Creator know that we need to link in this C++ Shared Object Library at run time?
    The Modifers Properties for the method in the library reference are correctly set - that is they are set to Native. For a method within a java element, selecting or un-selecting this modifier simply changes the method declaration. It does not tell Creator where the actual implementation is (shared object library in this case).
    As originally stated, we tried to include our shared object library in the Execution Property of the properties window for the Java Element. Here is what we have done so far - all unsuccessful....
    Under the External Execution Property - we added the environment variable LD_LIBRARY_PATH set to our shared object library path. We also selected the Append Environment Variable (set to true). We are not able to modify the Library Path of the External Execution Property - it will not allow changes - all buttons are disabled in the pop up window.
    There are no properties for the Internal Execution within the Executor Properties, so there is nothing we can set there.
    We have tried to set the Debugger Execution properties in the same manner as the External Execution properties to run the project in Debug mode - and have the same problem - while executing the project, we get the error message which indicates that our shared object library can not be found.
    There are no property settings available on the J2EE Server Execution Properties to set.
    What do we need to set so that this Shared Object Library will be located during execution of our project under SJSC?
    Thank you for any suggestions you may have.
    --Scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Using flash shared object to have a load animation play only once

    Hey all I have a swf on multiple pages, I onyl want it to
    play the load animation once, so I thought I would try the shared
    object to do this.
    //On frame 1 on my mc if it hasnt played the file below it
    should to gotoAndPlay frame 1 of my mc, logo_mc
    logoload = SharedObject.getLocal("logoload1");
    if (logoload.data.logoloadvar == undefined){
    _root.logo_mc.gotoAndStop(30);
    } else {
    _root.logo_mc.gotoAndPlay(1);
    stop();
    //at the end of my load animation frame 30 of logo_mc I am
    trying to tell the shared object that its has played, so I put
    something in it:
    stop();
    computer = System.capabilities.os;
    _root.logoload.data.logoloadvar = "logoseen";
    _root.logoload.flush();
    But it does not appear to be responding, what am I doing
    wrong there? Its the first time Ive used the object.
    Any help would be great.

    Wow. That is exactly what it was, thanks so much. Our IT guys are working on the problem now. Thanks again.

  • Use a Shared Object in a game to store pairs player_name - player

    If I want to use a Shared Object in a game for a local
    computer to store
    pairs player_name - player_score (a string and a number) what
    would be the
    best approach to push the data in and retrieve them out as a
    table?
    Flash Help says that the properties created in a SO can
    enumerated in a
    for..in loop - how do I use this?

    thank a lot
    "clbeech" <[email protected]>
    ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ
    × ÎÏ×ÏÓÔÑÈ
    ÓÌÅÄÕÀÝÅÅ:
    news:fvsrst$qkp$[email protected]..
    > I usually use an array and objects to store the pair or
    more stats, then
    store
    > the array in the SO. it goes something like this:
    >
    >
    > var so = SharedObject.getLocal('mygame', '/');
    > var scores = [ ];
    > for(var i=0; 1<10; i++) {
    > var obj = {n:' ', s:o};
    > scores.push(obj);
    > }
    >
    > function updateScores() {
    > if(so.data.highscores == undefined) {
    > so.data.highscores = scores;
    > }else{
    > scores = so.data.highscores;
    > }
    > }
    >
    > function saveScore() {
    > var obj = {n:name_ti.text, sc:playerScore}
    > scores.push(obj);
    > scores.sortOn('s', Array.NUMERIC | Array.DESCENDING);
    > if(scores.length>10) scores.pop();
    >
    > so.data.highscores = scores;
    > so.flush();
    > setScoreboard();
    > }
    >
    > function setScoreboard() {
    > updateScores();
    > scores.sortOn('s', Array.NUMERIC | Array.DESCENDING);
    > for(var i=1; i<scores.length+1; i++) {
    > this['name_'+i].text = scores
    .n;
    > this['score_'+i].text = scores.s;
    > }
    > }
    >
    > setScoreboard(); //initialize the board
    >
    > save_btn.onPress = function() {
    > saveScore(); //save the score input
    > }
    >

  • A query regarding synchronised functions, using shared object

    Hi all.
    I have this little query, regarding the functions that are synchronised, based on accessing the lock to the object, which is being used for synchronizing.
    Ok, I will clear myself with the following example :
    class First
    int a;
    static int b;
    public void func_one()
    synchronized((Integer) a)
    { // function logic
    } // End of func_one
    public void func_two()
    synchronized((Integer) b)
    { / function logic
    } // End of func_two
    public static void func_three()
    synchronized((Integer) a)
    { // function logic
    } // End of func_three, WHICH IS ACTUALLY NOT ALLOWED,
    // just written here for completeness.
    public static void func_four()
    synchronized((Integer) b)
    { / function logic
    } // End of func_four
    First obj1 = new First();
    First obj2 = new First();
    Note that the four functions are different on the following criteria :
    a) Whether the function is static or non-static.
    b) Whether the object on which synchronization is based is a static, or a non-static member of the class.
    Now, first my-thoughts; kindly correct me if I am wrong :
    a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisation, since in case obj1 and obj2 happen to call the func_one at the same time, obj1 will obtain lock for obj1.a; and obj2 will obtain lock to obj2.a; and both can go inside the supposed-to-be-synchronized-function-but-actually-is-not merrily.
    Kindly correct me I am wrong anywhere in the above.
    b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation.
    Kindly correct me I am wrong anywhere in the above.
    c) In case 3, we have a static function , synchronized on a non-static object. However, Java does not allow functions of this type, so we may safely move forward.
    d) In case 4, we have a static function, synchronized on a static object.
    Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation. But we are only partly done for this case.
    First, Kindly correct me I am wrong anywhere in the above.
    Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".
    Another query : so far we have been assuming that the only objects contending for the synchronized function are obj1, and obj2, in a single thread. Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.a; and again obj1 trying to obtain lock for obj1.a, which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed. Thus, effectively, our synchronisation is broken.
    Or am I being dumb ?
    Looking forward to replies..
    Ashutosh

    a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisationThere is no synchronization between distinct First objects, but that's what you specified. Apart from the coding bug noted below, there would be synchronization between different threads using the same instance of First.
    b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.obj1/2 don't call methods or try to obtain locks. The two different threads do that. And you mean First.b, not obj1.b and obj2.b, but see also below.
    d) In case 4, we have a static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.Again, obj1/2 don't call methods or try to obtain locks. The two different threads do that. And again, you mean First.b. obj1.b and obj2.b are the same as First.b. Does that make it clearer?
    Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".That's what happens in any case whether you write obj1.func_four(), obj2.func)four(), or First.func_four(). All these are identical when func_four(0 is static.
    Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.aNo we don't, we have a thread trying to obtain the lock on First.b.
    and again obj1 trying to obtain lock for obj1.aYou mean obj2 and First.b, but obj2 doesn't obtain the lock, the thread does.
    which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed.Of course it won't. Your reasoning here makes zero sense..Once First.b is locked it is locked. End of story.
    Thus, effectively, our synchronisation is broken.No it isn't. The second thread will wait on the same First.b object that the first thread has locked.
    However in any case you have a much bigger problem here. You're autoboxing your local 'int' variable to a possibly brand-new Integer object every call, so there may be no synchronization at all.
    You need:
    Object a = new Object();
    static Object b = new Object();

  • Exception handling is not working in GCC compile shared object

    Hello,
    I am facing very strange issue on Solaris x86_64 platform with C++ code compiled usging gcc.3.4.3.
    I have compiled shared object that load into web server process space while initialization. Whenever any exception generate in code base, it is not being caught by exception handler. Even though exception handlers are there. Same code is working fine since long time but on Solaris x86, Sparc arch, Linux platform
    With Dbx, I am getting following stack trace.
    Stack trace is
    dbx: internal error: reference through NULL pointer at line 973 in file symbol.cc
    [1] 0x11335(0x1, 0x1, 0x474e5543432b2b00, 0x59cb60, 0xfffffd7fffdff2b0, 0x11335), at 0x11335
    ---- hidden frames, use 'where -h' to see them all ----
    =>[4] __cxa_throw(obj = (nil), tinfo = (nil), dest = (nil), , line 75 in "eh_throw.cc"
    [5] OBWebGate_Authent(r = 0xfffffd7fff3fb300), line 86 in "apache.cpp"
    [6] ap_run_post_config(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x444624
    [7] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42c39a
    I am using following link options.
    Compile option is
    /usr/sfw/bin/g++ -c -I/scratch/ashishas/view_storage/build/coreid1014/palantir/apache22/solaris-x86_64/include -m64 -fPIC -D_REENTRANT -Wall -g -o apache.o apache.cpp
    Link option is
    /usr/sfw/bin/g++ -shared -m64 -o apache.so apache.o -lsocket -lnsl -ldl -lpthread -lthread
    At line 86, we are just throwing simple exception which have catch handlers in place. Also we do have catch(...) handler as well.
    Surpursing things are..same issue didn't observe if we make it as executable.
    Issue only comes if this is shared object loaded on webserver. If this is plain shared object, opened by anyother exe, it works fine.
    Can someone help me out. This is completly blocking issue for us. Using Solaris Sun Studio compiler is no option as of now.

    shared object that load into web server process space
    ... same issue didn't observe if we make it as executable.When you "inject" your shared object into some other process a well-being of your exception handling depends on that other process.
    Mechanics of x64 stack traversing (unwind) performed when you throw the exception is quite complicated,
    particularly involving a "nearly-standartized" Unwind interface (say, Unwind_RaiseException).
    When we are talking about g++ on Solaris there are two implementations of unwind interface, one in libc and one in libgcc_s.so.
    When you g++-compile the executable you get it directly linked with libgcc_s.so and Unwind stuff resolves into libgccs.
    When g++-compiled shared object is loaded into non-g++-compiled executable's process _Unwind calls are most likely already resolved into Solaris libc.
    Thats why you might see the difference.
    Now, what exactly causes this difference can vary, I can only speculate.
    All that would not be a problem if _Unwind interface was completely standartized and properly implemented.
    However there are two issues currently:
    * gcc (libstdc++ in particular) happens to use additional non-standard _Unwind calls which are not present in Solaris libc
    naturally, implementation details of Unwind implementation in libc differs to that of libgccs, so when all the standard _Unwind
    routines are resolved into Solaris version and one non-standard _Unwind routine is resolved into gcc version you get a problem
    (most likely that is what happens with you)
    * libc Unwind sometimes is unable to decipher the code generated by gcc.
    However that is likely to happen with modern gcc (say, 4.4+) and not that likely with 3.4.3
    Btw, you can check your call frame to see where _Unwind calls come from:
    where -h -lIf you indeed stomped on "mixed _Unwind" problem then the only chance for you is to play with linker
    so it binds Unwind stuff from your library directly into libgccs.
    Not tried it myself though.
    regards,
    __Fedor.

  • Building Shared Object for LabView

    All;
    I'm trying to build a C++-based shared object to be called from LabView and use SunCC instead of gcc. The compile stage looks like:danny@traveler:~/tubes/dielectric/rod_software/lookup> make -f Makefile.unix suncc=1
    sunCC -I/usr/local/lv71/cintools -I/home/danny/src/NR_C301/code -c -KPIC -m32 -Di686 lookup.cc
    "/home/danny/src/NR_C301/code/interp_1d.h", line 183: Warning: n hides Base_interp::n.
    "/home/danny/src/NR_C301/code/mins_ndim.h", line 103: Warning: n hides Linemethod<extern "C" double(const NRvector<double>&)>::n.
    "lookup.cc", line 176:     Where: While instantiating "Powell<extern "C" double(const NRvector<double>&)>::minimize(const NRvector<double>&)".
    "lookup.cc", line 176:     Where: Instantiated from non-template code.
    2 Warning(s) detected.and the load stage fails like this:sunCC -G -m32 -o lookup.so lookup.o /usr/local/lv71/AppLibs/liblvrt.so.7.1 /usr/lib/libGL.so /usr/lib/libOSMesa.so.6
    /opt/sun/sunstudio12/prod/lib/crtn.o:(.text+0x0): multiple definition of `_etext'
    make: *** [lookup.so] Error 1Is my problem obvious? Is there a simple example on how to build SOs? I found the switch definitions in the Sun documentation, but no good examples yet.
    ...Dan

    If your library links to other shared libraries, use -L options to point to directories other than system directories, and the -l option for the library name after "lib".
    When building shared libraries, you also need to list all system libraries explicity, unfortunately, to ensure your library has the right dependencies.
    You should also add -zdefs to force the linker to complain about unresolved symbols. The default when building shared libraries is not to warn about them.
    You want to be sure you have included all the needed libraries in the link.
    Your link command should look like this :
    sunCC -G -m32 -o lookup.so lookup.o -zdefs \
      -L /usr/local/lv71/AppLibs -llvrt.so.7.1 -lGL.so -lOSMesa.so.6 -lCstd -lCrun -lm -lcYou don't need a -L option for /usr/lib or the directories in the Sun Studio installation. The CC driver knows where to find system libraries.
    That said, I don't think the command line issues are the cause of the multiple definition error.
    Binaries created by Sun C++ are not compatible with binaries created by other C++ compilers like g++. Is liblvrt.so.7.1 a g++ library?

  • OpenCV, cannot build package, 'a local symbol cannot be used'

    Hi
    I'm tryin to build the OpenCV package from AUR.
    http://aur.archlinux.org/packages.php?ID=1747
    But i doesn't compile:
    g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/crtbeginS.o .libs/dummy.o -Wl,--whole-archive./.libs/lib_highgui.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src/.libs -Wl,--rpath -Wl,/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cv/src/.libs ../../cxcore/src/.libs/libcxcore.so ../../cv/src/.libs/libcv.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo-lpango-1.0 -lfreetype -lfontconfig -lgdk_pixbuf-2.0 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lgstbase-0.10 -lpng12 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a -lz -ltiff -ljasper -lpthread -ldl -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/crtn.o -msse2 -march=x86-64 -mtune=generic -pthread -pthread -Wl,-soname -Wl,libhighgui.so.2 -o .libs/libhighgui.so.2.0.0
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a(jcapimin.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    Any ideas on this?
    i tried both backends, gstreamer and ffmpeg.

    After i searched a bit, i found out that they suggest with linking errors to do a "autoreconfig" and a "make distclean". When i try that, i get:
    make[3]: Entering directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src'
    /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../..  -DNDEBUG  -Wall -fno-rtti -pipe -O3 -g  -msse2   -MT cxalloc.lo -MD -MP -MF .deps/cxalloc.Tpo -c -o cxalloc.lo cxalloc.cpp
    ../../libtool: line 847: X--tag=CXX: command not found
    ../../libtool: line 880: libtool: ignoring unknown tag : command not found
    ../../libtool: line 847: X--mode=compile: command not found
    ../../libtool: line 1014: *** Warning: inferring the mode of operation is deprecated.: command not found
    ../../libtool: line 1015: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
    ../../libtool: line 1158: Xg++: command not found
    ../../libtool: line 1158: X-DHAVE_CONFIG_H: command not found
    ../../libtool: line 1158: X-I.: command not found
    ../../libtool: line 1158: X-I../..: No such file or directory
    ../../libtool: line 1158: X-I.: command not found
    ../../libtool: line 1158: X-I../../cxcore/include: No such file or directory
    ../../libtool: line 1158: X-I../..: No such file or directory
    ../../libtool: line 1158: X-DNDEBUG: command not found
    ../../libtool: line 1158: X-Wall: command not found
    ../../libtool: line 1158: X-fno-rtti: command not found
    ../../libtool: line 1158: X-pipe: command not found
    ../../libtool: line 1158: X-O3: command not found
    ../../libtool: line 1158: X-g: command not found
    ../../libtool: line 1158: X-msse2: command not found
    ../../libtool: line 1158: X-MT: command not found
    ../../libtool: line 1158: Xcxalloc.lo: command not found
    ../../libtool: line 1158: X-MD: command not found
    ../../libtool: line 1158: X-MP: command not found
    ../../libtool: line 1158: X-MF: command not found
    ../../libtool: line 1158: X.deps/cxalloc.Tpo: No such file or directory
    ../../libtool: line 1158: X-c: command not found
    ../../libtool: line 1211: Xcxalloc.lo: command not found
    ../../libtool: line 1216: libtool: compile: cannot determine name of library object from `': command not found
    make[3]: *** [cxalloc.lo] Error 1
    make[3]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0'
    make: *** [all] Error 2

  • How to Get property values from Shared Object in client's load event - Very urgent

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

  • Calling shared objects in unix from Forms 6i and 10g

    I would like to know how to call shared objects in unix from Froms 6i and 10g. Can anybody help in this regard? Your help is very well appreciated.

    Hi,
    Do you have any 11i instance where those custom forms are used? If yes, you will have to copy those forms from 11i to R12 instance, open the forms using Forms 10g builder, compile it and upload it back to the server.
    Note: 427879.1 - How To Customize And Compile An Application Seeded Form (FMB) Or Library (PLL)?
    Note: 743490.1 - Customization in Oracle Applications
    Note: 563258.1 - How To Upgrade 11i Custom Forms And Reports To R12
    Regards,
    Hussein

  • Error 0(Native: listNetInterfaces:[3]) and error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    Hi Gurus,
    I'm trying to upgrade my test 9.2.0.8 rac to 10.1 rac. I cannot upgrade to 10.2 because of RAM limitations on my test RAC. 10.1 Clusterware software was successfully installed and the daemons are up with OCR and voting disk created. Then during the installation of RAC software at the end, root.sh needs to be run. When I run root.sh, it gave the error: while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory. I have libpthread.so.0 in /lib. I looked up on metalink and found Doc ID: 414163.1 . I unset the LD_ASSUME_KERNEL in vipca (unsetting of LD_ASSUME_KERNEL was not required in srvctl because there was no LD_ASSUME_KERNEL in srvctl). Then I tried to run vipca manually. I receive the following error: Error 0(Native: listNetInterfaces:[3]). I'm able to see xclock and xeyes. So its not a problem with x.
    OS: OEL5 32 bit
    oifcfg iflist
    eth0 192.168.2.0
    eth1 10.0.0.0
    oifcfg getif
    eth1 10.0.0.0 global cluster_interconnect
    eth1 10.1.1.0 global cluster_interconnect
    eth0 192.168.2.0 global public
    cat /etc/hosts
    192.168.2.3 sunny1pub.ezhome.com sunny1pub
    192.168.2.4 sunny2pub.ezhome.com sunny2pub
    192.168.2.33 sunny1vip.ezhome.com sunny1vip
    192.168.2.44 sunny2vip.ezhome.com sunny2vip
    10.1.1.1 sunny1prv.ezhome.com sunny1prv
    10.1.1.2 sunny2prv.ezhome.com sunny2prv
    My questions are:
    should ping on sunny1vip and sunny2vip be already working? As of now they dont work.
    if you look at oifcfg getif, I initially had eth1 10.0.0.0 global cluster_interconnect,eth0 192.168.2.0 global public then I created eth1 10.1.1.0 global cluster_interconnect with setif. Should it be 10.1.1.0 or 10.0.0.0. I looked at the subnet calculator and it says for 10.1.1.1, 10.0.0.0 is the subnet. In metalink they had used 10.10.10.0 and hence I used 10.1.1.0
    Any ideas on resolving this issue would be very much appreciated. I had been searching on oracle forums, google, metalink but all of them refer to DOC Id 414163.1 but it does n't seem to work. Please help. Thanks in advance.
    Edited by: ayyappa on Aug 20, 2009 10:13 AM
    Edited by: ayyappa on Aug 20, 2009 10:14 AM
    Edited by: ayyappa on Aug 20, 2009 10:15 AM

    a step forward towards resolution but i need some help from the gurus.
    root# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.2.3 sunny1pub.ezhome.com sunny1pub
    192.168.2.4 sunny2pub.ezhome.com sunny2pub
    10.1.1.1 sunny1prv.ezhome.com sunny1prv
    10.1.1.2 sunny2prv.ezhome.com sunny2prv
    192.168.2.33 sunny1vip.ezhome.com sunny1vip
    192.168.2.44 sunny2vip.ezhome.com sunny2vip
    root# /u01/app/oracle/product/crs/bin/oifcfg iflist
    eth1 10.0.0.0
    eth0 192.168.2.0
    root# /u01/app/oracle/product/crs/bin/oifcfg getif
    eth1 10.0.0.0 global cluster_interconnect
    eth0 191.168.2.0 global public
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    ****ORACLE_HOME environment variable not set!
    ORACLE_HOME should be set to the main directory that contain oracle products. set and export ORACLE_HOME, then re-run.
    root# export ORACLE_BASE=/u01/app/oracle
    root# export ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    root# export ORA_CRS_HOME=/u01/app/oracle/product/crs
    root# export PATH=$PATH:$ORACLE_HOME/bin
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    VIP does not exist.
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny1pub -o $ORACLE_HOME -A 192.168.2.33/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny2pub -o $ORACLE_HOME -A 192.168.2.44/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
    VIP exists.: sunny1vip.ezhome.com/192.168.2.33/255.255.255.0
    root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny2pub -a
    VIP exists.: sunny2vip.ezhome.com/192.168.2.44/255.255.255.0
    Once I execute the add nodeapps command as root on node 1, I was able to get vip exists for config nodeapps on node 2. The above 2 statements resulted me with same values on both nodes. After this I executed root.sh on both nodes, I did not receive any errors. It said CRS resources are already configured.
    My questions to the gurus are as follows:
    Should ping on vip work? It does not work now.
    srvctl status nodeapps -n sunny1pub(same result for sunny2pub)
    VIP is not running on node: sunny1pub
    GSD is not running on node: sunny1pub
    PRKO-2016 : Error in checking condition of listener on node: sunny1pub
    ONS daemon is not running on node: sunny1pub
    [root@sunny1pub ~]# /u01/app/oracle/product/crs/bin/crs_stat -t
    Name Type Target State Host
    ora....pub.gsd application OFFLINE OFFLINE
    ora....pub.ons application OFFLINE OFFLINE
    ora....pub.vip application OFFLINE OFFLINE
    ora....pub.gsd application OFFLINE OFFLINE
    ora....pub.ons application OFFLINE OFFLINE
    ora....pub.vip application OFFLINE OFFLINE
    Will crs_stat and srvctl status nodeapps -n sunny1pub work after I upgrade my database or should they be working now already? I just choose to install 10.1.0.3 software and after running root.sh on both nodes, I clicked ok and then the End of installation screen appeared. Under installed products, I see 9i home, 10g home, crs home. Under 10g home and crs home, I see cluster nodes(sunny1pub and sunny2pub) So it looks like the 10g software is installed.

  • Error while loading shared libraries: libdl.so.2: cannot open shared object

    I got the error when I run the Identity server "./start_ois_server"
    Using Linux Threading Library.
    /opt/netpoint/identity/oblix/apps/common/bin/ois_server: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    OIS Server started with pid: 11241
    [root@EX4200SRV02 bin]# /bin/sh: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    Can someone help me resolving this issue?
    thanks. Your help is very much appreciated.
    thanks.

    I resolved the issue by commenting "LD" in start_ois_server.

Maybe you are looking for

  • Macbook Pro 15 inch Crashes

    I've been having an issue with my Macbook Pro which started possibly two weeks before April 21st. My computer screen went black while I was in the process of using it. The fans were still going, I pressed a button to see if it were asleep but nothing

  • Creative cloud existing customer offer question

    Hey there, Just wondering, if I subscribe to creative cloud using the existing customer discount offer, will I still be able to use my existing CS5, or will that serial number no longer be valid? Thanks! Ian

  • Virtual keyboard auto starts in Windows 8.1 Pro

    Even if the toolbar is turned off and the toolbar is locked, and under ease of use the checkbox is unchecked, this pesky icon keeps coming back. Is there a registry fix... users are complaining. thx! Jiggy Gaton, Trainer and Media Consultant for Nepa

  • Indesign crashing when I try to change document set up to facing pages

    I am working in a 14 page file with 2 different master pages. The file opens like normal and I am able to edit etc. If I try to change the document to be facing pages the document crashes. Does anyone know why this is? I have already tried to copy th

  • Error programmatically deploying shared variable lvlib from an installed app

    I'm using shared variables in my app.  According to what I've read, I need to deploy the lib programmatically using the app invoke node deploy library.  I do this and it works fine for the app exe on my machine.  But then I created an installer and t