Boyd Stephen Smith Jr. wrote: > Once you find the offending line, attempt to determine what python native > libraries are being used in to link that are not in the current emerge. > Then, determine what package they are in and recompile them.
I'm having the same problem building ooo. I found the offending line. My first guess is that the unexpanded $ORIGIN variable in the g++ line should point to the libraries we want. I don't do much python, so I'm not sure which libraries I should see in here. Anybody else have an idea? Making: ../../unxlngi4.pro/lib/libpyuno.so gcc -c -fPIC -o ../../unxlngi4.pro/slo/pyuno_version.o -DUNX -I../../unxlngi4.pro/inc /home/gabriel/portage/portage/openof fice-1.1.4/work/solenv/src/version.c g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngi4.pro/lib -L../lib -L/home/gabriel/portage/por tage/openoffice-1.1.4/work/solenv/unxlngi4/lib -L/home/gabriel/portage/portage/openoffice-1.1.4/work/solver/645/unxlngi4.pr o/lib -L/home/gabriel/portage/portage/openoffice-1.1.4/work/solenv/unxlngi4/lib -L/opt/blackdown-jdk-1.4.2.01/lib -L/opt/bl ackdown-jdk-1.4.2.01/jre/lib/i386 -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/client -L/opt/blackdown-jdk-1.4.2.01/jre/lib/i 386/native_threads -L/usr/X11R6/lib ../../unxlngi4.pro/slo/pyuno_version.o ../../unxlngi4.pro/slo/pyuno_description.o -o .. /../unxlngi4.pro/lib/libpyuno.so ../../unxlngi4.pro/slo/pyuno_runtime.o ../../unxlngi4.pro/slo/pyuno.o ../../unxlngi4.pro/s lo/pyuno_callable.o ../../unxlngi4.pro/slo/pyuno_module.o ../../unxlngi4.pro/slo/pyuno_type.o ../../unxlngi4.pro/slo/pyuno_ util.o ../../unxlngi4.pro/slo/pyuno_except.o ../../unxlngi4.pro/slo/pyuno_adapter.o ../../unxlngi4.pro/slo/pyuno_gc.o -lcpp u -lcppuhelpergcc3 -lsal -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lpthread -lstdc++ ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x1b): In function `getRuntimeImpl': /home/gabriel/portage/portage/openoffice-1.1.4/work/pyuno/source/module/pyuno_runtime.cxx:127: undefined reference to `PyTh readState_Get' ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x31): In function `getRuntimeImpl': ../../inc/pyuno/pyuno.hxx:73: undefined reference to `PyImport_AddModule' ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x39):../../inc/pyuno/pyuno.hxx:73: undefined reference to `PyModule_GetDict' ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x95):../../inc/pyuno/pyuno.hxx:81: undefined reference to `PyDict_GetItemStri ng' ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x28b): In function `importUnoModule': ../../inc/pyuno/pyuno.hxx:73: undefined reference to `PyImport_AddModule' ../../unxlngi4.pro/slo/pyuno_runtime.o(.text+0x293):../../inc/pyuno/pyuno.hxx:73: undefined reference to `PyModule_GetDict' (etc.) -- G a b r i e l M . B e d d i n g f i e l d -- gentoo-user@gentoo.org mailing list