tkFileDialog.askopenfilenames not regonizing -multiple option

Tim Williams timothy.williams at nvl.army.mil
Thu Dec 11 12:15:04 EST 2003


timothy.williams at nvl.army.mil (Tim Williams) wrote in message news:<faf44c99.0312100823.24789a16 at posting.google.com>...
> I installed Tcl/Tk 8.4.5 and now I'm having a problem installing
> Python 2.3.2:
> 
> ########################################
> ranlib libpython2.3.a
> c++ -pthread  -Xlinker -export-dynamic -o python \
>                 Modules/python.o \
>                 libpython2.3.a -lpthread -ldl  -lutil
> -L/vps/pkg/Linux/lib -ltk8.4 -ltcl8.4  -lm
> libpython2.3.a(posixmodule.o): In function `posix_tmpnam':
> /vps/pkg/Linux/src/Python-2.3.2/Modules/posixmodule.c:5781: the use of
> `tmpnam_r' is dangerous, better use `mkstemp'
> libpython2.3.a(posixmodule.o): In function `posix_tempnam':
> /vps/pkg/Linux/src/Python-2.3.2/Modules/posixmodule.c:5736: the use of
> `tempnam' is dangerous, better use `mkstemp'
> case $MAKEFLAGS in \
> *-s*)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG
> -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
> *)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g
> -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
> esac
> ./python: error while loading shared libraries: libtk8.4.so: cannot
> open shared object file: No such file or directory
> make: *** [sharedmods] Error 127
> 
> 
> ###############################
> 

I found a post with this problem. After I modified LD_LIBRARY_PATH,
everything is fine.




More information about the Python-list mailing list