* kernel can't library file
@ 2000-07-12 13:10 Kwansuk Kim
2000-07-12 14:35 ` TWG - pat, mark & steve
2000-07-12 14:44 ` TWG - pat, mark & steve
0 siblings, 2 replies; 4+ messages in thread
From: Kwansuk Kim @ 2000-07-12 13:10 UTC (permalink / raw)
To: LinuxPPC
I heard the solution for network configuration was three.
1) etc/protocols, services
2) /proc
3) same compiler version between kernel, program, and library.
first 2 solution had no effect.
So I searched for the program and library 2.1.2(2.1.1?)
I use montavista developement kit and I found root file system in target directory.
It was very huge, so I copy just few files to ramdisk.
but kernel shows such a message.
-----------
ttyS00 at 0x0380 is a SMC
ttyS01 at 0x0100 is a SCC
ttyS02 at 0x0200 is a SCC
pty: 256 Unix98 ptys configured
RAM disk driver initialized: 16 RAM disks of 8192K size
eth0: CPM ENET Version 0.2, 00:01:c4:00:00:b1
IP-Config: Incomplete network configuration information.
dev_close: bug eth0 still running
RAMDISK: Compressed image found at block 0
RAMDISK: Decompressed successfullyVFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 32k init
?nit: error in loading shared libraries: libdl.so.2: cannot open shared object
file: No such file or directory
----------
in lib directory there are
ld.so.1 libdl.so.2 libc.so.6
it's for bash program. I think bash prompt should be present.
anyone had such a problem?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel can't library file
2000-07-12 13:10 kernel can't library file Kwansuk Kim
@ 2000-07-12 14:35 ` TWG - pat, mark & steve
2000-07-12 14:57 ` Dan Malek
2000-07-12 14:44 ` TWG - pat, mark & steve
1 sibling, 1 reply; 4+ messages in thread
From: TWG - pat, mark & steve @ 2000-07-12 14:35 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: LinuxPPC
In the MontaVista target directory, libdl.so.2 is a link to the actual
library, libdl-2.1.2.so. Make sure that the libraries are real ones, not
just links. (I'm a linux newbie, but I have seen that you often can't
follow links under NFS, perhaps a protection issue?)
I solved the problem brute force, by copying
opt/hardhat...../target/lib/libdl-2.1.2.so /nfsmnt/lib/libdl.so.2
(nfsmnt is the directory I mount for the target)
Hope that helps
Mark Phillips
On Wed, 12 Jul 2000, Kwansuk Kim wrote:
>
> I heard the solution for network configuration was three.
>
> 1) etc/protocols, services
> 2) /proc
> 3) same compiler version between kernel, program, and library.
>
> first 2 solution had no effect.
>
> So I searched for the program and library 2.1.2(2.1.1?)
>
> I use montavista developement kit and I found root file system in target directory.
>
> It was very huge, so I copy just few files to ramdisk.
>
> but kernel shows such a message.
>
>
> -----------
>
> ttyS00 at 0x0380 is a SMC
> ttyS01 at 0x0100 is a SCC
> ttyS02 at 0x0200 is a SCC
> pty: 256 Unix98 ptys configured
> RAM disk driver initialized: 16 RAM disks of 8192K size
> eth0: CPM ENET Version 0.2, 00:01:c4:00:00:b1
> IP-Config: Incomplete network configuration information.
> dev_close: bug eth0 still running
> RAMDISK: Compressed image found at block 0
> RAMDISK: Decompressed successfullyVFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 32k init
>
> ?nit: error in loading shared libraries: libdl.so.2: cannot open shared object
> file: No such file or directory
>
> ----------
>
> in lib directory there are
>
> ld.so.1 libdl.so.2 libc.so.6
>
> it's for bash program. I think bash prompt should be present.
>
> anyone had such a problem?
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel can't library file
2000-07-12 14:35 ` TWG - pat, mark & steve
@ 2000-07-12 14:57 ` Dan Malek
0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2000-07-12 14:57 UTC (permalink / raw)
To: TWG - pat, mark & steve; +Cc: Kwansuk Kim, LinuxPPC
"TWG - pat, mark & steve" wrote:
>
> In the MontaVista target directory, libdl.so.2 is a link to the actual
> library, libdl-2.1.2.so. Make sure that the libraries are real ones, not
> just links. (I'm a linux newbie, but I have seen that you often can't
> follow links under NFS, perhaps a protection issue?)
Any properly working NFS on a system that supports symbolic links
works fine. You obviously can't link outside of your parent tree,
but this doesn't do that. These distributions won't work if symbolic
links don't.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel can't library file
2000-07-12 13:10 kernel can't library file Kwansuk Kim
2000-07-12 14:35 ` TWG - pat, mark & steve
@ 2000-07-12 14:44 ` TWG - pat, mark & steve
1 sibling, 0 replies; 4+ messages in thread
From: TWG - pat, mark & steve @ 2000-07-12 14:44 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: LinuxPPC
(Sorry, I should ponder a little more before sending)
I left out 2 pieces in my earlier response:
1. Use
powerpc-linux-objcopy --strip-debug <orig. library> <target
library>
THis greatly reduces the size of the libs, especially helpful when you
want to start using an initrd.
2. Run tcpdump on another console while you're trying to boot (or
ethereal), this will show you the filenames the target is searching for.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-07-12 14:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 13:10 kernel can't library file Kwansuk Kim
2000-07-12 14:35 ` TWG - pat, mark & steve
2000-07-12 14:57 ` Dan Malek
2000-07-12 14:44 ` TWG - pat, mark & steve
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).