Hi Michal

On Sun, 2005-02-13 at 15:22, Michal Moskal wrote:
> Hmm, maybe through gmodule:
> 
> // compile with:
> // gcc `pkg-config --libs --cflags gmodule-2.0` fo.c
> #include <gmodule.h>
> 
> int main()
> {
>         GModule *mod;
>         mod = g_module_open("libncurses", G_MODULE_BIND_LAZY);
>         if (mod == NULL)
>                 printf("error: %s\n", g_module_error ());
>         else
>                 printf("ok: %p\n", mod);
>         return 0;
> }

Ok, just tried this and when I run the program I get the following
output:
[EMAIL PROTECTED] src $ ./a.out 
error: /usr/lib/libncurses.so: invalid ELF header

So, it appears you are right and the problem is with gmodule? So, I
guess the next question is do you know how I can fix this?

Thanks so much for your help with this,
James
-- 
It's 5.50 a.m.... Do you know where your stack pointer is ?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to