From owner-freebsd-questions Wed Sep 6 5:22:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ipamzlx.physik.uni-mainz.de (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54]) by hub.freebsd.org (Postfix) with ESMTP id ACB2137B423 for ; Wed, 6 Sep 2000 05:22:28 -0700 (PDT) Received: from ipamzlx.Physik.Uni-Mainz.DE (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54]) by ipamzlx.physik.uni-mainz.de (8.11.0/8.9.3) with ESMTP id e86COqG09114; Wed, 6 Sep 2000 14:24:52 +0200 (CEST) (envelope-from ohartman@ipamzlx.physik.uni-mainz.de) Date: Wed, 6 Sep 2000 14:24:52 +0200 (CEST) From: "O. Hartmann" To: Alfred Perlstein Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Lahey Fortran95 and FreeBSD/Linux Emulation In-Reply-To: <20000905105903.P18862@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Sep 2000, Alfred Perlstein wrote: Well ... Here I am again, a new issue of the old problem. I'm soory, but acting like a foolish newbie isn't of mine and I do not want myself to be one, but I ran into new problems. After I realized, that binaries has to be "branded" for usage with Linux and after I realized, that compat/linux is the "root tree" for all lib-searches, after installing the linux_devtools port out of the ports-collection, I got rid of many previous problems. Now I made some links of the lib-path of the installation of Lahey Fujitsu Fortran 96 compiler into /compat/linux/usr/local/lib and I added the specific row into ld.so.conf. Fortran compiler now runs perfectly through the code, but after compiling, I try to start the binary - and I get this error message: ddscat: error in loading shared libraries: libfj9i6.so.1: ELF file OS ABI invalid. What is that? I branded both the lib and the binary to be Linux type ... and now it says, that I have some OS ABI problems? Oliver :>* O. Hartmann [000905 10:12] wrote: :>> On Tue, 5 Sep 2000, Alfred Perlstein wrote: :>> :>> :>These aren't system calls they are symbols probably exported by glibc, :>> :>(tyhe Linux standard C library), to get around this I would try :>> :>installing /usr/ports/devel/linux_devtools, and trying to find a way :>> :>to inform the Lahey compiler to use the Linux tools and link with :>> :>the linux libraries. :>> :> :>> :>Another option would be to contact Lahey and ask them for some help. :>> :> :> :>> Dear Mr. Perlstein. :>> Well, thank you for your hint! I installed the port linux_devtools :>> and - the devil knows, the Lahey F95 compiler works and compiles :>> without any errors. :>> :>> But starting the binary this reports not finding libfj9i6.so, :>> and I do not know why. :>> :>> The binary is branded to be Linux, the /usr/local/lf9555/lib path :>> is part of ldconfig and I added a row to /compat/linux/etc/ld.so.conf, :>> so paths to the appropriate shared object should already exists. :>> :>> :>> The error is: :>> :>> ddscat: error in loading shared libraries: libfj9i6.so.1: cannot open shared object file: No such file or directory :>> :>> Well, if you have another hint left for me, please send it, I :>> will contact Lahey, too. :> :>Hrm, that's confusing, why not try to mirror the Lahey install under :>/usr/compat/linux/usr/local/ as well and let me know if that helps? :> :>Please let me know how/if you get this working, it would make a really :>nice "howto get Lahey running under FreeBSD webpage". :> :>thanks, :>-Alfred :> Gruss O. Hartmann ------------------------------------------------------------------- ohartman@ipamzlx.physik.uni-mainz.de Klimadatenserver des IPA, Universitaet Mainz Netzwerk- und Systembetreuung To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message