Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Can't find librcheck.so: (15 Items)
   
Can't find librcheck.so  
Hi,

I can't seem to do memory analysis as the system can't find (and neither can I) librcheck.so.

Can anyone point to where it should be and what I can do to find it?

Thanks
Kevin
Re: Can't find librcheck.so  
The error I get when trying to start memory analysis for a process is:
"Could not preload library librcheck.so"

Re: Can't find librcheck.so  
This is new library that bundled with 6.4.0. If you running on 6.3.2 target you have to manually install it (or include 
in the image).
Patch available on foundry27 http://community.qnx.com/sf/frs/do/downloadFile/projects.ide/frs.ide_integration_builds.
momentics_632_patch_for_profiler/frs1427?dl=1

Re: Can't find librcheck.so  
Got it...thanks
Kevin
Re: Can't find librcheck.so  
> This is new library that bundled with 6.4.0. If you running on 6.3.2 target 
> you have to manually install it (or include in the image).
> Patch available on foundry27 http://community.qnx.com/sf/frs/do/downloadFile/
> projects.ide/frs.ide_integration_builds.momentics_632_patch_for_profiler/
> frs1427?dl=1
> 

Stealing this thread.

But libcheckr.so needs libc.so.3 which isn't included in 6.3.2. Does that mean libc.so.3 also need to be copied.

I copied it but things aren't peachy.  When I launch a program it sigsegv right away, before main(), in 
_block_mem_malloc_align.   

Re: Can't find librcheck.so  
You would need to replace libc.so.3 AND libc.so.2 and also redirect /usr/lib/ldqnx.so.2 to point to libc.so.3

and as an aside - it's not supported :-)

Mario Charest wrote:
>> This is new library that bundled with 6.4.0. If you running on 6.3.2 target 
>> you have to manually install it (or include in the image).
>> Patch available on foundry27 http://community.qnx.com/sf/frs/do/downloadFile/
>> projects.ide/frs.ide_integration_builds.momentics_632_patch_for_profiler/
>> frs1427?dl=1
>>
> 
> Stealing this thread.
> 
> But libcheckr.so needs libc.so.3 which isn't included in 6.3.2. Does that mean libc.so.3 also need to be copied.
> 
> I copied it but things aren't peachy.  When I launch a program it sigsegv right away, before main(), in 
_block_mem_malloc_align.   
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post25605
> 

-- 
cburgess@qnx.com
RE: Can't find librcheck.so  

> -----Original Message-----
> From: Colin Burgess [mailto:community-noreply@qnx.com]
> Sent: March-30-09 4:26 PM
> To: general-ide
> Subject: Re: Can't find librcheck.so
> 
> You would need to replace libc.so.3 AND libc.so.2 and also redirect
> /usr/lib/ldqnx.so.2 to point to libc.so.3
> 
> and as an aside - it's not supported :-)

Ouch, so basically memory analysis with 6.3.2 is bye bye

Thanks Colin

Re: Can't find librcheck.so  
Well, that's not to say it won't work... :-)

Mario Charest wrote:
> 
>> -----Original Message-----
>> From: Colin Burgess [mailto:community-noreply@qnx.com]
>> Sent: March-30-09 4:26 PM
>> To: general-ide
>> Subject: Re: Can't find librcheck.so
>>
>> You would need to replace libc.so.3 AND libc.so.2 and also redirect
>> /usr/lib/ldqnx.so.2 to point to libc.so.3
>>
>> and as an aside - it's not supported :-)
> 
> Ouch, so basically memory analysis with 6.3.2 is bye bye
> 
> Thanks Colin
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post25610
> 

-- 
cburgess@qnx.com
Re: Can't find librcheck.so  
Colin Burgess wrote:
> You would need to replace libc.so.3 AND libc.so.2 and also redirect /usr/lib/ldqnx.so.2 to point to libc.so.3
> 
> and as an aside - it's not supported :-)

It would be easier to hexedit the librcheck.so and change the DT_NEEDED 
to be libc.so.2, or we could just link the patch :)

Regards,

Ryan Mansfield
Re: Can't find librcheck.so  
Thats is strange. I probably posted wrong version, I suppose to compile it for 6.3.2, let me try again.
And btw you still can use libmalloc_g.so if you really want.

Mario Charest wrote:
>> This is new library that bundled with 6.4.0. If you running on 6.3.2 target 
>> you have to manually install it (or include in the image).
>> Patch available on foundry27 http://community.qnx.com/sf/frs/do/downloadFile/
>> projects.ide/frs.ide_integration_builds.momentics_632_patch_for_profiler/
>> frs1427?dl=1
>>
> 
> Stealing this thread.
> 
> But libcheckr.so needs libc.so.3 which isn't included in 6.3.2. Does that mean libc.so.3 also need to be copied.
> 
> I copied it but things aren't peachy.  When I launch a program it sigsegv right away, before main(), in 
_block_mem_malloc_align.   
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post25605
> 
Re: Can't find librcheck.so  
Which platform use libc.so.3? I checked x86 (from the patch)

# ldd ./librcheck.so       
./librcheck.so:
        librcheck.so.1 => ./librcheck.so (0xb8200000)
        libc.so.2 => /lib/libc.so.2 (0xb8228000)
Re: Can't find librcheck.so  
Anyway I posted new patch at http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.ide_integration_builds.
momentics_632_patch_for_profile
called rcheck-632-IDE4_5-02.zip 

It is targeting 632 (can work on 640 too) - this also contains some bug fixed.
RE: Can't find librcheck.so  
That link doesn't work for me.

> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: March-31-09 10:52 AM
> To: general-ide
> Subject: Re: Can't find librcheck.so
> 
> Anyway I posted new patch at
> http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.ide_int
> egration_builds.momentics_632_patch_for_profile
> called rcheck-632-IDE4_5-02.zip
> 
> It is targeting 632 (can work on 640 too) - this also contains some bug
> fixed.
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post25667
> 
Post Deleted
Re: RE: Can't find librcheck.so  
Another attempt. If it does not work just go to Project Downloads -> IDE integration build and pick patches for 
momentics 6.3.2
 http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.ide_integration_builds.momentics_632_patch_for_profiler