Thanks!
Jim
dyld: Symbol not found: __ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
Referenced from: /Applications/fsc_mac64/./fsc25
Expected in: /usr/local/lib/libstdc++.6.dylib
in /Applications/fsc_mac64/./fsc25
Trace/BPT trap: 5
Just to restate the problem - I downloaded the mac64 version of fastsimcoal. Because it would not execute and following advice on the software website, I loaded the latest gcc compiler (gcc 5.0.0 20141005). Following advice on-line, I did not set this as my default compiler, but its in my path. I'm no programmer, but it is difficult for me to understand why having the gcc compiler matters when the program is distributed pre-compiled. In any event, loading gcc did not solve my problem.
When I attempt to execute the program, I get the following error string.
dyld: Symbol not found: __ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
Referenced from: /Applications/fsc_mac64/./fsc25
Expected in: /usr/local/lib/libstdc++.6.dylib
in /Applications/fsc_mac64/./fsc25
Trace/BPT trap: 5
Sadly, I'm in over my head with this error. It could have something to do with setting symbolic links, but I'm not sure how I would implement this here. If anyone stumbles across this post and has a suggestion to resolve this issue, I'd be grateful for advice. I'd really like to try fastsimcoal.
Jim
Its a useful solution to be aware of, though doesn't address the underlying issue.
This is the first time I am running arlequin on Mac but seems that I am having the same problem when running arlecore:
dyld: Symbol not found: __ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
Referenced from: /Users/ashotmargaryan/Desktop/mt_arm/arlequin/./arlecoremac_64bit
Expected in: /usr/lib/libstdc++.6.dylib
in /Users/ashotmargaryan/Desktop/mt_arm/arlequin/./arlecoremac_64bit
Trace/BPT trap: 5
the OSX is the same as Andrea's: OS El Capitan 10.11.1
Thanks!.
Ashot
I probably did something wrong before, but now I've installed gcc-6.0-bin.tar and both arlecore and fastsimcoal2 seem to be working just fine !!!
Best
Ashot
I have just installed an updated (v6.1.0) gcc in a Mac running OS v.10.11.6 (El Capitan), which I have confirmed via:
Last login: Sat Jul 23 12:30:48 on ttys000
Nathans-MacBook-Pro:~ aurantiacus$ gcc --version
gcc (MacPorts gcc6 6.1.0_0) 6.1.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Yet I am still getting the following dynamic libraries error when I attempt to open fsc25. Any additional recommendations for how this might be resolved would be appreciated.
Last login: Sat Jul 23 12:31:02 on ttys000
/Applications/Phylogenetics/fastsimcoal2.5/fsc25 ; exit;
Nathans-MacBook-Pro:~ aurantiacus$ /Applications/Phylogenetics/fastsimcoal2.5/fsc25 ; exit;
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /Applications/Phylogenetics/fastsimcoal2.5/fsc25
Reason: image not found
Trace/BPT trap: 5
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Thanks, Nathan
I have no idea why, but maybe it can help others to get going with their analysis.
Cheers
I have followed the instructions given in the fastsimcoal webpage for gcc:
Download gcc-7.1-bin.tar.gz
Open a terminal
cd to the download folder
Extract the tar archive with the command
gunzip gcc-7.1-bin.tar.gz
Install gcc ver 5.1 in /usr/local with the command
sudo tar -xvf gcc-7.1-bin.tar -C /.
When executing the last line I get many messages like this:
x usr/local/lib/gcc/x86_64-apple-darwin15.6.0/7.1.0/plugin/include/input.h: Cannot extract through symlink usr/local/lib/gcc
At the end line I get:
tar: Error exit delayed from previous errors.
Could someone please give me any suggestion?. I am new to fastsimcoal and to popgen in general. Thanks very much, Luc
I'm getting a similar error when trying to run the precompiled version on my Mac (10.13.6):
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /Applications/fastsimcoal2/./fsc26
Reason: image not found
Abort trap: 6
Has anyone figured out how to solve this? I got the error, re-installed gcc with 'brew install gcc' (now version 8.x I believe), and still the same error.
Thanks!