tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USE_PKGSRC_GCC_RUNTIME



> I'm currently seing an even weirder problem. I stage-installed devel/gmp 
> and ldd of libgmpxx.so.4.5.2 in DESTDIR reveals
> /var/work/pkgsrc/devel/gmp/work/.destdir/usr/pkg/lib/libgmpxx.so.4.5.2:
> [...]
>         -lgcc_s.1 => /lib/libgcc_s.so.1
> [...]
>         -lgcc_s.1 => /usr/pkg/gcc6//lib/./libgcc_s.so.1
>         -lgcc_s.1 => /usr/pkg/gcc6/x86_64--netbsd/lib/./libgcc_s.so.1
> 
> I can understand the /lib one, but the second-to-bottom is owned by 
> gcc6, not gcc6-libs?
This was partly a red herring. If i pkg_delete gcc6, I get
/var/work/pkgsrc/devel/gmp/work/.destdir/usr/pkg/lib/libgmpxx.so.4.5.2:
[...]
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
[...]
        -lgcc_s.1 => /usr/pkg/gcc6/x86_64--netbsd/lib/./libgcc_s.so.1

I don't understand the /lib -> /usr/lib change, but at least there's no 
dependency on a library owned by the libc6 package any longer. I guess it's 
something about library resolution preferences.


Home | Main Index | Thread Index | Old Index