From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,c6543716eddb32d8 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2004-03-18 11:50:12 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!fu-berlin.de!uni-berlin.de!ti211310a080-2480.bb.online.NO!not-for-mail From: mru@kth.se (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Newsgroups: comp.os.linux.alpha Subject: Re: x86 binary emulation for alpha Date: Thu, 18 Mar 2004 20:50:07 +0100 Message-ID: References: NNTP-Posting-Host: ti211310a080-2480.bb.online.no (83.108.9.176) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1079639407 74147060 I 83.108.9.176 ([216513]) User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:JVTYgvFF3EsqxrUPbWGYL+9C+m0= Xref: archiver1.google.com comp.os.linux.alpha:589 Michal Jaegermann writes: > Roy Kidder wrote: >> On Wed, 17 Mar 2004 02:02:47 +0100, M�ns Rullg�rd wrote: >> >>> Most of them will run if the kernel has ECOFF support enabled and you >>> install the tru64 shared libraries. >> >> I copied the binary over and ran in only to get the error message: "Fatal >> Error: cannot map libpthread.so". libpthread.so does exist in >> /usr/lib/libpthread.so, > > This is NOT THAT library. Tru64 shared libs will be located in places > like /shlib and /usr/shlib, have their own loader, and a format quite a > bit different than /usr/lib/libpthread.so which is a Linux library. If > you do not have corresponding pieces installed then none of shared Tru64 > libraries will be found. He obviously has the /sbin/loader installed since it is printing error messages. > Also Tru64 programs using threading will have problems on Linux. Saying > that on a number of occasions I got such things to run correctly by > "cheating" and making 'libpthread.so' into a link to libc.so, IIRC; of > course in /usr/shlib and not with Linux libraries. Surprisingly enough > quite often this is all what you need. Really? Those programs must be linking against libpthread.so without actually using any of it. Is there a reason for doing that way, or are they just being stupid? -- M�ns Rullg�rd mru@kth.se