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.

Author rtarnell
Recipients rtarnell
Date 2009-12-18.08:34:17
SpamBayes Score 9.268221e-05
Marked as misclassified No
Message-id <1261125259.67.0.0629730876932.issue7538@psf.upfronthosting.co.za>
In-reply-to
Content
2.6.4 fails to build on HP-UX 11.11 using GCC, when linking modules:

building '_struct' extension
gcc -pthread -shared build/temp.hp-ux-B.11.11-9000-785-2.6/home/river/
Python-2.6.4/Modules/_struct.o -L/opt/rt/lib -L/usr/local/lib -
lpython2.6 -o build/lib.hp-ux-B.11.11-9000-785-2.6/_struct.sl
/usr/ccs/bin/ld: Can't find library: "python2.6"
collect2: ld returned 1 exit status

(This happens for all modules.)

The problem is that libpython2.6.sl is in the root directory, but -L. 
is not passed to gcc, so the linker can't find the library.
History
Date User Action Args
2009-12-18 08:34:19rtarnellsetrecipients: + rtarnell
2009-12-18 08:34:19rtarnellsetmessageid: <1261125259.67.0.0629730876932.issue7538@psf.upfronthosting.co.za>
2009-12-18 08:34:18rtarnelllinkissue7538 messages
2009-12-18 08:34:17rtarnellcreate