error compiling 2.5


J

jonsoons

I am compiling 2.5 on Solaris 10 SPARC.
I edited Modules/Setup to try and enable tkinter. ranlib claims that
it cannot find
libtk8.4.so even though I have a -L option pointing to it.

ranlib libpython2.5.a
/usr/sfw/bin/gcc -o python \
Modules/python.o \
libpython2.5.a -lsocket -lnsl -lrt -ldl -L/
opt/csw/lib -ltk8.4 -ltcl8.4 -L/usr/openwin/lib -lX11 -L/home/
jonsoons/lib -lz -lm
case $MAKEFLAGS in \
*-s*) CC='/usr/sfw/bin/gcc' LDSHARED='/usr/sfw/bin/gcc -
shared' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./
python -E ./setup.py -q build;; \
*) CC='/usr/sfw/bin/gcc' LDSHARED='/usr/sfw/bin/gcc -shared'
OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python -E ./
setup.py build;; \
esac
ld.so.1: python: fatal: libtk8.4.so: open failed: No such file or
directory
Killed
make: *** [sharedmods] Error 137
mis /home/jonsoons/Python-2.5.4 # glocate libtk8.4.so
/opt/csw/lib/libtk8.4.so

mis /home/jonsoons/Python-2.5.4 # file /opt/csw/lib/libtk8.4.so
/opt/csw/lib/libtk8.4.so: ELF 32-bit MSB dynamic lib SPARC
Version 1, dynamically linked, stripped

mis /home/jonsoons/Python-2.5.4 #

Did I screw up Modules/Setup?
Thanks
jon soons
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top