work with xalan and xerces in linux system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mamul
    New Member
    • Oct 2008
    • 23

    work with xalan and xerces in linux system

    Hi,
    In my linux system xalan and xerces are already installed, how can i used these.
    these are present in /usr/inclue/xalanc and /usr/include/xercesc

    i have done like.
    export XALANCROOT="/usr/inclue/xalanc"
    export XERCESCROOT="/usr/inclue/xercesc"


    then when i try to link my program showing that undefine reference to xalan and xerces..
    Please can some body tell me how to work on these.

    Thanks,
  • arnaudk
    Contributor
    • Sep 2007
    • 425

    #2
    You can tell the compiler where to look for headers and libraries using command line switches, check your compiler options. For g++, for example, you use the -I and -L switches. You should also be able to tell the linker-loader where to look for libraries through an environment variable, with ld, for example it's LD_LIBRARY_PATH , check your linker manpages.

    Comment

    Working...