tech-pkg archive

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

Re: mysql built with pkgsrc gcc6 missing atomic.so



* On 2019-04-30 at 06:23 BST, David Brownlee wrote:

> Mysql-5.7 built with pkgsrc gcc the installed on another machine fails to
> run due to missing libatomic.so
> 
> ldd `which mysql`|ag latomic
>         -latomic.3 => not found
> 
> Installing gcc6-libs-6.5.0nb3 fixes it
> 
> ldd `which mysql`|ag latomic
>         -latomic.3 => /usr/pkg/gcc6/x86_64--netbsd/lib/./libatomic.so.3
> 
> Should mysql set USE_PKGSRC_GCC_RUNTIME?

The package-settable variable is USE_GCC_RUNTIME, which it should set.

USE_PKGSRC_GCC_RUNTIME is a user variable indicating whether to depend
on the -libs packages instead of the full gcc package.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index