Installing Linux libraries in /compat

From: blubee blubeeme <gurenchan_at_gmail.com>
Date: Fri, 7 Jul 2017 15:05:19 +0800
This is linux_base-c6

I would just like to check with the list to make sure If I want to install
missing libraries I should get the CentOS 6 versions of the rpm

I am missing some libraries for some printer drivers
-------------------------------------------------------------------------------
ldd
/compat/linux/opt/epson-inkjet-printer-201401w/cups/lib/filter/epson_inkjet_printer_filter

/compat/linux/opt/epson-inkjet-printer-201401w/cups/lib/filter/epson_inkjet_printer_filter:
    linux_vdso.so.1 =>  (0x00007ffffffff000)
    libdl.so.2 => /lib64/libdl.so.2 (0x0000000800a00000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000000800e00000)
    libcupsimage.so.2 => not found
    libcups.so.2 => not found
    libjpeg.so.62 => not found
    libpthread.so.0 => /lib64/libpthread.so.0 (0x0000000801200000)
    libm.so.6 => /lib64/libm.so.6 (0x0000000801600000)
    libc.so.6 => /lib64/libc.so.6 (0x0000000801a00000)
    /lib64/ld-lsb-x86-64.so.3 (0x0000000800607000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000000801e00000)
----------------------------------------------------------------------------------

As you can see from the above I am missing
libcupsimage.so.2
libcups.so.2
libjpeg.so.62

looking at the ldd command from above all the printer drivers reference the
64 bit version of the libs so that means for example libcupsimage.so.2 I
should use the version from this url:

https://pkgs.org/download/libcupsimage.so.2

CentOS x86_64

   - cups-libs-1.4.2-77.el6.i686.rpm
   <https://centos.pkgs.org/6/centos-x86_64/cups-libs-1.4.2-77.el6.i686.rpm.html>Common
   Unix Printing System - libraries



To install that I'll follow the steps laid out here:
https://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

# *cd /compat/linux*# *rpm2cpio <
/path/to/cups-libs-1.4.2-77.el6.i686.rpm | cpio -id*

Is that correct?

========================================
linux_base-c6-6.8_12
Name           : linux_base-c6
Version        : 6.8_12
Installed on   : Sat Jun  3 20:07:52 2017 CST
Origin         : emulators/linux_base-c6
Architecture   : FreeBSD:11:amd64
Prefix         : /compat/linux
Categories     : linux emulators
Licenses       :
Maintainer     : emulation_at_FreeBSD.org
WWW            : UNKNOWN
Comment        : Base set of packages needed in Linux mode (Linux CentOS
6.8)
Options        :
    DOCS           : on
    NLS            : on
Annotations    :
    repo_type      : binary
    repository     : FreeBSD
Flat size      : 196MiB
Description    :
This port contains packages from a near-minimal installation of CentOS 6
Linux.  These packages, in conjunction with the Linux kernel module,
form the basis of the Linux compatibility environment. It is designed to
provide a nice user experience by using the FreeBSD configuration for
corresponding Linux stuff where possible. Because of this any work which
needs to chroot into the Linux base may not work as expected (no fallthrough
to the FreeBSD config possible).
Received on Fri Jul 07 2017 - 05:05:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC