Click to See Complete Forum and Search --> : DigiThumb install problem


stuffit
09-29-2002, 12:18 PM
hi
I tried to install DigiThumb, the thumbnail generator. I untarred the file, and tried to run it ./DigiThumb

It then reports :

ImportError: libwx_gtk-2.3.so.0: cannot open shared object file: No such file or directory.

This file does exist though, in the same folder as the exe...

I can't find any help in howtos, and the readme file that came with it doesn't offer any clues. I'm using mandrake 8.2

thanks for any help.

mdwatts
09-29-2002, 12:58 PM
Try (as root) ...

Copy libwx_gtk-2.3.so.0 to /usr/lib, run ldconfig and then ./DigiThumb again.

stuffit
09-29-2002, 01:54 PM
Many thanks - it works fine now. I should have realised from the error, but i know now for future reference.

stuffit
09-29-2002, 02:24 PM
not so fast! it starts, but then hangs as it tries to process the images.

There are several other files in the DigiThumb directory:

_imaging.so
libX11.so.6
libXext.so.6
libXi.so.6
wxPython.utilsc.so
wxPython.wxc.so

Would these file need to be put in other places too? The readme claims that it will work as it is, but the binary was created for SUSE 7.1 so maybe thats the problem? thanks in advance

mdwatts
09-29-2002, 02:55 PM
Either add that directory to your PATH or move those libraries to /usr/lib and run ldconfig.

bwkaz
09-29-2002, 03:35 PM
Don't do anything with libX11, libXi, or libXext, though. At best, change their name (to something like XXXlibX11.so.6, etc.).

X has installed its own version of those libraries in /usr/X11R6/lib, and you probably shouldn't overwrite or override them with versions in /usr/lib.

stuffit
09-29-2002, 04:04 PM
still no luck. I'm getting:

Unhandled exception in thread:
Traceback (most recent call last):
File "/home/i6070201/KDesktop/TEMP/DigiThumb/HTMLFile.pyc", line 193, in ProcessImages
UnboundLocalError: Local variable 'currentNo' referenced before assignment

hmm.The source is available to download , so i might see how it goes with that. thanks again.

also, i'm fairly new to stuff, if i was to add the directory to my path, would it be right to put:

export PATH=$PATH:/my/path

in the .bash_profile ?
thanks

edited to say :

i've already overwritten the files! If i have any problems i'm sure i can replace them.i hope.