1 Reply Latest reply: Aug 2, 2012 10:24 PM by 953643 RSS

    linking with libclntsh or libclntst

    478498
      Friends,

      Can anyone tell me what is the difference between

      $ORACLE_HOME//lib/libclntst10.a
      $ORACLE_HOME./lib/libclntsh.so.10.1

      When I link my test application with clntsh, it links properly and works
      but when I try clntst, it gives me errors.

      I have attached my makefile and the errors below.

      thanks

      regards

      ramin
      ------------------------------------------------------------------------------------------------------------
      # Makefile

      INCLUDE_DIRS=-I/usr/include/c++/3.2.3/ -I/usr/local/oracle-10.1.0.2/OraHome_1/rdbms/public/

      LINK_DIRS=-L/usr/local/oracle-10.1.0.2/OraHome_1/lib/ -L/usr/local/oracle-10.1.0.2/OraHome_1/rdbms/lib/

      CPP_LIB=/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libstdc++.a
      OCCI_LIB=/usr/local/oracle-10.1.0.2/OraHome_1/lib/libocci10.a
      CLNT_LIB=/usr/local/oracle-10.1.0.2/OraHome_1/lib/libclntst10.a

      LIBS=-lclntsh -locci
      # LIBS=-lclntst10 -locci

      query: oneConnection.o
      gcc -o query $(LINK_DIRS) $(LIBS) oneConnection.o

      oneConnection.o: oneConnection.cc
      gcc -o oneConnection.o $(INCLUDE_DIRS) -c oneConnection.cc
      ------------------------------------------------------------------------------------------------------------

      ------------------------------------------------------------------------------------------------------------
      ERRORS GENERATED WHEN I USE : "LIBS=-lclntst10 -locci"
      ------------------------------------------------------------------------------------------------------------

      [root@ser]/home/rnikaeen/development/oracle>make
      gcc -o query -L/usr/local/oracle-10.1.0.2/OraHome_1/lib/ -L/usr/local/oracle-10.1.0.2/OraHome_1/rdbms/lib/ -lclntst10 -locci oneConnection.o
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINlsCharSetNameToId'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataAttrGet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRefIsNull'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRefIsEqual'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAQDeq'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateDateConvert'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxuCvtToCtx'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterFromTZU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDefineObject'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetTZI'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRawPtr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterCheck'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxpfl'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxcmp'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISessionPoolCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateCompare'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCICacheFlush'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxatn2'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterCompare'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxads'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxdtsu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobTrim'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxadm'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterInterSubtract'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectPinCountReset'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeSchema'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectFree'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxdts'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDescriptorFree'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `xaosterr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeByName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiParseForInputTypeU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISessionPoolDestroy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateFromStringU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRefClear'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxinc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxsum'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxrou'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxstd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxnur'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateCheck'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxqtra'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxmod'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateFromString'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobFileSetName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeArrayByName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxsqr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxqtri'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITransCommit'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAcquireMutex'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPConvertUb1ToRowid'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterDivide'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAnyDataSetUCIOptMode'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPCompPrefRows'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectSetData'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobClose'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeTypeCode'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxldd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lfpinit'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxhname2id'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobIsEqual'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxren'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterFromStringU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtSetPieceInfo'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateInterAdd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPIsNonFinalType'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISubscriptionUnRegister'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobGetLength'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobRead'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiParseForOutput'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtPrepare'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxhcnv'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterConstruct'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxend'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxcopy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectUnmarkByRef'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDefineByPos'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxsub'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISessionGet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectArrayPin'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDateAssign'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxmin'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtPrepare2'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtFetch'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectPinTable'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtGetPieceInfo'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxmul'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetDateContext'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIConnectionPoolDestroy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIContextGetValue'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxhlod'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxatz'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobFileExists'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIBindObject'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIHandleFree'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxshift'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIParamSet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxsti'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStringPtr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRawAssignBytes'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxdec'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterInterAdd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISubscriptionRegister'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtExecute'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobIsOpen'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetEnv'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobLocatorAssign'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataCollAddElem'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIHandleAlloc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPFree'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITransRollback'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobCopy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAnyDataAttrCountSet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobFileGetName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetErrorMessage'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAlloc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIContextSetValue'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxnft'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectGetObjectRef'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectFlush'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDescribeAny'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobOpen'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxcmp'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataGetCurrAttrNum'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateInterSubtract'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxgtz'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISubscriptionEnable'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxbegin'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAnyDataSetNull'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterFromTZ'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxdtd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIMultiByteStrCaseConversion'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPHeapAlloc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetInternalRowid'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINlsCharSetIdToName'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobGetChunkSize'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectPin'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAnyDataSetInd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIConnectionPoolCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetLdiDateTimeFromKpd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetLdiIntervalFromKpd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetRidCharLen'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIEnvCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxfpr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectUnpin'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRawSize'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetLdiInternalFormat'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxstiu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `xaoEnv'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxgutf2ucs'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINumberToInt'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPAnyDataSetFlag'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAttrSet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxflo'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataIsNull'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiParseForOutputU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxpflu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataAccess'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `xaoSvcCtx'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINumberFromReal'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataAttrSet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetDefTZ'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectMarkUpdate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDateTimeFromText'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISubscriptionDisable'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataGetType'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxdiv'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPasswordChange'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINumberToReal'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxneg'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIErrorGet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIRefAssign'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetNLSLang'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobLoadFromFile'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPConvertRowidToUb1'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxnxd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateConstruct'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectMarkDelete'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetErrorMessageNLS'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `sldxgd'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxdyn'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAttrGet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxln'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxsni'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxgucs2utf'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterCopy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxbex'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPConvertDateToDateTime'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterMultiply'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetObjectPtr'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobLocatorIsInit'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCINumberFromInt'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIEnvNlsCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterToString'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPHeapFree'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateCopy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPReleaseMutex'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPIsObjectLoaded'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataBeginCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectNew'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxeti'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxhLaToId'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiParseForInputType'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxlog'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIParamGet'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPGetRowid'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIDescriptorAlloc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISessionRelease'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataEndCreate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectLock'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxnftu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPSetObjectPtrNull'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `sLdiGetDate'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxfcnu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxfcn'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectMarkDeleteByRef'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxinitc'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIBindByPos'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxabs'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCISubscriptionPost'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataCollGetElem'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterFromString'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxtru'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataDestroy'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectUnmark'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectLockNoWait'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAQListen'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAQEnq'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxstdu'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobCharSetId'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStmtRelease'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIAnyDataConvert'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCITypeByRef'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIObjectIsLocked'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxite'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateToStringU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobWrite'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxstou'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxpow'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateToString'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `ldxsto'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiDateDateSubtract'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIPDefConvOCCI'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCILobAppend'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lnxsgn'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `LdiInterToStringU'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `OCIStringAssignText'
      /usr/local/oracle-10.1.0.2/OraHome_1/lib//libocci.so: undefined reference to `lxlinit'
      collect2: ld returned 1 exit status
      make: *** [query] Error 1
      [root@ser]/home/rnikaeen/development/oracle>