On 12/27/06, Joseph Oaks <[EMAIL PROTECTED]> wrote:
> CC="gcc" /usr/bin//perl scripts/test-installation.pl /sources/glibc-build/
> /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lcidn
> collect2: ld returned 1 exit status
> sh: line 1: -L/usr/lib: No such file or directory
> Execution of gcc failed!
> The script has found some problems with your installation!
I think you might have just made an error with an sed command.
Particularly, this one
sed -i \
's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
scripts/test-installation.pl
Something wasn't done right because the script test-installation.pl is
interpreting -L/usr/lib as a command when it's supposed to be part of
the compile command. Since the -L/usr/lib is not being interpreted as
something for the compiler, it never finds /usr/lib/libcidn.so,
causing the "cannot find -lcidn" error.
Restart the glibc build, making sure that you have the above command
correct. Copy and paste it if you can.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page