[Bug 209355] lang/python35 lang/python34: install fails if archivers/lzmalib is installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 4 16:08:37 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209355

Fukang Chen <loader at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loader at FreeBSD.org

--- Comment #9 from Fukang Chen <loader at FreeBSD.org> ---
It looks it tries to link the /usr/local/lib/liblzma.so instead of
/usr/lib/liblzma.so.
and liblzma.so from the port archives/lzmalib doesn't have
"lzma_properties_size".

The first "-L/usr/local/lib" in the "cc -shared" comes from Mk/readline.mk, 
it make the linker to search this directory before the default directories.

-------------------------------------------------------------
building '_lzma' extension
cc -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O -pipe
-fno-strict-aliasing -Werror=declaration-after-statement -I./Include -I.
-IInclude -I/usr/local/include
-I/usr/ports/lang/python35/work/Python-3.5.2/Include
-I/usr/ports/lang/python35/work/Python-3.5.2 -c
/usr/ports/lang/python35/work/Python-3.5.2/Modules/_lzmamodule.c -o
build/temp.freebsd-12.0-CURRENT-arm-3.5/usr/ports/lang/python35/work/Python-3.5.2/Modules/_lzmamodule.o
cc -shared -lpthread -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib
-lpthread -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -O -pipe
-fno-strict-aliasing -I/usr/local/include -I/usr/local/include
build/temp.freebsd-12.0-CURRENT-arm-3.5/usr/ports/lang/python35/work/Python-3.5.2/Modules/_lzmamodule.o
-L. -L/usr/local/lib -llzma -lpython3.5m -o
build/lib.freebsd-12.0-CURRENT-arm-3.5/_lzma.so
*** WARNING: renaming "_lzma" since importing it failed:
build/lib.freebsd-12.0-CURRENT-arm-3.5/_lzma.so: Undefined symbol
"lzma_properties_size"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-python mailing list