Re: Re: [Lsb-build] Need an lsb chroot build environment with real libs instead of stubs.
"Christopher Yeoh" <[email protected]> Thu, 5 Feb 2004 11:23:16 +1100
| Newsgroups | gmane.linux.lsb.implementation |
|---|---|
| Message-ID | <[email protected]> |
At 2004/2/4 16:33-0700 Bart Whiteley writes: > I did notice this: > > # ldd /opt/lsbsi-1.3.1/opt/gcctmp/bin/gcc > libc.so.6 => /lib/i686/libc.so.6 (0x40028000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > # ls /opt/lsbsi-1.3.1/lib/ld-linux* > /bin/ls: /opt/lsbsi-1.3.1/lib/ld-linux*: No such file or directory > > So there's no ld-linux.so.2 in lsbsi. Could this be the problem? > How do I get around this? That is the problem. Its caused by trying to run a non lsb compliant binary (gcc) in the si. You can most likely work around it by creating a symlink from /lib/ld-linux.so.2 (standard runtime linux linker) to /lib/ld-lsb.so.1 (LSB runtime linker). Note that when it comes to testing the application you have built in the SI, you'll want to remove that link before doing so, as the LSB compliant binaries should use the LSB runtime linker. Chris -- [email protected] IBM OzLabs Linux Development Group Canberra, Australia