Re: build 32bit php an 64bit linux fails with error in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Aug 2020 at 23:15, aotto <aotto1968@xxxxxxxxxxx> wrote:
>
> On 10.08.20 21:29, Jonathan Wakely wrote:
> > rpm -ql liblzma5
>
> thanks… I think that opensuse is broken…

I doubt it.

> step 1)
>
>  > rpm -ql libxml2-devel-32bit
> /usr/lib/baselibs-32bit
> /usr/lib/baselibs-32bit/bin
> /usr/lib/baselibs-32bit/bin/xml2-config
> /usr/lib/libxml2.la
> /usr/lib/libxml2.so
>
>  > /usr/lib/baselibs-32bit/bin/xml2-config --libs
> -lxml2 -lz -llzma -lm -ldl

This script just tells you the flags needed to link to libxml2, it
doesn't guarantee those libraries are actually installed.

> step 2)
>
> but opensuse has
>
>  > rpm -ql liblzma5
> /usr/lib64/liblzma.so.5
> /usr/lib64/liblzma.so.5.2.3
>
>  > rpm -ql liblzma5-32bit
> /usr/lib/liblzma.so.5
> /usr/lib/liblzma.so.5.2.3
>
> step 3)
>
> -> there is "only" a "liblzma5" and nothing else.
>
>  > zypper se liblzma
>
> S  | Name                         |
> Zusammenfassung                                       | Typ
> ---+------------------------------+-------------------------------------------------------+------
> i+ | liblzma5                     | Lempel–Ziv–Markov chain algorithm
> compression library | Paket
> i+ | liblzma5-32bit               | Lempel–Ziv–Markov chain algorithm
> compression library | Paket
>     | liblzma5-32bit-debuginfo     | Debug information for package
> liblzma5                | Paket
>     | liblzma5-debuginfo           | Debug information for package
> liblzma5                | Paket
>     | python-pyliblzma             | Python bindings for
> liblzma                           | Paket
>     | python-pyliblzma-debuginfo   | Debug information for package
> python-pyliblzma        | Paket
>     | python-pyliblzma-debugsource | Debug sources for package
> python-pyliblzma            | Paket
>
>     | python-pyliblzma-doc         | Documentation for the
> python-pyliblzma                | Paket
>
>
> solution there is only a "liblzma5" and opensuse means that "5" is the
> min required package nmber…
> BUT libxml has an other "opinion"

It looks like the package you need is xz-devel.i586 so try installing that.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux