Beckhag
2002-08-05 08:30:49 UTC
Hi,
I'm trying to cross-compile viewml for assabet board. The cross-compile process looks good, but after I load it into flash and run it on my board. It said,
-------------
[***@Linux bin]$viewml: error while loading shared libraries: cannot open shared object file: cannot load shared object file: No such file or directory
[***@Linux /lib]$ls
libm.so.6 ld-linux.so.2 ld-2.2.3.so
libcrypt-2.1.3.so libcrypt.so.1 libc.so.6
libdb-2.1.3.so libdb.so.3 libdl-2.1.3.so
libdl.so.2 libnsl-2.1.3.so libnsl.so.1
libnss_dns-2.1.3.so libnss_dns.so.2 libnss_files-2.1.3.so
libnss_files.so.2 libproc.so.2.0.0 libresolv-2.1.3.so
libresolv.so.2 libtermcap.so.2 libtermcap.so.2.0.8
libutil-2.1.3.so libutil.so.1 libpthread.so.0
libm-2.2.3.so libc-2.2.3.so libpthread-0.9.so
------------
I've checked the library it depends, it's all there.So I got confused, and I'm wondering if it's really a shared library problem, I mean, it should tell me WHICH library it needs if it's lack of shared libraries. but it just tell me it lacks and don't let me know what the hack it lacks. Someone please help me out of this.
BTW, It runs OK at my host machine(Redhat7.2)
[***@linux src]# ldd viewml
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4002c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40041000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4011f000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4012d000)
libm.so.6 => /lib/i686/libm.so.6 (0x4016f000)
libc.so.6 => /lib/i686/libc.so.6 (0x40192000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Best Regards
==============================
Beckhag
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
I'm trying to cross-compile viewml for assabet board. The cross-compile process looks good, but after I load it into flash and run it on my board. It said,
-------------
[***@Linux bin]$viewml: error while loading shared libraries: cannot open shared object file: cannot load shared object file: No such file or directory
[***@Linux /lib]$ls
libm.so.6 ld-linux.so.2 ld-2.2.3.so
libcrypt-2.1.3.so libcrypt.so.1 libc.so.6
libdb-2.1.3.so libdb.so.3 libdl-2.1.3.so
libdl.so.2 libnsl-2.1.3.so libnsl.so.1
libnss_dns-2.1.3.so libnss_dns.so.2 libnss_files-2.1.3.so
libnss_files.so.2 libproc.so.2.0.0 libresolv-2.1.3.so
libresolv.so.2 libtermcap.so.2 libtermcap.so.2.0.8
libutil-2.1.3.so libutil.so.1 libpthread.so.0
libm-2.2.3.so libc-2.2.3.so libpthread-0.9.so
------------
I've checked the library it depends, it's all there.So I got confused, and I'm wondering if it's really a shared library problem, I mean, it should tell me WHICH library it needs if it's lack of shared libraries. but it just tell me it lacks and don't let me know what the hack it lacks. Someone please help me out of this.
BTW, It runs OK at my host machine(Redhat7.2)
[***@linux src]# ldd viewml
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4002c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40041000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4011f000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4012d000)
libm.so.6 => /lib/i686/libm.so.6 (0x4016f000)
libc.so.6 => /lib/i686/libc.so.6 (0x40192000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Best Regards
==============================
Beckhag
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>