tech-pkg archive

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

Re: gcc8 on CentOS 7



On 3/18/19 1:31 PM, Jason Bacon wrote:
On 3/17/19 12:27 AM, maya%netbsd.org@localhost wrote:
Re-run the gcc invocation manually (enter the same directory and run the
command)
If this succeeds, then it's a pkgsrc wrappers issue.
If this fails still, use -Wl,--verbose to see why it has issues.
Attached the verbose output.

libz.* exist in ~/Pkgsrc/pkg/lib, but it's not looking there. Should it be?  Or should there be a link to it somewhere else?

Thanks,

    JB

Picking another random and small package that uses libz, I see that the link does look in work/.buildlink/lib:

attempt to open /usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.4.0/libz.so failed attempt to open /usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.4.0/libz.a failed
attempt to open /usr/pkg/gcc6/lib64/libz.so failed
attempt to open /usr/pkg/gcc6/lib64/libz.a failed
attempt to open /usr/pkgsrc/biology/htslib/work/.buildlink/lib/libz.so succeeded
-lz (/usr/pkgsrc/biology/htslib/work/.buildlink/lib/libz.so)

I'm assuming I should be seeing the same in gcc8, but I am not, although gcc8 does have

.include "../../devel/zlib/buildlink3.mk"

Continuing to investigate, but would appreciate any suggestions.

Thanks,

    JB


Home | Main Index | Thread Index | Old Index