[Pkg-samba-maint] (forw) Problems compiling samba3 from 3.4.0pre1

Steve Langasek vorlon at debian.org
Fri May 8 06:59:43 UTC 2009


On Fri, May 08, 2009 at 07:03:50AM +0200, Christian Perrier wrote:
> Upstream ML hasn't been that much reactive...Let's try here..:-)

[...]

> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for zlibVersion in -lz... yes
> checking for zlib >= 1.2.3... yes
> Using libraries:
>     LIBS = -lcap -lresolv -lresolv -lnsl -ldl
>     KRB5_LIBS =  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
>     LDAP_LIBS = -lldap -llber 
>     UUID_LIBS = -luuid
>     DNSSD_LIBS = 
>     AUTH_LIBS =  -lcrypt  -lpam 

[...]

> Linking shared library bin/libsmbclient.so.0
> ../librpc/ndr/ndr_compression.o: In function `ndr_push_compression_mszip_chunk':
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:226: undefined reference to `deflate'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:243: undefined reference to `deflateReset'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:250: undefined reference to `deflateSetDictionary'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:230: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:245: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:252: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:210: undefined reference to `deflateInit2_'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:217: undefined reference to `zError'
> ../librpc/ndr/ndr_compression.o: In function `ndr_pull_compression_mszip_chunk':
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:111: undefined reference to `inflate'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:138: undefined reference to `inflateReset'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:145: undefined reference to `inflateSetDictionary'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:147: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:116: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:140: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:100: undefined reference to `inflateInit2_'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:102: undefined reference to `zError'
> collect2: ld returned 1 exit status
> make[1]: *** [bin/libsmbclient.so.0] Erreur 1

Upstream bug; undeclared dependency on libz, which is perfectly detected by
the configure script.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-samba-maint mailing list