[Image-SIG] Problems with Imaging 1.0
Peter Funk
pf@artcom-gmbh.de
Thu, 23 Mar 2000 08:09:32 +0100 (MET)
Hi!
Bryan Carlson:
> I am trying to build the imaging library (PIL 1.0).
[...]
> ImportError: ld.so.1: python: fatal: libtcl8.3.so: open failed: No such file
> or directory
[...]
> Any suggestions here?
In SunOS aka Solaris you have to specifiy additional search paths for
shared libraries in the linker command. This is different from the
'/etc/ld.so.conf' global system configuration you might be familar with
from Linux. If you want to use /usr/local/lib, the relevant portion
of your $BUILD/Modules/Setup should read:
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
-L/usr/local/lib -R/usr/local/lib \
# *** Uncomment and edit to reflect your Tcl/Tk versions:
-ltk8.3 -ltcl8.3 \
However you should know, that two small patches are required, to make
the Python1.5.2 source distribution go with Tcl/Tk 8.3.0. I can send
you this patches, if you want.
But I suggest to stay with Tcl/Tk 8.0.5 for the time being. It has
been discovered on several platforms (Linux, Win32), that under very
rare cirumstances the combination Python/Tcl/Tk 8.3.0 may crash with
memory violation problem, where Tcl/Tk 8.0.5 is rock stable.
I've discovered this, while running the testsuite coming with the Python
Mega Widget (Pmw) package, see <http://www.dscpl.com.au/pmw/>. Since
this test suite makes heavy use of widget creation and desctruction,
the probability of this bug showing up in a real world app is low.
> BTW, I have no feel for these programs. Someone in our department asked me
> to install Sketch which is built on python, PIL, tcl/tk, etc. Not sure if
> the above is even a problem.
I haven't yet tried Sketch 0.6.5 on our Solaris box (it is an old Sparc 10).
Would be interesting to here, whether is will run there.
> Also, found it confusing to go through the build and successfully do a make
> only to have to
> run another make - didn't really understand this. Just following the steps.
Well, you are brave to try this on Solaris! ;-)
If you can't get further with my hints, please ask again.
Regards, Peter
--
Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany, Fax:+49 4222950260
office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)