tech-pkg archive

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

Re: gcc48-libs vs. gcc48 (gcc48/{x86_64--netbsd/,}lib)



> This way the dependency is explicitly made upon the -libs package rather 
> than relying on dependency ordering.
I do have the right formal dependency (on gcc48-libs).
However, the binary package doesn't run without gcc48 installed because it 
needs files contains in the gcc48 package to work: the library files in 
gcc48/libs; gcc48-libs contains gcc48/x86_64--netbsd/libs.

$ /usr/pkg/sbin/pkg_info -I -F /usr/pkg/lib/libboost_atomic.so.1.55.0 
boost-libs-1.55.0nb1 Free, peer-reviewed portable C++ source libraries (binary 
libraries)
$ ldd /usr/pkg/lib/libboost_atomic.so.1.55.0 
/usr/pkg/lib/libboost_atomic.so.1.55.0:
        -lm.0 => /usr/lib/libm.so.0
        -lstdc++.6 => /usr/pkg/gcc48//lib/./libstdc++.so.6
        -lpthread.0 => /usr/lib/libpthread.so.0
$ /usr/pkg/sbin/pkg_info -n boost-libs
Information for boost-libs-1.55.0nb1:

Requires:
{gcc,gcc48-libs}>=4.8.2
{gcc,gcc48-libs}>=4.8.0

$ /usr/pkg/sbin/pkg_info -I -F /usr/pkg/gcc48/lib/libstdc++.so.6
gcc48-4.8.2         The GNU Compiler Collection (GCC) - 4.8 Release Series
$ /usr/pkg/sbin/pkg_info -L gcc48-libs | fgrep libstdc++.so.6
/usr/pkg/gcc48/x86_64--netbsd/lib/libstdc++.so.6
/usr/pkg/gcc48/x86_64--netbsd/lib/libstdc++.so.6.18
/usr/pkg/gcc48/x86_64--netbsd/lib/libstdc++.so.6.18-gdb.py


Home | Main Index | Thread Index | Old Index