Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1029

Cant make the samples: gmake of the sample code require libcxa (a intel proprietary lib)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • 2.3.0
    • None
    • Samples/Tests
    • None
    • Operating System: Linux
      Platform: All
    • 24114

    Description

      Hi,
      I am trying to make the samples for xercesc in a Red Hat Linux 7.3 using
      gcc/g++. I have run the script runConfigure that comes with the distribution as
      follows:

      runConfigure -p linux -c gcc -x g++

      Everything was ok but then, when i tried the gmake command i got the following:

      /usr/bin/ld: warning: libcxa.so.3, needed by /home/tuxedo/xerces-c_2_3_0-
      linux7.2Proton/lib/libxerces-c.so, not found (try using -rpath or -rpath-link)

      libcxa is a proprietary library of intel and intel compiler is off course
      payed... Is there a manner to compile the samples without the intel compiler?

      Thanks,
      Fernando

      Next, i put the beggining of the gmake output:

      Building SAXPrint
      gmake -C SAXPrint
      gmake[1]: Entering directory `/home/tuxedo/xerces-c_2_3_0-
      linux7.2Proton/samples/SAXPrint'
      mkdir -p /home/tuxedo/xerces-c_2_3_0-linux7.2Proton/bin/obj/SAXPrint
      g++ DLINUX -fpic -L/usr/local/lib /home/tuxedo/xerces-c_2_3_0
      linux7.2Proton/bin/obj/SAXPrint/SAXPrint.o /home/tuxedo/xerces-c_2_3_0-
      linux7.2Proton/bin/obj/SAXPrint/SAXPrintHandlers.o o /home/tuxedo/xerces
      c_2_3_0-linux7.2Proton/bin/SAXPrint L/home/tuxedo/xerces-c_2_3_0
      linux7.2Proton/lib -lxerces-c -lc
      /usr/bin/ld: warning: libcxa.so.3, needed by /home/tuxedo/xerces-c_2_3_0-
      linux7.2Proton/lib/libxerces-c.so, not found (try using -rpath or -rpath-link)
      /home/tuxedo/xerces-c_2_3_0-linux7.2Proton/bin/obj/SAXPrint/SAXPrint.o: In
      function `main':
      /home/tuxedo/xerces-c_2_3_0-linux7.2Proton/bin/obj/SAXPrint/SAXPrint.o
      (.text+0x5c): undefined reference to
      `xercesc_2_3::XMLUni::fgXercescDefaultLocale'

      ... and so on

      Attachments

        Activity

          People

            Unassigned Unassigned
            fernando_rezende@yahoo.com Fernando Ricci Rezende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: