Date: Fri, 7 Jul 2017 11:02:20 +0200 From: Tijl Coosemans <tijl@coosemans.org> To: blubee blubeeme <gurenchan@gmail.com> Cc: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: Installing Linux libraries in /compat Message-ID: <20170707110220.14c1df6b@kalimero.tijl.coosemans.org> In-Reply-To: <CALM2mEkuUtr3UJQtwQEmeApvFvdAYuik9qQ_72YdZHXx0DHcKw@mail.gmail.com> References: <CALM2mEkuUtr3UJQtwQEmeApvFvdAYuik9qQ_72YdZHXx0DHcKw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Jul 2017 15:05:19 +0800 blubee blubeeme <gurenchan@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170707110220.14c1df6b>