Opened 12 years ago

Last modified 12 years ago

#5 assigned bug

Error while building Python

Reported by: Vincent Caron Owned by: Pierre Pronchery
Priority: minor Component: Build
Keywords: Cc:

Description

Yes, everything built except xynth and glib which I skiped for now.

As for Python, it fails between autoconf and build:

(cd Python-2.4.5 && LD_LIBRARY_PATH=/home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib make)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: relocation error: /lib/librt.so.1: symbol __pthread_once, version GLIBC_2.0 not defined in file libpthread.so.0 with link time reference
make: *** [Python-2.4.5/python] Error 127

Seems my Lenny's make doesn't like runningbear's libpthread, or something like that ?

Change History (1)

comment:1 in reply to:  description Changed 12 years ago by Pierre Pronchery

Status: newassigned

Replying to vcaron:

Yes, everything built except xynth and glib which I skiped for now.

I am aware of that, xynth and glib are still giving me headaches in order to build in all situations (namely "Linux-i386" and "Linux-arm").

As for Python, it fails between autoconf and build:

(cd Python-2.4.5 && LD_LIBRARY_PATH=/home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib make)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: /home/zerodeux/src/openmoko/runningbear/trunk/destdir/usr/local/lib/libpthread.so.0: no version information available (required by /lib/librt.so.1)
make: relocation error: /lib/librt.so.1: symbol !__pthread_once, version GLIBC_2.0 not defined in file libpthread.so.0 with link time reference
make: *** [Python-2.4.5/python] Error 127

Seems my Lenny's make doesn't like runningbear's libpthread, or something like that ?

Not exactly; in fact, python has to run some of the programs it compiles during the compilation process, in order to generate other programs to compile in turn. Since I was compiling everything with RunningBear?'s libc, I had to use LD_LIBRARY_PATH=$DESTDIR$PREFIX/lib while compiling.

This used to work because RunningBear?'s libc now has its own libpthread, and for some reason now the native one is picked up instead. I can reproduce this problem on Debian/etch, and probably on NetBSD as well.

I will let you know if I find a way around this.

Note: See TracTickets for help on using tickets.