Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610336 - dev-lang/python-3.4.6 emerge Error: can't load library 'libpython3.4m.so.1.0'
Summary: dev-lang/python-3.4.6 emerge Error: can't load library 'libpython3.4m.so.1.0'
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 04:14 UTC by Pandu POLUAN
Modified: 2017-03-13 07:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pandu POLUAN 2017-02-21 04:14:58 UTC
I hit another failure trying to emerge dev-lang/python-3.4.6 on a fresh stage3-amd64-uclibc-hardened installation.

The offending lines seem to be these:

> Generating grammar tables from /var/tmp/portage/dev-lang/python-3.4.6/image//usr/lib/python3.4/lib2to3/PatternGrammar.txt
> Writing grammar tables to /var/tmp/portage/dev-lang/python-3.4.6/image//usr/lib/python3.4/lib2to3/PatternGrammar3.4.6.final.0.pickle
> if test "xno" != "xno"  ; then \
>         case no in \
>                 upgrade) ensurepip="--altinstall --upgrade" ;; \
>                 install|*) ensurepip="--altinstall" ;; \
>         esac; \
>         LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-3.4.6/work/x86_64-gentoo-linux-uclibc ./python -E -m ensurepip \
>                 $ensurepip --root=/var/tmp/portage/dev-lang/python-3.4.6/image// ; \
> fi
> /var/tmp/portage/dev-lang/python-3.4.6/work/x86_64-gentoo-linux-uclibc/python: can't load library 'libpython3.4m.so.1.0'
>  * ERROR: dev-lang/python-3.4.6::gentoo failed (install phase):
>  *   (no error message)

Fixed by prepending the stated LD_LIBRARY_PATH:

> LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-3.4.6/work/x86_64-gentoo-linux-uclibc emerge =dev-lang/python-3.4.6

My curent workaround is to put that LD_LIBRARY_PATH declaration into the package.env mechanism.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-03-09 11:02:34 UTC
Could you please add emerge --info and attach the full build log?