Re: [LNX] (Hopefully) Simple Problem accessing .so file
- Posted by Irv Mullins <irvm at ellijay.com> Apr 17, 2001
- 417 views
----- Original Message ----- From: Travis Beaty <travisbeaty at arn.net> > 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") > Howdy: Try calling it as open_dll("libgtk.so") Linux has already set up links so there's a libgtk.so link which points to the latest version (1.2.so...blah), then when a new version comes out, only the link will have to be updated - not all your programs. If that doesn't work for you, let me know, I'll be back to the Linux computer later today. Regards, Irv