Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jan 2024 18:28:44 +0000
From:      Jonathan Adams <jfadams1963@proton.me>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Trying to Install the Linux WPS Office Port; Understanding and Resolving the Errors
Message-ID:  <I_8SXZMdAlN5oCOFSgW3T42Oe8jgTJLlDZVAxFZgQM9eYA2cmrw61RoJyw01_7NPmFhCQS5O5gIb0nF7P1C-JCIbuccPUHy7JeDYw67g0Nw=@proton.me>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------89ea25eb9ea1548af3ff998cc0aec866c5cfcd3c5f597a5af3b44c30616ca3ca
Content-Type: multipart/mixed;boundary=---------------------9f9b483eee03ad5bb1886cc2c18bdcb1

-----------------------9f9b483eee03ad5bb1886cc2c18bdcb1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;charset=utf-8

On Saturday, January 6th, 2024 at 11:59 AM, J. <redc3ll@protonmail.com> wr=
ote:

> I'm attempting to install the port Linux WPS Office [1], but the install=
ation process is halted with a few error messages. As a FreeBSD/UNIX neoph=
yte, I have difficulty understanding these errors and how to resolve them.
> Being in the proper ports directory, I do: make install clean
> The installation (or should I say: compilation) process is ultimately ha=
lted with these error messages:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBEGIN QUOTE=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

install  -m 444 /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bs=
ddialog.1 /usr/ports/devel/bsddialog/work/stage/compat/linux/man/man1/
=3D=3D=3D=3D> Compressing man pages (compress-man)
=3D=3D=3D>  Installing for bsddialog-1.0.1
=3D=3D=3D>  Checking if bsddialog is already installed
=3D=3D=3D>   bsddialog-1.0.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of bsddialog
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

<snip>

>
> =3D=3D=3D> Options unchanged
> =3D=3D=3D>  Installing for linux_base-c7-7.9.2009_1
> =3D=3D=3D>  Checking if linux_base-c7 is already installed
> =3D=3D=3D>   Registering installation for linux_base-c7-7.9.2009_1 as au=
tomatic
> Installing linux_base-c7-7.9.2009_1...
> pkg-static: Fail to rename /compat/linux/.pkgtemp.bin.4XYbNS1wvM7O -> /c=
ompat/linux/bin:Is a directory
> ELF interpreter /lib/ld-linux.so.2 not found, error 2
> Abort trap
> ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2
> *** Error code 1

  Hi J. Hopefully someone more knowledgeable about ports installations can=
 provide more guidance, but my first impression here is that you have miss=
ing libraries. Specifically:
/compat/linux/lib/ld-linux.so.2
and
/compat/linux/lib64/ld-linux-x86-64.so.2

However these libraries are installed by the linux_base-c7-7.9.2009_1 pack=
age:
`
$ pkg info -l linux_base-c7-7.9.2009_1 | grep ld-linux
        /compat/linux/usr/lib/ld-linux.so.2
        /compat/linux/usr/lib64/ld-linux-x86-64.so.2
`

Have you checked to see that they are in place?

- Jonathan
____________________________________________
"Before Turing, things were done to numbers.
After Turing, numbers began doing things"
- George Dyson

-----------------------9f9b483eee03ad5bb1886cc2c18bdcb1--

--------89ea25eb9ea1548af3ff998cc0aec866c5cfcd3c5f597a5af3b44c30616ca3ca
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wnUEARYKACcFgmWZm7UJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y
vcgAAHM+AP9/T7LQP/TSrLR9dd/b2FqFZ8bMQlTuNanc4A9o0AfNqAEA/A7c
AqvnLPvs2g31b6XdWq2hiaT7LV1KW/fLkqIVDgM=
=CgqO
-----END PGP SIGNATURE-----


--------89ea25eb9ea1548af3ff998cc0aec866c5cfcd3c5f597a5af3b44c30616ca3ca--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?I_8SXZMdAlN5oCOFSgW3T42Oe8jgTJLlDZVAxFZgQM9eYA2cmrw61RoJyw01_7NPmFhCQS5O5gIb0nF7P1C-JCIbuccPUHy7JeDYw67g0Nw=>