|
Re: QNX650: qcc (4.8.3) gives error while loading shared libraries (libstdc++.so.6)
|
06/26/2015 3:08 PM
post114031
|
Re: QNX650: qcc (4.8.3) gives error while loading shared libraries (libstdc++.so.6)
If you're running it on a 64bit system, the toolchain is built against
2bit libs? You might have to install the libstdc++ i386 lib e.g.
sudo apt-get install lib32stdc++6 on ubuntu (or equivalent with other
distros/package managers)
Regards,
Ryan Mansfield
On 15-06-26 03:03 PM, Jane McIllen wrote:
> I'm trying to use the current qcc compiler (4.8.3) for QNX650 on Linux. So far it's just extracting and copy/pasting.
>
> But when I try to build my libraries I get the error msg:
>
> i486-pc-nto-qnx6.5.0-g++: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No
such file or directory
>
> When I ldd on i486-pc-nto-qnx6.5.0-g++ then I get indeed
>
> ldd /../qnx650/host/linux/x86/usr/bin/i486-pc-nto-qnx6.5.0-g++-4.8.3
> linux-gate.so.1 => (0xf7784000)
> libstdc++.so.6 => not found
> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7721000)
> libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7703000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7555000)
> /lib/ld-linux.so.2 (0xf7785000)
>
> Apperently all the other libraries can be found.
>
> What am I doing wrong and how can I resolve this?
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post114030
> To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
>
|
|
|