Python-2.2.1, Solaris7, make test fails...

Neal Norwitz neal at metaslash.com
Fri Apr 19 10:17:39 EDT 2002


Hugh Sasse Staff Elec Eng wrote:
> 
> Now the build gives:

	[compiles & links]

> case $MAKEFLAGS in \
> *-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
> *) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
> esac
> ld.so.1: ./python: fatal: libtk8.3.so: open failed: No such file or directory
> 
> But

	[tcl/tk 8.3 is in /usr/local/lib]

Does LD_LIBRARY_PATH have /usr/local/lib in it?

If you do this:

	LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
	export LD_LIBRARY_PATH

	(or use setenv ... for csh)

Does that work?

Neal



More information about the Python-list mailing list