Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 03:26:24 +0100
From:      Feargal Reilly <feargal@chrysalink.net>
To:        freebsd-emulation@freebsd.org
Subject:   problems with libstdc++.so.4 under linux emulation
Message-ID:  <20031011032624.10f7a7a3.feargal@chrysalink.net>

next in thread | raw e-mail | index | archive | help
--=.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--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031011032624.10f7a7a3.feargal>