Re: Installing Linux libraries in /compat

From: Tijl Coosemans <tijl_at_coosemans.org>
Date: Fri, 7 Jul 2017 11:02:20 +0200
On Fri, 7 Jul 2017 15:05:19 +0800 blubee blubeeme <gurenchan_at_gmail.com> wrote:
> 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?

You can simply install print/linux-c6-cups-libs and graphics/linux-c6-jpeg.
Received on Fri Jul 07 2017 - 07:03:35 UTC

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