I managed to successfully build displaylink by moving ‘x64-ubuntu-1604’ to ‘aarch64-ubuntu-1604’ and also adding ‘ARCH=aarch64’ to the IF statement, in that way the system will know that there’s a directory to proceed to the installation process. But I don’t know if it will actually recognize my monitor for I have not tested it yet, but I hope it will.
Is it a valid fix to just reverse engineer the process?
By the way here’s the output:
[aces@aces-desktop ~]$ pamac build displaylink
Preparing...
Cloning displaylink build files...
Checking displaylink dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
displaylink 5.3.1.34-4 AUR
Edit build files ? [y/N]
Apply transaction ? [y/N] y
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Ace (aces)
Password:
==== AUTHENTICATION COMPLETE ====
Building displaylink...
==> Making package: displaylink 5.3.1.34-4 (Fri 27 Nov 2020 09:35:30 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found displaylink-driver-5.3.1.34.zip
-> Found udev.sh
-> Found 99-displaylink.rules
-> Found displaylink.service
-> Found displaylink-sleep.sh
==> Validating source files with sha256sums...
displaylink-driver-5.3.1.34.zip ... Passed
udev.sh ... Passed
99-displaylink.rules ... Passed
displaylink.service ... Passed
displaylink-sleep.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting displaylink-driver-5.3.1.34.zip with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Installing DLM systemd service
Extracting DisplayLink Driver Package
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file)
: ignored.
Creating directory displaylink-5.3.1.34
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.3.1.34 100%
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file)
: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file)
: ignored.
Installing DisplayLink Manager aarch64-ubuntu-1604
Installing firmware packages
Installing license file
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./usr/lib/displaylink/DisplayLinkManager'
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "displaylink"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding changelog file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: displaylink 5.3.1.34-4 (Fri 27 Nov 2020 09:35:40 AM PST)
==> Cleaning up...
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading packages files... [1/1]
Checking file conflicts... [1/1]
Checking available disk space... [1/1]
Installing displaylink (5.3.1.34-4)... [1/1]
Running post-transaction hooks...
Reloading system manager configuration... [1/2]
Arming ConditionNeedsUpdate... [2/2]
Transaction successfully finished.