Skip to main content

Questions tagged [dynamic-library]

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Cannot import openbabel into python

I am trying to use openbabel within python in macOS BigSur, I have installed openbabel and py310-openbabel through macports without any problem, however when I run python3.10 I get the following when ...
SwatchPuppy's user avatar
0 votes
0 answers
330 views

Why does my DYLD_LIBRARY_PATH makes dynamic linker see a dylib that`ls` does not show me?

How did adding /usr/lib/ to my DYLD_LIBRARY_PATH cause this dynamic linking problem on my MacOS Ventura M1 MBP? I had set export DYLD_LIBRARY_PATH="...:/usr/lib:..." in my .bash_profile. $ ...
Jason Hemann's user avatar
1 vote
2 answers
655 views

Find a shared library that isn't in its stated location

I am writing c++ code, and using cmake to compile the application. I want to add the dylib (libraries) to the Frameworks folder. Macdeployqt does not find them all. I have written my own python script ...
msj121's user avatar
  • 163
1 vote
0 answers
58 views

g++ setting proper @rpath when building SFML

I'm trying to build an SFML sample without xcode (for reasons :-)). The prebuilt samples comes with: pong> otool -L pong pong: @rpath/sfml-audio.framework/Versions/2.5.1/sfml-audio (...
Jeffrey's user avatar
  • 111
0 votes
1 answer
163 views

Can I use a 3rd party GPL2+/LGPL2+ library in an MPL 2 licenced iOS app? [closed]

I'm thinking of using libmpv to provide video playback in my MPL 2 Flutter app. I know that Apple is weird about GPL stuff (and using GPL stuff in a greater work is awkward), so I was just wondering ...
UnicornsOnLSD's user avatar
2 votes
1 answer
1k views

How to debug missing libraries on macOS?

I'm trying to figure out why a binary isn't linking a shared library. On Linux the standard way to do this is LD_DEBUG=libs that shows the path of all linked libraries, but this isn't producing any ...
Elliott's user avatar
  • 3,039
2 votes
0 answers
1k views

Running 32 bit apps in Catalina using Mojave libs and frameworks

I recently read this post on netkas.org about running 32 bit command line apps on Catalina using Mojave 32+64bit libraries and frameworks, adding to the nvram boot-args the option no32exec=0. I ...
gio91ber's user avatar
  • 161
9 votes
2 answers
6k views

How to find which shared library is missing?

