Hi everyone,

I've got a problem to use the hashtable functions on my debian lenny...

I've done the apt-get install of the glib2.0

I can compile and link my program but when I launch it I got this error message :

/usr/.../mod_accesslog.so: undefined symbol: g_str_hash

I just got this code to test if I can use the hashtable:

Code:
#include <glib.h>

GHashTable *h;

h = g_hash_table_new(g_str_hash, g_str_equal);
I've done this before using my makefile:


$ pkg-config --cflags glib-2.0

$ pkg-config --libs glib-2.0


I've wrote this in my makefile:


`pkg-config --cflags --libs glib-2.0`



Can anyone help me please?

Thanks and sorry for my bad english.