trouble with installation of systemtap3-0 on Ubuntu 14.04
Arkady
larytet@gmail.com
Thu Jan 26 19:39:00 GMT 2017
On Thu, Jan 26, 2017 at 7:43 PM, David Smith <dsmith@redhat.com> wrote:
> On 01/26/2017 05:17 AM, Arkady wrote:
>> Hi,
>>
>> This thread is probably the closest to the problem I experience.
>>
>> I need --monitor support in the stap. I am trying to compile the 3.0 release
>> On my Ubuntu 4.4.0-59-generic
>>
>> make[3]: Entering directory '/home/arkady/systemtap-3.0/staprun'
>> CCLD stapio
>> monitor.o: In function `comp_name':
>> /home/arkady/systemtap-3.0/staprun/monitor.c:151: undefined reference
>> to `json_object_object_get_ex'
>> I have ./lib/x86_64-linux-gnu/libjson.a and the library contains
>> json_object_object_get_ex
>> ...................
>>
>> What am I missing?
>
> Am I correct in thinking that libjson is installed in your home
> directory somewhere and isn't a system library? If so, that might be
> your problem. We can probably pass more options to configure to add that
> directory to the link search path.
>
> Another possibility is that the link is looking for a shared library
> (.so) and you've got a static library (.a).
>
This is what I have
/usr/lib/x86_64-linux-gnu/libjson-c.so
/usr/lib/x86_64-linux-gnu/libjson-c.a
/usr/lib/x86_64-linux-gnu/libjson-c.so.2
Can it be an order of the object files and libraries?
> --
> David Smith
> dsmith@redhat.com
> Red Hat
> http://www.redhat.com
> 256.217.0141 (direct)
> 256.837.0057 (fax)
More information about the Systemtap
mailing list