trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2016

Re: testing: tdeabc/vcardparser$ more README.testing

From: deloptes <deloptes@...>
Date: Wed, 27 Apr 2016 21:01:07 +0200
Nick Leverton wrote:

> In article <nfm6a9$8te$1@...>,
> deloptes 
>
<trinity-devel@...>
> wrote:
>>Nick Leverton wrote:
>>
>>> LD_LIBRARY_PATH=/path/to/libs/ kaddressbook
>>> 
>>> See "man ld.so" for full details.
>>> 
>>> Nick
>>
>>Thank you for the advise. I was also thinking of doing something like
>>this. I know ld pretty well BTW, but in the case of the tdelibs I am not
>>sure, because there are many libs besides the libtdeabc.so. I'm not sure
>>how it will behave and don't want to experiment that much. Not that I do
>>not like it, but because recently the available time is short and I try to
>>focus on one problem. It happens as usual: you dig a bit in the hope
>>you'll fix something and than you hit another issue - dig a bit and s.o.
>>
>>I'll give it a try. I suppose ldd will tell me if the app is getting the
>>lib of interest loaded.
> 
> You've probably already had this idea too :-) but LD_PRELOAD may be of
> interest to load only specific libraries from your test build ?
> 
> Nick

Thanks Nick, thanks all!
I am not sure how I can compile tdelib/tdeabc and link to it a test program.
The runtime thing is something I have done. I have also compiled test code,
but in this case it is in the library.
Unfort. I'm too busy this week. I'll try out the ideas you gave next and be
back to you later.

regards