C Interference of custom gcc with packages

I expressed the problem at the end of this thread:

https://forums.freebsd.org/threads/61895/#post-357046

I compile(d) programs (not packages) with gcc5 and have a file /etc/libmap.conf with:

Code:
libgcc_s.so.1   gcc5/libgcc_s.so.1
libgomp.so.1    gcc5/libgomp.so.1
libobjc.so.3    gcc5/libobjc.so.4
libssp.so.0     gcc5/libssp.so.0
libstdc++.so.6  gcc5/libstdc++.so.6
libgfortran.so.3 gcc5/libgfortran.so.3

But then, I cannot run some programs from the packages like firefox and chromium.

What do you propose as solution?
 
Back
Top