How to resolve libstdc++.6.dylib dependency

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Mar 24 15:07:36 UTC 2018


Cameron Kaiser builds and distributes TenFourFox which is a c++11 app built with gcc48 against a new libstdc++. 

He has worked a lot of this out.

His instructions are here <https://github.com/classilla/tenfourfox/wiki/HowToBuildFPR#distributing-the-executable>, and there's a script in the repo that automates a lot of it.

Best, Ken

> On Mar 24, 2018, at 06:35, Andreas Falkenhahn <andreas at falkenhahn.com> wrote:
> 
> When I compile my C++11 project on a 10.5 PPC system using gcc6 and try to run it on another 10.5 PPC system that doesn't have gcc6 installed, I get an error that a symbol cannot be imported from /usr/lib/libstdc++.6.dylib. I guess this is because the libstdc++.6.dylib that is shipped with 10.5 doesn't contain those new features required by C++11 programs.
> 
> So what is the recommended way of getting the libstdc++.6.dylib required by my program onto a user system? Of course I wouldn't like to bother users to install gcc6 from Mac Ports just to be able to run my program. Is there an easier way? Is the latest libstdc++ available as its own package in Mac Ports maybe or what is the suggested way of dealing with this?
> 
> -- 
> Best regards,
> Andreas Falkenhahn                          mailto:andreas at falkenhahn.com
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180324/ef129a48/attachment.html>


More information about the macports-users mailing list