Re: [DynInst_API:] lsymLite error?


Date: Mon, 14 Sep 2015 15:09:09 -0700
From: Robert Lim <roblim1@xxxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] lsymLite error?
Hello,

I am trying to compile DynInst 9.0.3 and use the ParseAPI utility. When I run the example code on page 3 of the ParseAPI manual, I get the following error: /usr/bin/ld: cannot find -lsymLite

When compiling DynInst, I am using the following command:
cmake -DBOOST_ROOT=/shared/build/rose-BuildFolder/boost_1_53_0 -DCMAKE_INSTALL_PREFIX=/home/users/roblim1/software-dl -DLIBELF_LIBRARIES=/packages/intel/vtune_amplifier_xe_2015.2.0.393444/lib64/pinruntime/libelf.so -DLIBELF_INCLUDE_DIR=/usr/include -DIBERTY_LIBRARIES=/usr/lib/x86_64-linux-gnu/libiberty.a -DPLATFORM=x86_64 .
make && make install

When building the example, I am using the command:
g++ -std=c++0x -o example example.cc -L/home/users/roblim1/software-dl/lib -I/home/users/roblim1/software-dl/include -I/shared/build/rose-BuildFolder/boost_1_53_0 -lparseAPI -linstructionAPI -lsymtabAPI -ldynDwarf -ldynElf -lcommon -L/packages/intel/vtune_amplifier_xe_2015.2.0.393444/lib64/pinruntime -lelf -L/home/users/roblim1/repos/DyninstAPI-9.0.3/libdwarf/lib -ldwarf

I also tried passing -DLIGHTWEIGHT_SYMTAB=ON to cmake, but the DynInst compilation gives errors.

Any suggestions is greatly appreciated.

Thanks,
Robert
[← Prev in Thread] Current Thread [Next in Thread→]