Bug#225039: can't build pine-4.58 on sparc; "incompatible ssl libraries" (fwd)
reassign 225039 pine
thanks
It's not a bug. By default it is trying to build 64-bit, so it isn't
working.
Either prepend "sparc32" to the command, or touch /etc/disable_64_gcc.
Santiago Vila writes:
> reassign 225039 gcc-defaults
> thanks
>
> The submitter has confirmed that this problem goes away by changing
> "CC = gcc" to "CC = gcc-3.3" in debian/rules, so this seems to be a
> problem with the gcc wrapper used on sparc.
>
> ---------- Forwarded message ----------
> From: lowe@debian.org
> To: submit@bugs.debian.org
> Date: Wed, 24 Dec 2003 15:31:52 -0800
> Subject: #225039: can't build pine-4.58 on sparc; "incompatible ssl
> libraries"
>
> Package: pine
> Version: 4.58
>
> I'm unable to build pine in sarge on sparc using "apt-get
> --only-source build-dep pine && apt-get --only-source -b source pine".
> It fails with:
>
> gcc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
> /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
> /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt
> /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/sparc-linux/3.3.2/../../../libssl.so when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/sparc-linux/3.3.2/../../../libssl.a when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libssl.so when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libssl.a when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl
> /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make[3]: *** [mtest] Error 1
> make[3]: Leaving directory `/tmp/pine-4.58/imap/mtest'
> make[2]: *** [bundled] Error 2
> make[2]: Leaving directory `/tmp/pine-4.58/imap'
> make[1]: *** [slx] Error 2
> make[1]: Leaving directory `/tmp/pine-4.58/imap'
> make: *** [build-all] Error 2
> Build command 'cd pine-4.58 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed
>
> --
> thanks,
>
> Will
Reply to: