Re: LNX: makes me so think that I can't mad straight

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Saturday 09 February 2002 10:47 pm, jstory at freenet.edmonton.ab.ca wrote:

>   I'm in linux mode.  Trying to run some examples in
> the eugtk library made by Irv Mullins.
>
>   error message:
> "Library not accessible!
> /home/jstory/euphoria/include/gtk/main.e:57
> type_check failure, gtk is 0"
>
>   Line 57 in main.e is:
>   gtk = open_dll("libgtk.so")
>
>   libgtk.so is in /usr/lib/
>
>  Why is libgtk.so not accessible?
>
>  I copied it to /home/jstory/euphoria/include.gtk
>
>  Still not accessible.

Browse your /usr/lib directory, preferably using Konqueror, and put the 
cursor on libgtk.so.

Look at the status line at the bottom of the window - you should see 
something like 

libgtk.so->libgtk-1.2.so.0.9.1 Shared library (Link)

That's a link to the real libgtk, so copying it won't help.
Make sure the file it points to is a real file (about 1.3 megs)
Also, it won't hurt to run ldconfig -v (run this as root) which 
rebuilds all links. You should get a report on the screen verifying 
the links.

Beyond that, I don't know what the problem might be. Can you run any programs 
that use gtk?

Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu