tech-pkg archive

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

Re: openjdk8 missing /usr/pkg/gcc6/x86_64--netbsd/lib RPATH when built with gcc-6.4



On Wed, Jul 25, 2018 at 10:59:00PM +0100, David Brownlee wrote:
> Since netbsd-8 has to pull in gcc-6 in order to build firefox I
> thought I'd try building a few other packages with gcc-6 to see if
> anything exploded.
> 
> One detonater was openjdk8, which fails with
> 
> Error: failed /usr/pkg/java/openjdk8/jre/lib/amd64/server/libjvm.so,
> because /usr/lib/libstdc++.so.7: version CXXABI_1.3 required by
> /usr/pkg/java/openjdk8/jre/lib/amd64/server/libjvm.so not defined
> 
> # ldd /usr/pkg/java/openjdk8/jre/lib/amd64/server/libjvm.so
> /usr/pkg/java/openjdk8/jre/lib/amd64/server/libjvm.so:
>         -lstdc++.7 => /usr/lib/libstdc++.so.7
> 
> Setting "export LD_LIBRARY_PATH=/usr/pkg/gcc6/x86_64--netbsd/lib"
> allows everything to work
> 
> Would anyone have any ideas on how to approach fixing this :)
> 
> Thanks
> 
> David

Does taking in this change help?
https://mail-index.netbsd.org/pkgsrc-changes/2018/07/23/msg178613.html


Home | Main Index | Thread Index | Old Index