Issue704919
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2003-03-17 11:09 by jayce, last changed 2022-04-10 16:07 by admin. This issue is now closed.
Messages (6) | |||
---|---|---|---|
msg15149 - (view) | Author: Jayce Piel (jayce) | Date: 2003-03-17 11:09 | |
I have some problems when trying to install python on a HPUX 10.20 system. All seems to go well during the compiling and during the installation process, but when I try to use tkinter in my new python with an "import _tkinter", i have the following lines : Python 2.2.2 (#2, Mar 17 2003, 04:36:02) [GCC 2.95.2 19991024 (release)] on hp-ux10 Type "help", "copyright", "credits" or "license" for more information. >>> import _tkinter /usr/lib/dld.sl: Unresolved symbol: acos (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: asin (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: atan (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: cosh (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: log10 (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: sinh (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: tan (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved symbol: tanh (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved module for symbol: tclTraceExec (data) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved module for symbol: tclProcBodyType (data) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved module for symbol: tclFreeObjList (data) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved module for symbol: tclExecutableName (data) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl /usr/lib/dld.sl: Unresolved module for symbol: Tcl_FindExecutable (code) from /usr/local/lib/python2.2/lib-dynload/_tkinter.sl zsh: abort (core dumped) python I have a python1.5/tkinter that works with tcl/tk 8.0p2... When trying to compile with this version of tcl/tk, i had errors with the tkinter module compilation. Then, I tried to compile a tcl/tk 8.4.2, or even use a binary-package of a tcl/tk 8.2.1, but in both cases I have the above errors when running... |
|||
msg15150 - (view) | Author: Neal Norwitz (nnorwitz) * | Date: 2003-03-19 00:48 | |
Logged In: YES user_id=33168 The problem appears to be that -lm (ie the math library) needs to be linked, but is not. I do not have access to a 10.20 machine. It also looks like the tcl library may not be found. Perhaps there's a library search problem? Jayce, if you could produce a patch that works for you, I can check in a fix. |
|||
msg15151 - (view) | Author: Jayce Piel (jayce) | Date: 2003-03-21 13:37 | |
Logged In: YES user_id=5496 After different tries, I found that adding "-L/usr/lib -lm" as parameters of "ld -b" solved THIS problem... But I still have a problem... Now, when laucnhing Tkinter._test(), I have the error message : "/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /usr/local/lib/libtcl8.4.sl" And a core dumped... I have compiled tcl/tk without threads, and python without threads too... |
|||
msg15152 - (view) | Author: Jayce Piel (jayce) | Date: 2003-03-21 14:51 | |
Logged In: YES user_id=5496 OK, all works now... Here are what I need to modify : In the Makefile of tcl 8.4.2 and in the Makefile of tk 8.4.2 : SHLIB_LD = gcc -shared -fPIC LD_SEARCH_FLAGS = In the Makefile of Python : LDSHARED= ld -b -L/usr/lib -lm -L/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91 .60 -lgcc BLDSHARED= ld -b -L/usr/lib -lm -L/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91 .60 -lgcc |
|||
msg15153 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2003-03-21 18:06 | |
Logged In: YES user_id=21627 This modification cannot go into the CVS: Hard-coding the path for egcs is not acceptable. Are you interested in developing a proper patch, or are you satisfied with the solution that works for you? |
|||
msg15154 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2003-05-04 12:55 | |
Logged In: YES user_id=21627 Closing it as "won't fix"; the submitter apparently is happy with the suggested work-around. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:07:41 | admin | set | github: 38169 |
2003-03-17 11:09:33 | jayce | create |