Re: Testing for memory leaks in GTK



On Thu, Jan 7, 2010 at 4:10 PM, Erik de Castro Lopo
<mle+gtk mega-nerd com> wrote:
> Simon McVittie wrote:
>
>> Debian's GLib packages compile GLib twice; the normal copy with
>> the recommended hidden-visibility settings ends up in /usr/lib in the normal
>> libglib2.0-0 binary package (which other packages depend on), but the package
>> also builds extra copy that is refdbg'able, and installs it in
>> /usr/lib/refdbg, in an additional libglib2.0-0-refdbg binary package
>
> Yep, found and installed it. I now have:
>
>    $ ls -l /usr/lib/refdbg/
>    total 2412
>    drwxr-xr-x   2 root root   4096 Jan  6 09:28 .
>    drwxr-xr-x 331 root root 139264 Jan  6 20:33 ..
>    -rw-r--r--   1 root root 767414 Dec  4 00:54 libgobject-2.0.so
>    -rw-r--r--   1 root root 767414 Dec  4 00:54 libgobject-2.0.so.0
>    -rw-r--r--   1 root root 767414 Dec  4 00:54 libgobject-2.0.so.0.2200.3
>
> but I'm still not able to configure refdbg. I'm doing this:
>
>    export LD_LIBRARY_PATH=/usr/lib/refdbg:$LD_LIBRARY_PATH
>    ./configure --prefix=$HOME/Local

you may well need to set PKG_CONFIG_PATH too. the autocrap files will
be looking for glib-2.0.pc or something like that, and there's a good
chance that they are finding the wrong one.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]