whenever I run "cufflinks" on the OS X terminal , I get this error:
dyld: Symbol not found: __ZN5boost11this_thread5hiden11sleep_untilERK8timespec
Referenced from: /usr/local/bin/cufflinks
Expected in: /usr/local/opt/boost/lib/libboost_thread-mt.dylib
Trace/BPT trap: 5
I tried brew upgrade and update, I also tried reinstall cufflinks , I obtained no result.
Any idea?
performing ls-l to the directory WILL return a libboost_thread-mt.dylib file amongst other files as well
-r--r--r-- 1 admin 165400 Apr 17 14:18 libboost_thread-mt.dylib
Related
I tried to use pdftk command to handle different pdf files.
But unfortunaltely, it doesn't work. There seems that libstdc++.6.dylib is missing into MacOS Big Sur 11.2.3.
Here an example of command tried (extract the 4th page) :
$ pdftk example1.pdf cat 4 output example2.pdf
dyld: Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
Referenced from: /usr/local/bin/pdftk
Expected in: /usr/lib/libstdc++.6.dylib
in /usr/local/bin/pdftk
zsh: abort pdftk example1.pdf cat 4 output
How can I solve this issue ?
If I do a ls -l into /usr_lib/libstdc++*, I get :
$ ls -l /usr/lib/libstdc++.*
lrwxr-xr-x 1 root 17 Jan 1 2020 /usr/lib/libstdc++.dylib -> libstdc++.6.dylib
lrwxr-xr-x 1 root 21 Jan 1 2020 /usr/lib/libstdc++.6.dylib -> libstdc++.6.0.9.dylib
and file libstdc++.6.0.9.dylib is missing : is it normal ?
Both macports and brew fail to install pdftk.
__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev is the mangled name for
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
That's definitely a libstdc++ thing; libc++ doesn't have a namespace __cxx11.
Apple has not shipped libstdc++ on Mac OS for a long time (several releases). They use libc++ instead.
I wonder why the Mac version of pdftk wants libstdc++
So, I recently downloaded Golang from this link:
https://golang.org/dl/go1.16.2.darwin-amd64.pkg
The installation was completed with no errors, but when I try running go version, this happens:
dyld: Symbol not found: _clock_gettime
Referenced from: /usr/local/go/bin/go
Expected in: flat namespace
Trace/BPT trap: 5
I'm running Mac OSX version 10.11.6
go1.16.2 needs an OS greater than MacOS 10.11.6 "OS X El Capitan" according to the golang download documents.
I installed go1.15.11 successfully on MacOS X version 10.11.6 .
I've looked around to a few different similar problems, and ended up imploding RVM and starting from scratch a few times, and am still getting the same error. rvm version is 1.29.2
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/bsturms/.rvm/log/1503424267_ruby-2.4.1/make.log
compiling ./missing/setproctitle.c
compiling dmyenc.c
linking miniruby
config.status: creating ruby-runner.h
generating encdb.h
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/bsturms/.rvm/src/ruby-2.4.1/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/bsturms/.rvm/src/ruby-2.4.1/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
make: *** [encdb.h] Trace/BPT trap: 5
++ return 2
There has been an error while running make. Halting the installation.
I have just installed ImageMagick on Mac 10.11.1, but can't run the command, "convert". I received the following error message. Any help would be greatly appreciated.
The DYLD_LIBRARY_PATH is not set in the .bash_profile.
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/ImageMagick-6.9.2/lib//libjpeg.9.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5
For me at least, the answer is to simply remove the offending library (libraries in my case) from /usr/local/ImageMagick-6.9.2/lib/ as then the default ones are picked up -- no need for symlink(s).
I don't know what happened but suddenly all my git commands won't work no more, this is the error message I get.
$ git show
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /usr/local/bin/git
Expected in: /Applications/MAMP/Library/lib//libiconv.2.dylib
dyld: Symbol not found: _iconv_open
Referenced from: /usr/local/bin/git
Expected in: /Applications/MAMP/Library/lib//libiconv.2.dylib
Any help is appreciated, thanks!
Additional info:
When I check the libiconv.2.dylib file it gives me this output:
$ file /usr/lib/libiconv.2.dylib
/usr/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
/usr/lib/libiconv.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386
/usr/lib/libiconv.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
Which I understand should be 3 architectures, How would I add the third one?
EDIT:
these are the links inside /Applications/MAMP/Library/lib/
-rwxrwxr-x 1 mm admin 1194 Jan 22 10:52 libgettextsrc.la
-rwxrwxr-x 1 nm admin 2241972 Jan 22 11:00 libiconv.2.dylib
lrwxr-xr-x 1 nm admin 16 Mar 1 10:06 libiconv.dylib -> libiconv.2.dylib
I also had DYLD_LIBRARY_PATH set to my XAMPP location. I managed to fix it by also adding usr/lib back to DYLD-DYLD_LIBRARY_PATH in the .bash_profile
export DYLD_LIBRARY_PATH=/usr/lib/:$DYLD_LIBRARY_PATH
Finally figured it out, I had DYLD_LIBRARY_PATH enabled in my .bash_profile, the path was set to the mamp folder, so that git checks there first for the library.
I had a similar problem where git wouldn't work and I got this same error. I was running Mountain Lion. I decided to run all my updates to see if that would help anything. (Mavericks was a free upgrade, so I did that.) After completing my OS updates, I tried git again and got a message "xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download command line developer tools." I selected download in the dialog box, install the xcode tools and tried it again and it worked like a charm!