Dear Unix Gurus,

        I'm facing a problem compiling a simple program that uses the
gtk library. I'm using the sample program include in the texinfo
documentation itself to be sure that I don't make any mistakes.

        Well, I've set the LIBRARY_PATH and the C_INCLUDE_PATH
environment variables to point to the places where libgtk.a and gtk.h
reside respectively from /etc/profile . Then when I
compile saying
        gcc -llibgtk.a sample.c
I get an error message from ld saying llibgtk.so could not be opened.

I can't figure out what's wrong!

Please Help me!!!
        Thanking you
                Aalhad Saraf

Reply via email to