problems with libstdc++.so.4 under linux emulation

Feargal Reilly feargal at chrysalink.net
Fri Oct 10 19:27:04 PDT 2003


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20031011/e2647983/attachment.bin


More information about the freebsd-emulation mailing list