This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Systemtap build error


Hi,
 I'm new to Systemtap and I'm installing it as a non-root user as the
gcc4.8 requires a newer Systemtap thatn the one on my system.

I have the elfutils downloaded and installed. I see an error when I
run the following command...

../systemtap-2.1/configure --prefix=${PREFIX} --libdir=${PREFIX}/lib64
--with-elfutils=/dev/shm/sw-build/elfutils-0.155


The error is:
 CXX    stap-cscommon.o
  CXXLD  stap
/share/projects/IP/local_5.8/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
stap-rpm_finder.o: undefined reference to symbol 'rpmdbNextIterator'
/share/projects/IP/local_5.8/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
note: 'rpmdbNextIterator' is defined in DSO /usr/lib64/librpmdb-4.4.so
so try adding it to the linker command line
/usr/lib64/librpmdb-4.4.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [stap] Error 1
make[2]: Leaving directory `/dev/shm/sw-build/systemtap-2.1-build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/sw-build/systemtap-2.1-build'
make: *** [all] Error 2

How do I get this resolved?

Thanks,
Kalai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]