Re: Testing for memory leaks in GTK



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

and I still get his:

    ***********************************************************
    * WARNING: glib >= 2.6 found.  refdbg will not work       *
    * WARNING: unless you use it with glib compiled with      *
    * WARNING: '--disable-visibility' or a version <= 2.4.x.  *
    * WARNING: See README for details.                        *
    ***********************************************************

What am I doing wrong?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


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