[LNX] (Hopefully) Simple Problem accessing .so file
- Posted by Travis Beaty <travisbeaty at arn.net> Apr 17, 2001
- 428 views
Howdy y'all! Turns out I got a day off from work thanks to my dear friend Mother Nature. So I'm here to pester y'all some ... I'm currently getting my feet wet in programming in Euphoria within Linux. Here's the trouble at the moment: I am attempting to link to a gtk .so file. The path/filename on my system is ... /usr/lib/libgtk-1.2.so.0.5.3 First of all, I am assuming that this is, indeed, an .so file, even though there are all the other "extensions" behind the "so" part. To get access to this file, I've used the line soGTK = open_dll("/usr/lib/libgtk-1.2.so.0.5.3") The include file in which the above call is made is ... /home/Travis/eugtk/eugtk.e Now then, when I make this call, open_dll() returns a 0, which I understand to mean that it cannot be opened. I've doublechecked that this file *is* where it is supposed to be. The one thing that comes immediately to mind is that, because the .so file is owned by root, and my Euphoria app is owned by Travis, does not have permission to read to the file. That would be rather silly, but it is the only thing I can think of atm. I'd also like to comment that while all this "users" and "groups" and so forth are probably wonderful for networks, when applied to a single computer, I really think it's for the birds. BTW ... yes, I know Mr. Cuny has written a wrapper for GTK. I'd like to do it myself, though, for experience's sake. Any help you folks could offer will be greatly appreciated. Happy Hunting, Travis Beaty Claude, Texas.