Failed building kdebase-workspace-4.5.5_1 cannot find the library liblzma.la

Troy troy at twisted.net
Mon Mar 28 02:25:13 UTC 2011


>
>>>> Anyone have an idea why it can't find liblzma.la or what port I need
>>>> to install to make that library available?
>>> archivers/xz installs liblzma.la.
>>
>> It looks like it's part of the base system
>
> It's a port for FreeBSD 7 and in base for 8 and 9.
>
>> but I apparently don't have that library for some reason?
>
> Well, don't you?
> Are there any /usr/lib/liblzma.* files?  If no, why not?  If yes,
> why does that port look for liblzma in /usr/local?
>
I do have those libs there.  I'm not sure why it's looking in 
/usr/local/lib to find it.  I double checked and have /usr/lib in my 
PATH. Do you have any thoughts here?

ls -al /usr/lib/liblzma.*
-r--r--r--  1 root  wheel  261522 Dec 15 01:58 /usr/lib/liblzma.a
lrwxr-xr-x  1 root  wheel      12 Dec 15 01:58 /usr/lib/liblzma.so@ -> 
liblzma.so.5
-r--r--r--  1 root  wheel  146848 Dec 15 01:58 /usr/lib/liblzma.so.5


Build error below


mv -f .deps/dmtxread-dmtxread.Tpo .deps/dmtxread-dmtxread.Po
cc -DHAVE_CONFIG_H -I. -I../..  -Wshadow -Wall -pedantic  
-I/usr/local/include/ImageMagick -D_MAGICK_CONFIG_H -O2 -pipe 
-fno-strict-aliasing -MT dmtxread-dmtxutil.o -MD -MP -MF 
.deps/dmtxread-dmtxutil.Tpo -c -o dmtxread-dmtxutil.o `test -f 
'../common/dmtxutil.c' || echo './'`../common/dmtxutil.c
../common/dmtxutil.h:48: warning: 'symbolSizes' defined but not used
mv -f .deps/dmtxread-dmtxutil.Tpo .deps/dmtxread-dmtxutil.Po
/bin/sh ../../libtool --tag=CC    --mode=link cc 
-I/usr/local/include/ImageMagick -D_MAGICK_CONFIG_H -O2 -pipe 
-fno-strict-aliasing  -lm -L/usr/local/lib -lMagickWand -lMagickCore  -o 
dmtxread dmtxread-dmtxread.o  dmtxread-dmtxutil.o ../../libdmtx.la -lm
libtool: link: cannot find the library `/usr/local/lib/liblzma.la' or 
unhandled argument `/usr/local/lib/liblzma.la'
*** Error code 1

Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2/util/dmtxread.
*** Error code 1

Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2/util.
*** Error code 1

Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2.
*** Error code 1

Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2.
*** Error code 1

Stop in /usr/ports/graphics/libdmtx.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-workspace.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-workspace.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20110327-41566-71kg2a-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=kdebase-workspace-4.5.5_1 UPGRADE_PORT_VER=4.5.5_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! x11/kdebase4-workspace (kdebase-workspace-4.5.5_1)    
(unknown build error)



More information about the freebsd-ports mailing list