From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 10 19:27:04 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2737C16A4B3 for ; Fri, 10 Oct 2003 19:27:04 -0700 (PDT) Received: from ni-mail2.dna.utvinternet.net (ni-mail2.dna.utvinternet.net [194.46.8.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E38343F85 for ; Fri, 10 Oct 2003 19:27:02 -0700 (PDT) (envelope-from feargal@chrysalink.net) Received: from beaker.chrysalink.net (unverified [195.218.107.177]) by ni-mail2.dna.utvinternet.net for ; Sat, 11 Oct 2003 03:27:00 +0100 Date: Sat, 11 Oct 2003 03:26:24 +0100 From: Feargal Reilly To: freebsd-emulation@freebsd.org Message-Id: <20031011032624.10f7a7a3.feargal@chrysalink.net> Organization: Chrysalink Systems X-Mailer: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i386-unknown-freebsd4.9) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.wve2LPFkf5EzBR" Subject: problems with libstdc++.so.4 under linux emulation X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 11 Oct 2003 02:27:04 -0000 --=.wve2LPFkf5EzBR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, I've been trying to get an application running on FreeBSD 4.6-RELEASE using the 7.1 linux compatibility. The application requires libstdc++.so.4, so I found an rpm and installed it rooted in /compat/linux When I try to run the application, I receive the following error: ./rvoice_server: /usr/lib/libstdc++.so.4: no version information available (required by ./rvoice_server) ldd gives the same error, I had a look at libstdc++.so.4 with objdump, but couldn't see anything obviously wrong, but my experience there is extremely limited. Looking at it with file tells me: libstdc++.so.4.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped Not sure if this is correct, but changing it leads to segfaults. Checking the application gives: rvoice_server: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped Changing it to Linux has no obvious change, and changing it to FreeBSD breaks the linker, but I assume that's no surprise. I found a few references to similar problems with other libraries, but the only fix I found was to recompile it with --enable-gnu However I'm not sure what architecture that advice was aimed for, and given my inexperience with the linux compatibility, I figured I'd better check that I'm not barking up the wrong tree first before risking introducing even more incompatabilities. Has anybody encounter similar problems, and can anybody suggest other possible solutions? Many thanks, -Feargal. -- Feargal Reilly, Codeshifter, Chrysalink Systems. --=.wve2LPFkf5EzBR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/h2pWVb/truchu+YRAjpGAJ41+NaQW+Rl7A0XH3Tpkn49dVMgAACeJvY8 /ntZpJluXY21lTkcbKxE8VM= =jaBD -----END PGP SIGNATURE----- --=.wve2LPFkf5EzBR--