From owner-freebsd-current@freebsd.org Fri Jul 7 09:03:35 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C0F8D9E468 for ; Fri, 7 Jul 2017 09:03:35 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay117.isp.belgacom.be (mailrelay117.isp.belgacom.be [195.238.20.144]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E0AD1724C9 for ; Fri, 7 Jul 2017 09:03:34 +0000 (UTC) (envelope-from tijl@coosemans.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AHm1kjhy0X2rPhPPXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2+kUIJqq85mqBkHD//Il1AaPBtSEraocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze6/9pnRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiS?= =?us-ascii?q?cIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CS2RPXthfWTFCDIy+?= =?us-ascii?q?YYsAAPYOM+lDoonhpVYCsQeyCRWwCO/xzDJDm3/43bc90+QkCQzIwg0gH9AKsH?= =?us-ascii?q?/Jstj1M6ASUfurw6nN1zrDaehW0ir65YjUcxAho/WMUKlsfsrWzkkvDB3KjlCK?= =?us-ascii?q?pozjJDOZzOMNs3KU7+d5U++klmApqwZ0oje1x8csjJHEhowPyl/a6yp22501Ks?= =?us-ascii?q?CiRE58e96kH4NctzmZN4t5WcMuWWZouDw1yrAApJW1fzAKxYwkyhPdcfCKcoiF?= =?us-ascii?q?7gj+WOuVJTp0nm9pdbK5ih2v60av0Pf8WdOx0FtSqypFlcTDuW4V2hzI78iHVu?= =?us-ascii?q?N9/kC82TaTzwzT6v9LIUQzlafDKJ4u2LowlpsWsUvdBC/2n1/6jLOXdkUm/uik?= =?us-ascii?q?8fjoYrLhpp+HKYB0jxvxMqI1msClBuQ4KAcOU3Ca+eS6yrLj4VX0TbZIg/Esk6?= =?us-ascii?q?TUsIrWKdkfq6O9GQNZz4Yu5w66Dzi80dQYmXcHLEhCeBKCl4XpJ1DOIPL8Dfqk?= =?us-ascii?q?n1uslzBrx+vYMb3kGJrNKGPDnK3mfbZn5E5Q0BAzwsxH55JIFrEBJ+r+WkDstN?= =?us-ascii?q?zCEBA5NRC7w+b9B9V7zY4eVmePDbWYMKPWq1OH+uUvI+zfLLMS7Tz5NvIo6rbk?= =?us-ascii?q?iWIzlFIYcOH90oYNZXazHv1gC0qcaHvoxNwGFDFZkBA5SbnWiV+GGRVUYG2/Wq?= =?us-ascii?q?s6/XlvFIOkCa/IQYe2jbmI2jz9GYdZMDMVQmuQGGvlIt3XE8wHbzifd4o4ymQJ?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CPAQBNTV9Z/w/HQVdbHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgy9EIIEUjglzjw6BaSsBiAKNVYIRLoVuAoM/QBgBAQEBAQEBAQE?= =?us-ascii?q?BAWoogjMkAYJBAQU6HCMQCxgJJQ8SGB4GE4oXAxkMrkARg0mHNA2DcwEBAQEBA?= =?us-ascii?q?QEDAQEBAQEBHQWDKIhRgleIBwWJW5UGO4dIh1SEYXyRMIt3iUIfOIEKUjAISYJ?= =?us-ascii?q?XgjwcgWk+NgEBAQGJGgEBAQ?= X-IPAS-Result: =?us-ascii?q?A2CPAQBNTV9Z/w/HQVdbHAEBBAEBCgEBFwEBBAEBCgEBgy9?= =?us-ascii?q?EIIEUjglzjw6BaSsBiAKNVYIRLoVuAoM/QBgBAQEBAQEBAQEBAWoogjMkAYJBA?= =?us-ascii?q?QU6HCMQCxgJJQ8SGB4GE4oXAxkMrkARg0mHNA2DcwEBAQEBAQEDAQEBAQEBHQW?= =?us-ascii?q?DKIhRgleIBwWJW5UGO4dIh1SEYXyRMIt3iUIfOIEKUjAISYJXgjwcgWk+NgEBA?= =?us-ascii?q?QGJGgEBAQ?= Received: from 15.199-65-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.65.199.15]) by relay.skynet.be with ESMTP; 07 Jul 2017 11:02:21 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v6792LsE006820; Fri, 7 Jul 2017 11:02:21 +0200 (CEST) (envelope-from tijl@coosemans.org) Date: Fri, 7 Jul 2017 11:02:20 +0200 From: Tijl Coosemans To: blubee blubeeme Cc: FreeBSD current Subject: Re: Installing Linux libraries in /compat Message-ID: <20170707110220.14c1df6b@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2017 09:03:35 -0000 On Fri, 7 Jul 2017 15:05:19 +0800 blubee blubeeme 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 > 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.