GNOME Bugzilla – Bug 735963
osx: missing links *1.0.0.dylib -> *1.0.dylib
Last modified: 2018-05-04 13:22:31 UTC
When trying to build a project with the GStreamer (1.4.1) sdk with xcode I get the following error:
File not found: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstapp-1.0.0.dylib for architecture x86_64
This file is indeed not present on my system but libgstapp-1.0.dylib is on the same location. In libgstapp-1.0.la the dlname property is referring to the 1.0.0 version.
Probably the links(1.0.0->1.0) that where present when building are not packaged in the build.
That's confusing though, I would assume that the .0.dylib files are to be used at runtime and the .dylib files for compilation. Not the other way around. Andoni?
Did you install the -devel and runtime binaries btw? Or only one of them?
(In reply to comment #1)
> That's confusing though, I would assume that the .0.dylib files are to be used
> at runtime and the .dylib files for compilation. Not the other way around.
> Did you install the -devel and runtime binaries btw? Or only one of them?
In OS X, libraries links with the full path that's set in the list of shared libraries in GStreamer.dylib, the library used when linking against the GStreamer framework:
$ otool -L /Library/Frameworks/GStreamer.framework/GStreamer.dylib
The runtime library libgstapp-1.0.0.dylib should be provided by the runtime package. It looks like you only installed -devel.
This raises another issue, should we make the -devel package depend on the runtime? That shouldn't too complicated.
This can be done with the "bundle" key:
bundle Specific bundles that must exist on the system (array of dictionaries)
That previous links is for components, for distribution files that's what we should be using:
Sounds like a good idea to do that. Andoni, are you adding that?
Thijs, do you have both packages installed?
This does not seem to be a problem anymore, please reopen otherwise