I'm on a system where strlcat is not defined. netcdf then builds with strlcat and exports the symbol. Then a user creates a binary that links against another library that also doesn't see strlcat and also exports strlcat. The linker is then sad. Neither package should be exporting strlcat. I'm hacking around in my system by renaming strlcat to nc_strlcat.
Environment Information
netcdf 4.6.1 point release
Feel free to skip this if the issue is related to documentation, a feature request, or general discussion.
- What platform are you using? (please provide specific distribution/version in summary)
- 32 and/or 64 bit?
- What build system are you using?
- Can you provide a sample netCDF file or
C code to recreate the issue?
Steps to reproduce the behavior
Link against something like unix file or https://virustotal.github.io/yara/
I'm on a system where strlcat is not defined. netcdf then builds with strlcat and exports the symbol. Then a user creates a binary that links against another library that also doesn't see strlcat and also exports strlcat. The linker is then sad. Neither package should be exporting strlcat. I'm hacking around in my system by renaming strlcat to nc_strlcat.
Environment Information
netcdf 4.6.1 point release
Ccode to recreate the issue?Steps to reproduce the behavior
Link against something like unix file or https://virustotal.github.io/yara/