Matthew Burgess wrote:
> Hi,
>
> While testing out a build with Glibc-2.13, the test-installation.pl
> script outputs the following:
>
> /tools/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lnss_test1 collect2: ld returned 1 exit status Execution
> of gcc failed!
>
> Now, this is because libnss_test1.so & libnss_test1.so.2 didn't get
> installed as part of 'make install'.
>
> Given its name, and the commit message of "Add self-contained test
> for NSS" (see
> http://sourceware.org/ml/glibc-cvs/2010-q3/msg00052.html), I'm
> wondering whether test-installation.pl should just be filtering that
> library out (see lines 108-109 of that script)? Or is that library
> part of the nss interface and should actually be installed by 'make
> install'?
>
> I'm testing now with the library being filtered out to see how the
> rest of the build gets on.
What I see is:
if ( $name ne "nss_ldap" &&
$name ne "db1" &&
!($name =~/^nss1_/) &&
$name ne "thread_db")
{
$link_libs .= " -l$name";
$versions{$name} = $version;
}
It would appear that the third line is not filtering out nss_test1.
Looks like a bug to me. A library named *test* should net be required.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page