Libboost_python.so has tons of undefined symbols

I've been trying to get Luxrender to work with Blender 2.63. The pylux.so module never loaded for some reason, so I traced the problem back to the libboost_python.so file and it seems to be throwing a ton of undefined symbol errors, all of them mentioning Python:
blender ~ $ ldd -r /usr/lib/libboost_python.so
linux-vdso.so.1 => (0x00007fffa14a8000)
libutil.so.1 => /lib/libutil.so.1 (0x00007fd6c993c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd6c9720000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fd6c951b000)
librt.so.1 => /lib/librt.so.1 (0x00007fd6c9313000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fd6c900f000)
libm.so.6 => /lib/libm.so.6 (0x00007fd6c8d19000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fd6c8b04000)
libc.so.6 => /lib/libc.so.6 (0x00007fd6c8763000)
/lib/ld-linux-x86-64.so.2 (0x00007fd6c9dc3000)
undefined symbol: PyExc_ImportError (/usr/lib/libboost_python.so)
undefined symbol: PyProperty_Type (/usr/lib/libboost_python.so)
undefined symbol: PyExc_StopIteration (/usr/lib/libboost_python.so)
undefined symbol: PyBool_Type (/usr/lib/libboost_python.so)
undefined symbol: PyClass_Type (/usr/lib/libboost_python.so)
undefined symbol: PyExc_ValueError (/usr/lib/libboost_python.so)
undefined symbol: PyList_Type (/usr/lib/libboost_python.so)
undefined symbol: _Py_NotImplementedStruct (/usr/lib/libboost_python.so)
undefined symbol: PyExc_TypeError (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Type (/usr/lib/libboost_python.so)
undefined symbol: PyInt_Type (/usr/lib/libboost_python.so)
undefined symbol: PyComplex_Type (/usr/lib/libboost_python.so)
undefined symbol: PyExc_ReferenceError (/usr/lib/libboost_python.so)
undefined symbol: PyModule_Type (/usr/lib/libboost_python.so)
undefined symbol: PyBaseObject_Type (/usr/lib/libboost_python.so)
undefined symbol: PyFloat_Type (/usr/lib/libboost_python.so)
undefined symbol: PyExc_IndexError (/usr/lib/libboost_python.so)
undefined symbol: PyUnicode_Type (/usr/lib/libboost_python.so)
undefined symbol: PyTuple_Type (/usr/lib/libboost_python.so)
undefined symbol: PyExc_RuntimeError (/usr/lib/libboost_python.so)
undefined symbol: PyType_Type (/usr/lib/libboost_python.so)
undefined symbol: PyMethod_Type (/usr/lib/libboost_python.so)
undefined symbol: PyStaticMethod_Type (/usr/lib/libboost_python.so)
undefined symbol: PyLong_Type (/usr/lib/libboost_python.so)
undefined symbol: _Py_NoneStruct (/usr/lib/libboost_python.so)
undefined symbol: PyExc_OverflowError (/usr/lib/libboost_python.so)
undefined symbol: PyExc_AttributeError (/usr/lib/libboost_python.so)
undefined symbol: PyCFunction_Type (/usr/lib/libboost_python.so)
undefined symbol: PyString_Type (/usr/lib/libboost_python.so)
undefined symbol: PyType_GenericAlloc (/usr/lib/libboost_python.so)
undefined symbol: PyList_Insert (/usr/lib/libboost_python.so)
undefined symbol: PyString_InternFromString (/usr/lib/libboost_python.so)
undefined symbol: PyString_AsString (/usr/lib/libboost_python.so)
undefined symbol: PyUnicodeUCS4_FromEncodedObject (/usr/lib/libboost_python.so)
undefined symbol: PyImport_Import (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceRshift (/usr/lib/libboost_python.so)
undefined symbol: PyObject_CallMethod (/usr/lib/libboost_python.so)
undefined symbol: PyIter_Next (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Remainder (/usr/lib/libboost_python.so)
undefined symbol: Py_InitModule4_64 (/usr/lib/libboost_python.so)
undefined symbol: PyType_Ready (/usr/lib/libboost_python.so)
undefined symbol: _PyEval_SliceIndex (/usr/lib/libboost_python.so)
undefined symbol: PyFile_AsFile (/usr/lib/libboost_python.so)
undefined symbol: PyLong_FromUnsignedLong (/usr/lib/libboost_python.so)
undefined symbol: PyMem_Free (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceXor (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceOr (/usr/lib/libboost_python.so)
undefined symbol: PyBool_FromLong (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Items (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceRemainder (/usr/lib/libboost_python.so)
undefined symbol: PyErr_NoMemory (/usr/lib/libboost_python.so)
undefined symbol: PyComplex_ImagAsDouble (/usr/lib/libboost_python.so)
undefined symbol: PyObject_IsTrue (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Lshift (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceMultiply (/usr/lib/libboost_python.so)
undefined symbol: _PyObject_New (/usr/lib/libboost_python.so)
undefined symbol: PyObject_GetItem (/usr/lib/libboost_python.so)
undefined symbol: PyString_FromStringAndSize (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceLshift (/usr/lib/libboost_python.so)
undefined symbol: PyString_Size (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Update (/usr/lib/libboost_python.so)
undefined symbol: PyComplex_RealAsDouble (/usr/lib/libboost_python.so)
undefined symbol: PyErr_Format (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_And (/usr/lib/libboost_python.so)
undefined symbol: PyUnicodeUCS4_AsWideChar (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceAdd (/usr/lib/libboost_python.so)
undefined symbol: PyObject_GetAttr (/usr/lib/libboost_python.so)
undefined symbol: PyErr_ExceptionMatches (/usr/lib/libboost_python.so)
undefined symbol: PyErr_Occurred (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Copy (/usr/lib/libboost_python.so)
undefined symbol: PyArg_ParseTupleAndKeywords (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Divide (/usr/lib/libboost_python.so)
undefined symbol: PyEval_GetGlobals (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Keys (/usr/lib/libboost_python.so)
undefined symbol: PyErr_SetObject (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Multiply (/usr/lib/libboost_python.so)
undefined symbol: PyRun_FileExFlags (/usr/lib/libboost_python.so)
undefined symbol: PyObject_Size (/usr/lib/libboost_python.so)
undefined symbol: PyString_FromString (/usr/lib/libboost_python.so)
undefined symbol: PyString_FromFormat (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceAnd (/usr/lib/libboost_python.so)
undefined symbol: PyInt_FromLong (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Size (/usr/lib/libboost_python.so)
undefined symbol: PyDict_GetItem (/usr/lib/libboost_python.so)
undefined symbol: PyObject_SetItem (/usr/lib/libboost_python.so)
undefined symbol: PyInt_AsLong (/usr/lib/libboost_python.so)
undefined symbol: PyObject_RichCompare (/usr/lib/libboost_python.so)
undefined symbol: PyCFunction_NewEx (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Values (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Rshift (/usr/lib/libboost_python.so)
undefined symbol: PyStaticMethod_New (/usr/lib/libboost_python.so)
undefined symbol: PyType_IsSubtype (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Add (/usr/lib/libboost_python.so)
undefined symbol: PyList_Sort (/usr/lib/libboost_python.so)
undefined symbol: PySequence_DelSlice (/usr/lib/libboost_python.so)
undefined symbol: PyErr_WarnEx (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Xor (/usr/lib/libboost_python.so)
undefined symbol: PyObject_ClearWeakRefs (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Subtract (/usr/lib/libboost_python.so)
undefined symbol: PySlice_New (/usr/lib/libboost_python.so)
undefined symbol: PyObject_GetAttrString (/usr/lib/libboost_python.so)
undefined symbol: PyObject_IsInstance (/usr/lib/libboost_python.so)
undefined symbol: PyRun_StringFlags (/usr/lib/libboost_python.so)
undefined symbol: PyObject_SetAttrString (/usr/lib/libboost_python.so)
undefined symbol: PyWeakref_NewRef (/usr/lib/libboost_python.so)
undefined symbol: PyErr_NewException (/usr/lib/libboost_python.so)
undefined symbol: PyList_Append (/usr/lib/libboost_python.so)
undefined symbol: PyObject_SetAttr (/usr/lib/libboost_python.so)
undefined symbol: PyDict_GetItemString (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceDivide (/usr/lib/libboost_python.so)
undefined symbol: PyLong_AsLongLong (/usr/lib/libboost_python.so)
undefined symbol: PyLong_AsUnsignedLongLong (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_Or (/usr/lib/libboost_python.so)
undefined symbol: PyObject_DelItem (/usr/lib/libboost_python.so)
undefined symbol: PyNumber_InPlaceSubtract (/usr/lib/libboost_python.so)
undefined symbol: PyMethod_New (/usr/lib/libboost_python.so)
undefined symbol: PyEval_CallFunction (/usr/lib/libboost_python.so)
undefined symbol: PySequence_GetSlice (/usr/lib/libboost_python.so)
undefined symbol: PyTuple_Size (/usr/lib/libboost_python.so)
undefined symbol: PyImport_ImportModule (/usr/lib/libboost_python.so)
undefined symbol: PyErr_Clear (/usr/lib/libboost_python.so)
undefined symbol: PyTuple_New (/usr/lib/libboost_python.so)
undefined symbol: PyTuple_GetItem (/usr/lib/libboost_python.so)
undefined symbol: PyErr_SetString (/usr/lib/libboost_python.so)
undefined symbol: PyObject_CallFunction (/usr/lib/libboost_python.so)
undefined symbol: PyList_Reverse (/usr/lib/libboost_python.so)
undefined symbol: PyFile_FromString (/usr/lib/libboost_python.so)
undefined symbol: _PyType_Lookup (/usr/lib/libboost_python.so)
undefined symbol: PyList_New (/usr/lib/libboost_python.so)
undefined symbol: PyMem_Malloc (/usr/lib/libboost_python.so)
undefined symbol: PyCallable_Check (/usr/lib/libboost_python.so)
undefined symbol: PyDict_Clear (/usr/lib/libboost_python.so)
undefined symbol: PySequence_SetSlice (/usr/lib/libboost_python.so)
undefined symbol: PyLong_AsUnsignedLong (/usr/lib/libboost_python.so)
undefined symbol: PyDict_New (/usr/lib/libboost_python.so)
I'm not entirely sure what the problem is. There was a bug report filed for the exact same problem a few years ago and it was taken upstream to the boost developers (and later fixed), but I can't understand how the problem was actually solved except for a single patch.
Does anyone know what these errors mean and what I can do to fix things?

@sand_man about vegastrike-svn, i remember i've look at it at some point and a discussion was in arch-general about it. that application has multiple versions of boost.
http://permalink.gmane.org/gmane.linux. … eral/32489
also i think that  vegastrike-svn building system needs to add a proper flag for linking, like passing -lpython2.7 or -lpython3, depending of what is using
Last edited by wonder (2011-03-04 10:00:14)

Similar Messages

  • Missing prototype and Undefined Symbol errors

    So, I am using an Opal Keyy XEM3005 board.
    Depending on the documentation I read, this board has a native ANSI C interface with a C++ wrapper.
    In their forums, they say to rename the ".cpp" file to "c", and then go forward with calling the default constructor & keep track of the pointer.  Their functions are all in an externally loadable DLL.
    Well and good.
    Their API documentatin is available here:  http://www.opalkelly.com/library/FrontPanelAPI/
    I have written a REALLY simple app to ease my way in - it does nothing more than allow the user to throw a switch, and when this happens, it goes off to connect to the board:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #include <cvirte.h>
    #include <userint.h>
    #include "Try1.h"
    #include "XEM.h"
    #define _WIN32_WINNT 0x0501
    //#define _WIN32
    #include <windows.h>
    static int panelHandle;
    static okFrontPanel_HANDLE    XEM_Device;
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
    LPSTR lpszCmdLine, int nCmdShow)
    if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1;    /* out of memory */
    if ((panelHandle = LoadPanel (0, "Try1.uir", PANEL)) < 0)
            return -1;
        DisplayPanel (panelHandle);
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
    int CVICALLBACK Connect (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        int    Value = 0;
        switch (event)
            case EVENT_COMMIT:
                GetCtrlVal(PANEL, PANEL_CONNECT_SWITCH, &Value);
                SetCtrlVal(PANEL, PANEL_CONNECT_LED, Value);
                if( Value )
                    XEM_Connect(XEM_Device);
                else
                    XEM_Disconnect(XEM_Device);
                break;
        return 0;
    int CVICALLBACK Quit (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                QuitUserInterface (0);
                break;
        return 0;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This, of course, works fine by itself (with empty _Connect() and _Disconnect() functions)
    I then started working with the XEM_Connect function.
    The first step is to run their LoadDLL function as such:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        return XEM_SUCCESS;
    And this would compile and run just fine.
    Now, when I added the functions to start trying to get info about the device, I started getting "missing prototype" errors.
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now, I searched the forums and found the bits about adding #define _WIN32_WINNT 0x0501 prior to inclusion of windows.h.  Did that.  No joy.
    Then I searched some more and found the bit about changing the build options to uncheck the "prototype required" flag.
    Done.
    This seemed to work at first (the above code could be built with no errors, and appeared to run).
    So I thought maybe I had it, and added the next line, so:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
        OpenBySerial( XEM_Device, "UaLgzvVpBJ" );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now it doesn't complain about no prototypes (duh), but instead I get linker errors:
        Undefined symbol '_OpenBySerial@0' referenced in "XEM.c".
    So, dredging through the .h and .c files, I found a couple of things:
    in the okFrontPanel.c file I found the following:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY
    okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial)
        if (_okFrontPanel_OpenBySerial)
    ;  return((*_okFrontPanel_OpenBySerial)(hnd, serial));
        return(ok_UnsupportedFeature);
    In the okFrontPanel.h file I found:
    and also:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial);
    So, I see them in the .h & .c files, but the linker is bombing out.
    I smell a problem with actual code to link being in the DLL...  How do I resolve this, any ideas?  Or am I doing something so stupidly (and obviously) wrong that I'm being blinded to it?

    Hi tomii,
    My suspicion is that these issues are due to using a C++ dll in a C environment. There are inherent challenges with performing such an operation as you have to make sure all your parameters and settings are correct.
    I also could not find the documentation that the Opal Kelly dll is ANSI C but it sounds like you can use this in C with some reconfiguration. I would recommend using their forums to get more information on what steps need to take place to get things working in ANSI C.
    From the information you provided, I did find some resources on the missing prototype error and undefined symbol issue with the linker.
    For the missing prototype I found a thread of someone actually using LabWindows and seeing this compiler error you may want to look at
    http://bytes.com/topic/c/answers/695019-missing-prototype
    I found a few cases where using a function definition of int func(void) removes such issue when int func() does not.
    Another link I found that may be worth a look can be found at http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
    It gives some good pointers to mixing C and C++ code. Some of it may be applicible in your case.
    And, a resource for your undefined symbol linking issue.
    http://www.cprogramming.com/tutorial/compiler_linker_errors.html
    Hopefully these resources will give some context for getting things compiling and working with your dll.
    Good luck!
    James W.
    Applications Engineer
    National Instruments

  • SunStudio 11 cannot link libtiff in Solaris 10 (undefined symbol)

    Hello
    we are producing a software using multiple external libraries, among them Sam Leffler's TIFF library version 3.6.1
    This software compiles and runs well on Solaris 9 / SunStudio 11
    But in Solaris 10 / SunStudio we get an 'undefined symbol' error even if the symbol exists!!
    I have patched the OS and SunStudio to the latest level required but it's no help
    the linker error message is:
    CC -compat=4 -I../AGR -I../STA -I../SVI -I../KRN -I../COMMON_APAS -I../CXML -I../SCS -I. -I../INCLUDE -I../AFC -I../ITI -I../IEM -I../MMF -I../MMI -I../ICS -I../EIV -I../TSF -I../TTM -I../TIM -I../MIR -I../INA -I../INX -I../DEC -I../MAR -I../IXA -I../MXR -I../ICO -I../JPEG -I../LTIFF -I../OVS -I../UTIL -I../TRE -I../IRE -I../INR -I../IST -I../IXR -I/opt/SUNWspro/prod/include/CC -I/usr/include -g0 -libmil -xtarget=native -mt -xildoff -keeptmp -verbose=%all -L/usr/lib -L/usr/local/lib -LFPCSolaris10 -L../lib/FPCSolaris10 -L/opt/SUNWspro/prod/lib/rw7/CC4 -L/opt/SUNWspro/lib -L/usr/X11R6/lib -o FPCSolaris10/MainItls_ils FPCSolaris10/MainItls_ils.o FPCSolaris10/MAIN_Module_ils.o -lICS -lEIV -lMIR -lINA -lDEC -lMAR -lICO -lMXR -lIXA -lOVS -lUtil -ltiff -lSVIils -lSTAils -lKRN -lSCS -lITIils -lIEMils -lAGR -lMMF -lAFC -lMMI -lCXML -lcommon_apas -Bstatic -lrwtool -Bdynamic -lnsl -lposix4 -lsocket -lxnet -ldl -lgen -lcurses -lXm -lXt -lX11 -lxml2
    ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.489
    ld: warning: symbol `clog' has differing types:
    (file /opt/SUNWspro/lib/CC4/libC.so type=OBJT; file /usr/lib/libm.so type=FUNC);
    /opt/SUNWspro/lib/CC4/libC.so definition taken
    Undefined first referenced
    symbol in file
    TIFFOpenMem ../lib/FPCSolaris10/libIXA.a(IXA_ImageManager.o)
    ld: fatal: Symbol referencing errors. No output written to FPCSolaris10/MainItls_ils
    gmake[1]: *** [FPCSolaris10/MainItls_ils] Error 1
    But if I analyse the libraries used the missing symbol is actually there:
    nm -g ../lib/FPCSolaris10/libtiff.a
    ../lib/FPCSolaris10/libtiff.a[tif_msrc.o]:
    [Index] Value Size Type Bind Other Shndx Name
    [26] | 0| 0|FUNC |GLOB |0 |UNDEF |TIFFClientOpen
    [22] | 0| 0|FUNC |GLOB |0 |UNDEF |TIFFError
    [24] | 416| 161|FUNC |GLOB |0 |2 |TIFFOpenMem
    [23] | 0| 0|FUNC |GLOB |0 |UNDEF |free
    [25] | 0| 0|FUNC |GLOB |0 |UNDEF |malloc
    [21] | 0| 0|FUNC |GLOB |0 |UNDEF |memcpy
    Does anybody have an idea of what's wrong ?
    Thank you for your help!

    The libraries are probably being linked in the wrong order.
    Libraries are processed in the order seen on the link command. When the linker sees an archive library (.a), it pulls in any .o files from it that can satisfy existing undefined references. Suppose libA needs f1 from library libtiff, but -lA appears on the command line after -ltiff. The reference will not be resolved.
    Move the -ltiff option to a spot later on the command line, after all libraries that use libtiff, but before any libraries that libtiff uses. If libraries have circular references (A uses B which uses A), leave -ltiff where it is, but add another one later on the command line. The library will be searched twice.
    Another option is to build libtiff as a shared library (.so). The position on the link command line of a shared library is less sensitive, and references to it from later files can still be resolved. You don't list a shared library twice.
    An unrelated question: Why are you using the -compat=4 option? That option is provided to allow linking code that was compiled by C++ 4.2 (shipped in 1996), or compiling code that predates the 1998 C++ Standard.
    You usually cannot mix -compat=4 binaries with standard-mode binaries, you can't use the C++ standard library in -compat=4 mode, and code using C++ features introduced after the ARM (1991) won't compile in -compat=4 mode. Unless you are stuck with 10-year-old binaries built with C++ 4.2, it is best to recompile all your code in default standard mode (without -compat=4).
    The C++ Migration Guide explains all the issues involved in converting code from old-style to standard C++.
    [http://docs.sun.com/app/docs/doc/819-3689|http://docs.sun.com/app/docs/doc/819-3689]

  • Undefined symbol: nzdacvalue on Admin Tool

    I had a real sweet setup: 64 bit Red Hat Enterprise Server 5.1 running Oracle 11g 11.1.0.6.0 - 64 bit.
    OBIEE server on the same machine, 10.1.3.4.0 (both the analytic server and the presentation server)
    I was doing development on a local Windows machine using the BI Admin tool. Everything was going along swimmingly.
    Until I patched the Oracle 11g instance from 11.1.0.6 to 11.1.0.7.
    Now in the OBIEE Admin tool, if I try to connect to tables in the patched 11g instance using the same connection pool (either OCI 10g/11g, or ODBC 3.5)
    to say, update the row count (using the Admin tool in online mode) I get an error:
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement.
    $ORACLE_HOME/lib32/libnnz11.so: undefined symbol: nzdacvalue
    [nQSError: 46029] Failed to load the DLL $OBIEE_HOME/server/binlibnqsdbgatewayoci10g.so Check if 'Oracle OCI 10G' database client is installed.
    This looks like a 64-bit / 32-bit library conflict. Anyone else seen this?
    I can connect to the 11g data source, even import tables from it. I can't update the row counts. I get the above error.
    I've stopped and restarted all the servers numerous times.

    not sure whether installing WINE will help, try with 11.1.0.6.0 version of instant client libraries.

  • Cc - Undefined symbol

    Hi
    I'm trying to use prof and so have to use the static version of our libraries. Those are generated freshly by the build process but haven't been used for years.
    I am getting an 'Undefined symbol' linking error. The command looks something like this:
    cc -p foo.o -foo -Bstatic -lourlib1 -lourlib2 -Bdynamic <sybase libs> -lm -lsocket
    The function in question, say bar() is referenced from ourlib2 and is defined with ourlib1. I can see it using nm:
    nm libourlib1.a:
    [14] | 104| 60|FUNC |GLOB |0 |2 |bar
    I even tried referring to ourlib1 by fullpath/libourlib1.a - no luck.
    I have tried to reproduce this on a toy program - no luck again, everything links fine! Clearly something is the matter with our setup... but what could it be? My version is cc: Sun C 5.5 2003/03/12
    Thanks!

    Static libraries are searched in order for symbols that have been referenced but not yet defined. If the command line has the sequence
    lib1.a lib2.a
    and lib2.a needs a symbol from lib1.a, it is too late -- lib1 has already been searched.
    If lib1.a does not need any symbols from lib2.a, just reverse the sequence:
    lib2.a lib1.a
    If the libraries cross-reference each other, you can list the libraries more than once:
    lib1.a lib2.a lib1.a lib2.a
    Symbols from lib1.a needed by lib2.a will be picked up the second time lib1.a is scanned. These new symbols from lib1.a might need additional sybols from lib2.a, so you can list it again. In really bad cases, you would need to list the libraries several times.
    You don't have this exact problem with shared libraries, because all the symbols from a shared library are available throughout the linking process. But you have a different problem if shared libraries reference each other.
    The linker arranges for shared libraries to be initialized in reverse dependency order. If lib1 depends on (uses symbols from) lib2, the linker will arrange for lib2 to be initialized first. But if the libraries depend on each other, there is no correct initialization order. You always run the risk of trying to use something from a library that has not been initialized.
    Best practice for all kinds of libraries is to organize them in a hierarchy: If lib1 uses something from lib2, then lib2 does not use anything from lib2. If you can't achieve that effect, either combine them into a single library, or split out parts of lib1 and lib2 into a new library to create a hierarchical ordering among the three.

  • Error compiling "Undefined symbols for architecture armv6:"

    Hey, I seem to be getting errors like this a lot... I only just started making apps yesterday, so they are all still very basic, but I was wondering if I am doing something wrong when I import frameworks?
    This may be caused from something else entirely, but this is what I seem to think is causing it...
    Basically the error I'm getting is:
    Undefined symbols for architecture armv6:
    "_kUTTypeImage", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    -[CameraViewController(CameraDelegateMethods) startCameraControllerFromViewController:usingDelegate:] in CameraViewController.o
    "_kUTTypeMovie", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    "_OBJC_CLASS_$_CameraViewController", referenced from:
    objc-class-ref in CameraViewController.o
    l_OBJC_$_CATEGORY_CameraViewController_$_CameraDelegateMethods in CameraViewController.o
    ld: symbol(s) not found for architecture armv6
    collect2: ld returned 1 exit status
    As you can probably tell, I am trying to make a very simple camera app. Most of the code is copied and pasted straight from apple's site.
    If it would help I can put the full source code I have so far on these forums, just let me know.
    Thanks for any help!

    I've got this error while importing a project from XCode 3 to XCode 4
    A simple workaround which has worked for me was :
    1) Start a new project from scratch in XCode 4 using a template... I know, it should be tedious... ;-(
    2) You should change the build settings  « Architectures » of your project (under TARGETS) to compile with « armv6 » instead of the default value which is « Standard (armv7) »
    Double click « Standard (armv7) » in the « Architectures » setting 
    Add « armv6 » in the popup after clicking « + » button in the bottom-left of the popup

  • Symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

    I'm trying to use mysql-query-browser and I keep getting this error:
    symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64
    Some searching in the forum shows that people previously fixed this by updating libxml2 and zlib.  I have done so and even changed my mirror to the arch ftp but continue to get the same result.
    mysql-query-browser was working for me last week, I probably did a pacman -Syu and maybe something broke?  Does anyone know of a solutin to this?

    After a ton of searching online I found that in the /usr/lib directory is a problematic libz.so.1. In my case I have a symbolic link to libz.so.1.2.3.4. The sym link seemed correct to me, but I deleted the sym link and linked it again which fixed the problem.  mysql-query-browser works again from the CLI. It doesn't work from the start menu.
    I have to do this everytime I restart my computer and want t ouse mysql-query-browser. Not sure why and it's annoying, but it's a workaround.

  • Undefined symbols:   "___gxx_personality_v0$non_lazy_ptr",referenced from:

    Hi,
    I am getting following error while building . I tried searching on web as well for this error,but could not find a solution, suited for my problem. Searching on the web, I found two solutions :
    1.      Either use the compiler g++.
    2.      Add library stdc++ on the command, so that libstdc++ can be linked with.
    Actually both results are almost same, since g++ itself adds libstdc++ to the command before linking.
    I tried this solution, but it didn’t solve the problem. Thedifference between my problem and problem described on web is that in my case,undefined symbol is ___gxx_personality_v0$non_lazy_ptr,while all other problems described on web, describes missing___gxx_personality_v0. I tried searching for ___gxx_personality_v0$non_lazy_ptr in the libstdc++ and other libs as well using “nm”, but could not find this symbol.
    If anybody has any clue about tthis problem, please let me know.
    /usr/bin/cc  -prebind -o PROD "other .o's" "other libs"   -lgcc_eh
    Undefined symbols:
      "___gxx_personality_v0$non_lazy_ptr",referenced from:
    Error Icould found on web :
    Undefinedsymbols:
    "___gxx_personality_v0", referencedfrom:      è problems other encountered was that undefined symbol was__gxx_personality_v0.
    ___gxx_personality_v0$non_lazy_ptrin cciIlcV9.o  è In my case (see in my message), this is the undefined symbol. "std::basic_ostream<char,std::char_traits<char> >& std::endl<char,std::char_traits<char> >(std::basic_ostream<char,std::char_traits<char> >&)", referenced from:
    __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_$non_lazy_ptrin cciIlcV9.o
    "std::ios_base::Init::~Init()",referenced from:
    Thanks& Regards,

    You're very welcome

  • Ild: (Performing full relink) internal free space in undefined symbol error

    I am using Sun Sparc C++ 5.4 compiler to compile some code.
    I had some issues with Makefile which I have resolved successfully for test program, which has only one string and print statetments.
    When I compile my program error_log.C program using Makefile, I am geting following errors.
    Same file for test program works ok.
    Any suggestions/pointers etc are much appreciated.
    Thanks
    Ravi
    ERRORS:
    ==================================================================================
    /opt/SUNWspro/bin/CC -g -compat=4 -V - YP,/ford/thishost/u/rbhave/mqrouter/lib:/usr/lib:/opt/SUNWspro/prod/lib -I/ford/thishost/u/rbhave/mqrouter/include -c error_log.c
    CC: Forte Developer 7 C++ 5.4 2002/03/09
    ccfe: Forte Developer 7 C++ 5.4 2002/03/09
    /opt/SUNWspro/bin/CC -g -compat=4 -V -YP,/ford/thishost/u/rbhave/mqrouter/lib:/usr/lib:/opt/SUNWspro/prod/lib -I/ford/thishost/u/rbhave/mqrouter/include error_log.o -o error_log -lXm -lXt -lX11 -lstring -lipc -lutils
    CC: Forte Developer 7 C++ 5.4 2002/03/09
    CClink: Forte Developer 7 C++ 5.4 2002/03/09
    CC: Forte Developer 7 C++ 5.4 2002/03/09
    ild: (Performing full relink) internal free space in output file exhausted (sections)
    /opt/SUNWspro/bin/../prod/bin/c++filt: Forte Developer 7 C++ 5.4 2002/03/09
    ild: Forte Developer 7 Incremental Linker 4.0 2002/03/09
    ild: Forte Developer 7 Incremental Linker 4.0 2002/03/09
    ild: (undefined symbol) ErrLog_c::ErrLog_c(void) -- referenced in the text segment of error_log.o
    ild: (undefined symbol) ErrLog_c::SetFileOutput(char*) -- referenced in the text segment of error_log.o
    ild: (undefined symbol) operator <<(ostream&, const String&) -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libutils.a(ini_file.o)
    ild: (undefined symbol) operator <<(ostream&, const String&) -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libutils.a(datetime.o)
    ild: (undefined symbol) IsSocketUsed(const char*, const char*) -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_recv.o)
    ild: (undefined symbol) IsSocketUsed(const char*, const char*) -- referenced in the text segment of error_log.o
    ild: (undefined symbol) operator >>(istream&, String&) -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libutils.a(general.o)
    ild: (undefined symbol) setsockopt -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_recv.o)
    ild: (undefined symbol) recv -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_recv.o)
    ild: (undefined symbol) bind -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_recv.o)
    ild: (undefined symbol) socket -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_dgram.o)
    ild: (undefined symbol) ErrLog_c::Rename(const ErrLogMesg_t&) -- referenced in the text segment of error_log.o
    ild: (undefined symbol) sendto -- referenced in the text segment of /ford/thishost/u/rbhave/mqrouter/lib/libipc.a(socket_dgram.o)
    ild: (undefined symbol) ErrLog_c::~ErrLog_c(void) -- referenced in the text segment of error_log.o
    *** Error code 5
    make: Fatal error: Command failed for target `error_log'
    ==================================================================================

    Try rebuilding with -xild=off to eliminate ild from the process.
    If it still doesn't link, delete the most recent .o files and try again to see how it goes.
    - Rose

  • Wdblsnr: undefined symbol sltsmxi

    I have RH6.0, both Oracle 8.0.5 and 8.1.5 installed.
    I'm trying to start the webdb listener under the 8.0.5 installation as per instructions but wdblsnr complains about the undefined symbol 'sltsmxi'.
    The install instructions say to use wdblsnr from the www22 directory but there is no such animal in the distribution. All of the executables are in www21. Has anyone had any luck installing WebDB 2.2? How about 2.1?

    I had a similar problem with USB drivers.
    My problem was that I forgot the "-dy" and "-N" options in the last linking step.
    These options are needed if a module imports functions (or symbols) from other modules.
    Example:
    ld -r ... -dy -N misc/usba10
    The module requires functions defined in the module /kernel/misc/[sparcv9]/usba10.

  • Modload: undefined symbols 'memcmp' - though was not used in source.

    hello all,
    I'm getting this error - undefined symbols 'memcmp' - while trying to load my kernel module. FYI, the 'memcmp' was never used in the source code. I'm using Solaris 8 running 64bit kernel on sparc with latest 8_Recommended patches installed. Am using GCC 3.1 from SunFreeware.com as the compiler.
    Has anyone here encounter similar problem? Or have any pointer? Any thought would be apreciated.
    Thanks in advance.

    I think, gcc believes that a standard ANSI-C environment / library is available, so that gcc
    is allowed to generate code that calls standard ANSI-C library routines.
    Try to compile the driver with the gcc option "-ffreestanding", so that gcc doesn't make any
    assumptions about the available runtime environment.

  • Error while packaging app for iOS - Undefined symbols for architecture armv7

    First time trying to package an AS3 Air app for development on iOS.
    App works fine on Android and is available on the Google/Amazon store etc. The version I'm trying to package has all references to the ANE I use removed to simplify matters.
    I'm using Flash Builder 4.7, AIR v4.0 and am developing on a Windows 8 PC.
    When using fast packaging no error is thrown but the app just shows a black screen on my test Ipad (v3).
    Using standard packaging I get the following error at 57%:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__Z15abcOP_nullcheckIPN7avmplus6AbcEnvEEvPNS0_9MethodEnvET_", referenced from:
          _abcMethod_builtin_2_2_function public::global21.describeType in AOTBuildOutput-3.o
          _abcMethod_builtin_3_3_function public::global21.describeTraits in AOTBuildOutput-3.o
          _abcMethod_builtin_6_6_function public::global21.describeParams in AOTBuildOutput-3.o
          _abcMethod_builtin_5_5_function public::global21.describeMetadata in AOTBuildOutput-3.o
          _abcMethod_builtin_4_4_function public::global21.finish in AOTBuildOutput-3.o
          _abcMethod_builtin_26_26_function public::Object$._dontEnumPrototype in AOTBuildOutput-3.o
          _abcMethod_builtin_30_30_null ::_init. in AOTBuildOutput-3.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    Any help you can offer would be very welcome.

    Thanks for your reply Nimisha.
    Can you please tell me how to install the AIR 15 beta in such a way that I can easily go back to the AIR 14 release so I may continue to develop builds for release safely. I do not want to release anything built with beta builds for obvious reasons. Thank you.

  • "undefined symbol" error while using a custom instrument driver

    Hello all, I'm facing a problem related to instrument driver creation.
    I want to pack a part of my code to a .FP to be able to reuse it in other applications of mine. This part of code includes calls to Windows API and a third party dll. I have included both windows.h and the include for the dll in the header file for the instrument. I developed the source code and next a little application that simply calls one function to test the result of my work, but I get some 'undefined symbol' errores while linking the test application with the instrument. The instrument header file is included in program source file.
    Situation is as follows:
    I can run the test application if I include the source file for the instrument directly in the project (without loading the instrument)
    I created a static library and can have the test program up and running if directly including the library in the project (again without the .fp file)
    I get linker errors when trying to use the instrument I created based on the same code, both when including the instrument at source code level and when including at library level. Adding the .fp to the project makes no difference
    Linker errors are all related to WinSDK and third-party dll functions.
    Question is: where and how I have to declare the symbols apart including the appropriate .h files in the instrument header file?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

    Being waited on to log on... how flattering
    I wish I had a simple and obvious solution, but I don't.
    The problem in this case is that, whereas DLLs (via their import libraries) carry no additional build-time dependencies to their clients, that is not the case with object files and static libraries: any project that uses those .obj and .lib files must satisfy all of their dependencies when that project builds.
    There is a mechanism, with .fp files, to advertise such dependencies to the clients of the .fp, and that is the auto-load list (Edit>>FP Auto-Load List, in the function tree editor). The caveat, however, is that these indirect dependencies must have a companion .fp that you can add to this list. And in your case, you don't have one. So the only solution I can think of is for you to create a very thin wrapper module where you would wrap all of the SDK functions that you need, then create a basic .fp for this wrapper -- you can do this semi-automatically, from the header file (Options>>Generate Function Tree) -- and then add this .fp to the auto-load list of your primary .fp. And then you'll probably have to create a second .fp wrapper for your other dependency (a non-SDK third-party DLL?).
    Once you have declared the dependency chain for this .fp, you should then be able to use it on any test application and CVI should know to link in these additional static libraries whenever it builds the test application.
    If you choose to go this route, you'll probably have to deal with a bunch of non-standard data types in the parameters of the SDK functions. I don't remember if these are automatically added to the .fp when you create it from the header file. If not, all you need to do is add them to the .fp  later (Options>>Data Types, from the function panel editor). Don't worry about providing the definitions for these data types. They're not necessary. You just need to make sure that their names are in the list.
    Luis
    Message Edited by LuisG on 05-19-2010 10:43 AM

  • My iPad has tons of scuffs on the aluminum, is it removable?

    My 1st generation iPad has TONS of scratches and scuffs in the rear, is there anything that is able to remove it?

    since its brushed matte aluminum NO
    removing scratches from aluminum is very easy, getting it to blend down to the matte finish requires pro skills
    having polished metal for many years, I know this firsthand, also nobody in an Apple store will do metal finishing work.
    consider them personality marks and buy a good protective case

  • Undefined symbols into libdbxml-2.3.so

    Hi all,
    I've built the berkeley dbxml in the linux x86 environment using the buildall.sh script from the distribution.
    When I execute the command 'ldd -d' on the libdbxml-2.3.so library I get the following output:
    dhazin@softaria-local:~/distrib/berkeleydbxml/dbxml-2.3.10/install/lib$ ldd -d ./libdbxml-2.3.so
    linux-gate.so.1 => (0xffffe000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c05000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7be0000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a95000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a8a000)
    /lib/ld-linux.so.2 (0x80000000)
    undefined symbol: ZNK11xercesc2_78PSVIItem14getActualValueEv (./libdbxml-2.3.so)
    undefined symbol: ZNK11xercesc2_713DTDEntityDecl14isSerializableEv (./libdbxml-2.3.so)
    undefined symbol: ZN11xercesc2_713DTDEntityDecl9serializeERNS_16XSerializeEngineE (./libdbxml-2.3.so)
    undefined symbol: ZNK11xercesc2_713DTDEntityDecl12getProtoTypeEv (./libdbxml-2.3.so)
    undefined symbol: ZNK11xercesc2_713XMLAttDefList14isSerializableEv (./libdbxml-2.3.so)
    undefined symbol: ZN11xercesc2_713XMLAttDefList9serializeERNS_16XSerializeEngineE
    (many more undefined symbols go here)
    My question is: is it ok that there are some undefined symbols in this library, and do you also get them with your system? If not, could anyone please make the correct libraries available for download or send them to the [email protected] ?
    Thanks in advance,
    Dmitry

    Hi Dmitry,
    The undefined symbols are provided by the other libraries that DB XML needs - Berkeley DB, Xerces-C and XQilla. That's to be expected.
    John

Maybe you are looking for

  • How to read a comma separated file in web dynpro for java?

    Hi, I am new to web dynpro for java, i am trying to develop an application where i am uploading file which is a comma separated file i need to read the content of it and then call an rfc  pass those values to it. i have created the ui for the affores

  • Unequal Load Balance on Etherchannel (L2/SW3400ME)

    Hi, i have a problem with my L2 port-channel between 2 SW ME-3400-24TS-D (12.2(44)SE5), there is a unequal load balance and i don't know how to fixed. Should I change the load balance method?. All four ports have the same config, except one (int fa0/

  • Cisco 5508 Email Notification

    I have 2 Cisco 5508 Wireless LAN Controllers. They are NOT connected to a WCS. Is there a way to confiure the 5508's to send email notifications when an AP drops off line? Is not is this functionality available with either a WCS or new NCS?

  • Persistent Logon for Airport Attached External Drive with 'Disk Password'?

    I am using an Airport Extreme with a USB attached external hard drive. The drive is setup to require a 'disk password'. On the XP and Vista machines I have on the network, once they are setup to add the network drive, they store the password and when

  • Hard Drive Dissapeared

    I have a dual 867 with a 60 GB and a 160 GB hard drive. The 160GB had OS9 and OSX both. I was in OS9 today and was working on getting my DSL working. When I restarted, the computer booted up in OSX on the 60GB hard drive and the other one never showe