RE: [LNX] (Hopefully) Simple Problem accessing .so file
- Posted by sephiroth _ <euman2376 at yahoo.com> Apr 17, 2001
- 355 views
check the permissions on your shared libs. if it's something like rwx------ and it belongs to root or you're not in the group it belongs to, type this as root: chmod 744 /usr/lib/thelibrary.so Irv Mullins wrote: > On Tue, 17 Apr 2001, Irv Mullins wrote: > > ----- 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 > > > > soGTK = open_dll("/usr/lib/libgtk-1.2.so.0.5.3") > > > > > Try calling it as open_dll("libgtk.so") > > Well, I'm back, and tried a program to open_dll *all* the library files. > It > looks like open_dll can only get some of them. Below is a list showing > which ones failed. Note that mostly it is the gtk and gimp so's that > won't > work. > Regards > Irv > > /usr/lib/libBrokenLocale.so > /usr/lib/libGL.so > /usr/lib/libGLU.so > /usr/lib/libMesaGL.so > /usr/lib/libMesaGLU.so > /usr/lib/libaa.so > /usr/lib/libasound-0.5.5.so > /usr/lib/libasound.so > /usr/lib/libaudiofile.so > /usr/lib/libbfd-2.9.5.0.24.so <===== error > /usr/lib/libbfd.so <===== error > /usr/lib/libc.so <===== error > /usr/lib/libcapi20.so > /usr/lib/libcdda_interface.so > /usr/lib/libcdda_paranoia.so > /usr/lib/libcrack.so > /usr/lib/libcrypt.so > /usr/lib/libdb.so > /usr/lib/libdb1.so > /usr/lib/libdbm.so > /usr/lib/libdl.so > /usr/lib/libedsio.so > /usr/lib/libesd.so > /usr/lib/libesddsp.so > /usr/lib/libf2c.so <snip>