After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735963 - osx: missing links *1.0.0.dylib -> *1.0.dylib
osx: missing links *1.0.0.dylib -> *1.0.dylib
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: packages
1.4.1
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-03 11:48 UTC by Thijs Vermeir
Modified: 2018-05-04 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thijs Vermeir 2014-09-03 11:48:10 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.
Comment 1 Sebastian Dröge (slomo) 2014-09-04 10:44:46 UTC
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?
Comment 2 Andoni Morales 2014-09-04 10:59:13 UTC
(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.
> Andoni?
> 
> 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.
Comment 3 Andoni Morales 2014-09-04 11:02:30 UTC
This can be done with the "bundle" key:

bundle                    Specific bundles that must exist on the system (array of dictionaries)


https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/productbuild.1.html
Comment 4 Andoni Morales 2014-09-04 11:08:50 UTC
That previous links is for components, for distribution files that's what we should be using:

https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW38
Comment 5 Sebastian Dröge (slomo) 2014-09-04 11:19:35 UTC
Sounds like a good idea to do that. Andoni, are you adding that?


Thijs, do you have both packages installed?
Comment 6 Sebastian Dröge (slomo) 2018-05-04 13:22:31 UTC
This does not seem to be a problem anymore, please reopen otherwise