Hi,

Den 15.06.2026 14:41, skrev Stuart Henderson:
clang t1.cc -o t1 -I /usr/local/include/ -I /usr/pkg/include/ -L /usr/local/lib 
-L /usr/pkg/lib
-lboost_iostreams -lstdc++
You certainly shouldn't be using -lstdc++ with clang on OpenBSD.
(And I'd be pretty surprised if you should be doing that on FreeBSD).

Indeed, calling clang++ instead of clang would be the correct call:

clang++ t1.cc -o t1 -I /usr/local/include/ -I /usr/pkg/include/ -L /usr/local/lib -L /usr/pkg/lib -lboost_iostreams

However, for the BOOST/zstd issue, it does not make a difference.

--
Best regards / Mit freundlichen Grüßen / Med vennlig hilsen

=======================================================================
 Thomas Dreibholz

 Simula Metropolitan Centre for Digital Engineering
 Centre for Resilient Networks and Applications
 Stensberggata 27
 0170 Oslo, Norway
-----------------------------------------------------------------------
 E-Mail:[email protected]
 Homepage:http://simula.no/people/dreibh
=======================================================================

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to