[Python-bugs-list] [ python-Bugs-694431 ] Python 2.3a2 Build fails on HP-UX11i
SourceForge.net
noreply@sourceforge.net
Sun, 23 Mar 2003 07:52:02 -0800
Bugs item #694431, was opened at 2003-02-27 10:44
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=694431&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Townsend (rptownsend)
Assigned to: Neal Norwitz (nnorwitz)
Summary: Python 2.3a2 Build fails on HP-UX11i
Initial Comment:
While building Python 2.3a2 on HP-UX11i I got the
following error:
ld -b build/temp.hp-ux-B.11.11-9000/785-
2.3/_iconv_codec.o -L/opt/python/lib -
L/usr/local/lib -o build/lib.hp-ux-B.11.11-
9000/785-2.3/_iconv_codec.sl
/usr/lib/dld.sl: Unresolved symbol: libiconv_open
(code) from build/lib.hp-ux-B.11.11-9000/785-
2.3/_iconv_codec.sl
sh[3]: 25624 Abort(coredump)
*** Error exit code 134
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-23 10:52
Message:
Logged In: YES
user_id=33168
Looking further into the python configure, I see that the
option is --with-dl-dld, however, this option is not
supported. Can try to play with the build options to find
the magic that works on your version of HPUX?
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-23 10:48
Message:
Logged In: YES
user_id=33168
Richard, in the manpage it says that iconv has a dependancy
on libdld.sl. Perhaps you need to configure python
--with-dld. Can you try that?
----------------------------------------------------------------------
Comment By: Richard Townsend (rptownsend)
Date: 2003-03-04 12:09
Message:
Logged In: YES
user_id=200117
Neal, I will try to help, but internet access is difficult at
work so responses may not be prompt.
I had a look at the man page but it was not clear to me
which library contains iconv_open. I will attach text
copy of the man page for you.
I also include some nm output from libc.sl which refers
to iconv_open, but I'm not sure if it means that it
contains the code for the function.
Let me know if I can try anything else.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-03 17:15
Message:
Logged In: YES
user_id=33168
Richard, can you help diagnose further since I can't
reproduce on HP-UX 11.00? My initial guess is that
iconv_open is in a different location, therefore the linking
is faililng. Does man iconv_open reveal what library
iconv_open is in? To add directories, etc. to the
build/link of iconv, you will need to edit setup.py (or test
on the command line). Check around line 620 in setup.py.
----------------------------------------------------------------------
Comment By: Richard Townsend (rptownsend)
Date: 2003-03-03 04:14
Message:
Logged In: YES
user_id=200117
Sorry for the delay but I had to download from CVS at
home yesterday (Sunday 2nd) and build on HP-UX at
work today.
Unfortunately I'm still getting the same linker error.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-28 12:37
Message:
Logged In: YES
user_id=33168
This iconv_codec problem may be fixed. Please test with
current CVS to verify.
See SF bug #690012.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-27 22:45
Message:
Logged In: YES
user_id=33168
Richard, can you try the latest version from CVS. I don't
have this problem on hp-ux-B.11.00-9000/829
I do have a problem with readline, but I think that's
specific to the machine I'm building on.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=694431&group_id=5470