Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2011 21:24:25 -0500
From:      Troy <troy@twisted.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Failed building kdebase-workspace-4.5.5_1 cannot find the library liblzma.la
Message-ID:  <4D8FF159.9090306@twisted.net>
In-Reply-To: <imocj1$1j8v$1@lorvorc.mips.inka.de>
References:  <4D8ED71B.8010804@twisted.net>	<20110327070503.GB73511@magic.hamla.org>	<4D8F9840.1070002@twisted.net> <imocj1$1j8v$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>>>> 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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D8FF159.9090306>