When I use ldd on Linux it tells me right away if something is missing, i.e. ldd -d some_lib.so libexample.so => not found libex.2.so => not found libm.so.6 => /lib/libm.so.6 (...
Maxim's user avatar
  • 203
1 vote
1 answer
4k views

How to see library search paths MacOS?

There are two Macs and one of them finds a certain dylib when I dlopen it and another one doesn't. Seems like the library search paths are different, but DYLD_LIBRARY_PATH and ...
Maxim's user avatar
  • 203
2 votes
2 answers
1k views

Can "ld" add the rpaths automatically to an executable if it can find the needed dylibs at link time?

The question is in the title, but anyway, let me explain it a bit more: The most accepted way for correctly defining the install name for a dylib in MacOS is by making it relative to the rpath. For ...
cesss's user avatar
  • 161
0 votes
0 answers
45 views

dyld monitors DYLD_ variables behind the scenes [duplicate]

If I invoke DYLD_X=foo /bin/bash -c 'echo "<$DYLD_X>"' the output is <> while MY_VAR=bar /bin/bash -c 'echo "<$MY_VAR>"' outputs <bar> Switching to Bash 5: DYLD_X=foo /...
Dennis Williamson's user avatar
1 vote
1 answer
944 views

Problem installing IguanaTex on Mac (can't find `.dylib` file)

I'm trying to install an experimental version of IguanaTex on my Mac. I'm stuck and need some help. Here are the directions: install AppleScript (IguanaTex.scpt) mkdir -p ~/Library/Application\ ...
Möbius Dickus's user avatar
2 votes
1 answer
522 views

Gnucash and macports conflicting libgio-2.0.0.dylib

I have macports 2.5.2 already installed. I have then installed Gnucash 3.2 dmg from gnucash.org. When I run gnucash, I have the error: objc[93365]: Class GNotificationCenterDelegate is implemented ...
Noury's user avatar
  • 29
2 votes
2 answers
8k views

Multiple "copies" of audiobooks in iTunes

I am using iTunes on Windows 10. There are multiple "copies" (air quotes) of most (not all) audiobooks in iTunes. I used air quotes because when I search the PC for the books, there are only single ...
RJo's user avatar
  • 481
3 votes
0 answers
3k views

dyld: Library not loaded, even though path is specified in Makefile

I have a Fortran program which I run on my macOS 10.12.6. The code is compiled using a Makefile, in which all the libraries included have their path included as well. For one of the libraries (and ...
solalito's user avatar
  • 193
2 votes
1 answer
2k views

System Integrity Protection breaks DYLD_LIBRARY_PATH for python scripts

I have some custom modules that are generated using SWIG that are installed in a a local path eg: catkin_ws/devel/lib/python2.7/site-packages When I try to run a python script that uses one of these ...
user3293204's user avatar
1 vote
0 answers
5k views

Write write to /usr/lib on macOS Sierra

I'm on macOS Sierra 10.12.5, and trying to add a library to the usr/lib folder (for an OpenFrameworks project I'm working on). I've seen similar questions here, here, and here. However, none of the ...
narner's user avatar
  • 111
1 vote
1 answer
834 views

Conflicting libpng.16.16.dylib

On my mac book (OS X 10.12.4) I have two libpng.16.16.dylib: one in /opt/X11/bin, for which otool reports /opt/X11/lib/libpng16.16.dylib: /opt/X11/lib/libpng16.16.dylib (compatibility version 43....
Walter's user avatar
  • 1,240
1 vote
0 answers
1k views

How to specify path to libX11.6.dylib for XQuartz?

I'm trying to run Wine with x11 driver (because some apps only work with x11 driver). I had installed XQuartz and it works and runs xterm. However, when I run Wine, it outputs: err:x11drv:...
kolen's user avatar
  • 121
1 vote
1 answer
357 views

ssh command crashes after key exchange

Had this strange issue crop up today that I haven't experienced before. I execute ssh <remote ip> and ssh crashes with the following exception: dyld: lazy symbol binding failed: Symbol not ...
Jacob King's user avatar
7 votes
2 answers
7k views

How to find which shared library is loaded by a process on OSX?

I am trying to compile and use a shared C library as a python module and I am observing that depending on the DYLD_LIBRARY_PATH my code works or it crashes with a cryptic error message. Jul 24 02:44:...
Pushpendre's user avatar
1 vote
2 answers
2k views

Brew doctor complains about 2 unbrewed dylibs (possibly remnants from Samsung Sidesync)

I've just found that brew doctor gives me the following error : Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you ...
skiabox's user avatar
  • 977
2 votes
1 answer
1k views

How do I tell the MacPorts Python to look in /opt/local/lib for dylibs?

I'm running a Python script with the MacPorts version of Python (2.7), i.e, I've run: port select --set python python27 However, when I run my script, it can't find a dylib in /opt/local/lib: ...
watkipet's user avatar
  • 327
8 votes
3 answers
31k views

Trying to force update_dyld_shared_cache but having some errors

I am trying to force the update of my dyld shared cache using the command sudo update_dyld_shared_cache -root / -force But after a while I see a bunch of errors like this, related to spindump: ...
Duck's user avatar
  • 2,522
0 votes
1 answer
759 views

Is El Capitan preventing me from getting the Perl module DBD::Oracle working?

Let me start by saying I'm not traditionally a Mac user. I'm still trying to transition from Gentoo, where compiling everything from source was the default state, and the system wasn't actively ...
ND Geek's user avatar
  • 153
9 votes
1 answer
5k views

El Capitan, make check, DYLD_LIBRARY_PATH

I develop applications using the usual Unix tool set: a compiler, make, and shared libraries. The procedure is then traditionally something like ./configure, which tailors the sources for the ...
akim's user avatar
  • 225
16 votes
1 answer
8k views

Unable to set DYLD_FALLBACK_LIBRARY_PATH in shell on OSX 10.11.1

In shell scripts used for unit testing with dynamic libraries in a directory other than the typical @rpath, I have previously been able to set DYLD_FALLBACK_LIBRARY_PATH to set the directory ...
Guy's user avatar
  • 161
1 vote
2 answers
2k views

How do I find the version number of system libraries in different versions of OS X?

My specific situation is that I am trying to find out whether Apple bumped the system version of libcairo to 1.12.16 in Yosemite from an earlier version of libcairo in Mavericks. I can somewhat ...
andyras's user avatar
  • 153
0 votes
1 answer
392 views

Unable to start gdisk due to "dyld: lazy symbol binding failed" error

When I try to start gdisk on my retina MacBook Pro running Mavericks I get the following error: dyld: lazy symbol binding failed: Symbol not found: __ZN3icu13UnicodeStringC1Ev Referenced from: /usr/...
Pak's user avatar
  • 141
46 votes
8 answers
23k views

Installing tmux but getting "dyld: Library not loaded Referenced from: /usr/"

I try to do brew install tmux it installs, but, probably due to previous failed and not fully removed non-brew attempts to install both it and libevent, when try to use tmux I get $ tmux dyld: ...
Michael Durrant's user avatar