From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 20:29:01 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEF0A106566C; Thu, 23 Aug 2012 20:29:01 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 10B708FC0C; Thu, 23 Aug 2012 20:29:00 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC41C8D.dip.t-dialin.net [79.196.28.141]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 34F9084408B; Thu, 23 Aug 2012 22:28:42 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 9ABB411BA; Thu, 23 Aug 2012 22:28:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1345753719; bh=BXS1LTLpREUwAG4O5ekMiduuNzmacE9ODrs5wmfgd6I=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=S8o0f0poqoFBL30EkoZ6ns6/PZocJetQw71K2J3vSEJmXUkgFBg/mgzke10n4Wjh+ UjOEWroGnyvssj/G7X+TB/DrQLRxCKPu2o1Wk9cyPad6VVeUFiS/uTTuC3ZLSCfxxP S7o7RK7VJg5HZdVBJoBeFW/frbihMHYAahmiAASQLMeMlE4NcKU5DwXzaRvuhtNv2O wgVNjuob9euprhBM2rWB6lMX++oB7jyFhl1UlCnP+tJn3V/NJ7Qo+le3i6dCCsK0dH zvGtMngV9oHXogZcImGH41K9nnO7OEyRlN7WpHF/EKS+HpLNS1yqUOdXnIZxd77d6Q 8XFfr28NF7Tug== Date: Thu, 23 Aug 2012 22:28:38 +0200 From: Alexander Leidinger To: "Julian H. Stacey" Message-ID: <20120823222838.00007359@unknown> In-Reply-To: <201208231229.q7NCTnTc092147@fire.js.berklix.net> References: <20120823.090732.2097891423424508303.hrs@allbsd.org> <201208231229.q7NCTnTc092147@fire.js.berklix.net> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 34F9084408B.AF665 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.416, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL 0.09, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_62 0.60, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1346358522.6886@8gAMfGbUdwPFuMQZXAz41g X-EBL-Spam-Status: No Cc: freebsd-emulation@freebsd.org, Hiroki Sato Subject: Re: /usr/ports/print/acroread9 & ldd shared lib errors (fwd) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2012 20:29:01 -0000 On Thu, 23 Aug 2012 14:29:49 +0200 "Julian H. Stacey" wrote: Quick workaround: did you try acroread8? v9 is known to use syscalls which are not implemented (or do I mix 9 with 10... sorry, I don't take the time to lookup if we have 8 and 9 or 9 and 10). More inline below. > Hi, > Hiroki Sato wrote: > > "Julian H. Stacey" wrote > > > > jh> Hi hrs@FreeBSD.org, > > jh> Sorry, just realised I should have sent you a copy of this > > jh> > > jh> Forwarded from: "Julian Stacey" > > jh> http://www.berklix.com/~jhs/ ------- Forwarded Message > > jh> > > jh> To: freebsd-emulation@freebsd.org > > jh> Subject: /usr/ports/print/acroread9 & ldd shared lib errors > > jh> From: "Julian H. Stacey" > > jh> Organization: http://berklix.com BSD Unix Linux Consultancy, > > jh> Munich Germany User-agent: EXMH on FreeBSD > > jh> http://berklix.com/free/ X-URL: http://www.berklix.com > > jh> In-reply-to: Your message "Wed, 22 Aug 2012 18:41:06 +0200." > > jh> <20120822164106.GE4301@localhost> > > jh> Date: Thu, 23 Aug 2012 00:35:43 +0200 > > jh> Sender: jhs@fire.js.berklix.net > > jh> > > jh> Hi freebsd-emulation@ > > jh> I am trying to get current version of /usr/ports/print/acroread9 > > jh> to work on FreeBSD8.2-RELEASE src/ based systems, both i386 & > > jh> amd64 available here (also available: 8.3-REL & 9.0-REL amd64 > > jh> if necessary). > > jh> > > jh> I am seeing errors from ldd, shown on my > > jh> http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/doc/en_US.ISO8859-1/books/handbook/linuxemu-adobe.html > > jh> > > jh> & request help/ suggestions. > > jh> Once I have this working, I'd happily smarten the page & then > > jh> send-p to help others. > > jh> > > jh> I have eg libBIB.so but not sure where to toss it ? > > jh> I currently have 2 copies even, in compat & local. > > > > I cannot understand what your problem is. acroread9 did not run on > > your system? > > Right, It starts, but various errors, both to invoking command line > & also to pop up windows, please see > > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/doc/en_US.ISO8859-1/books/handbook/linuxemu-adobe.html > > where I documented checking everything to see what was wrong, & found > ldd shows some libs are still unresolved per URL above: > i386 > libBIB.so => not found > amd64 > libBIB.so: cannot open shared object file > libs remained missing after > (cd /usr/local/Adobe/Reader9;tar cf - . > )|(cd /compat/linux/Adobe/Reader9 && tar xf - ) ldconfig > -R /compat/linux/Adobe/Reader9/ENU/Adobe/Reader9/Reader/intellinux/lib > ldd /usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Reader/intellinux/bin/acroread Do not use the FreeBSD ldd, it does not search in the correct places. Do not use the FreeBSD ldconfig, it is not involved here. You need to run the linux ldd/ldconfig (best from a linux shell). > Please see my web page at text lines: > because per quote from `man ldconfig`: > Filenames must conform to the lib > > I or you in port could cludge those numeric failures, (rename, relink) > but is it necessary to ? > or should the Linux ABI/emulator work round it ? No. > I presume it's common for Linux to have .so.[0-9].[0.9] & FreeBSD to > use just .so.[0-9] So I guess FreeBSD might already have some > standard mapping mechanism for Linux lib names ? IIRC libtool handles this. > I dont know if acroread libs should be in /usr/local or /compat ? They shall be where the port places them. > I don't know if I should be setting more ldconfig vars in rc.conf ? At least not for the FreeBSD ldconfig. It's the linux ldconfig which is responsible here (or may the LD_LIBRARY_PATH, I haven't checked acroread9). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137