Can confirm that dmg and appbundle opens under my OSX version. Haven't
tried it on-air.

73
Mark

On Sat, Nov 9, 2019 at 4:55 PM Mooneer Salem <moon...@gmail.com> wrote:

> So it looks like it might be due to me having an older version of
> dylibbundler on my laptop. The latest one on github seems to do something
> similar to what I did in my previous email:
>
> [ 64%] Linking CXX executable freedv
>
> * Collecting dependencies...........................
>
>
>  * libcodec2.0.9.dylib from
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src/
>
>      symlink --> @rpath/libcodec2.0.9.dylib
>
>
>  * liblpcnetfreedv.dylib from
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src/
>
>      symlink --> @rpath/liblpcnetfreedv.dylib
>
>
> * Checking output directory FreeDV.app/Contents/libs/
>
> * Creating output directory FreeDV.app/Contents/libs/
>
>     mkdir -p FreeDV.app/Contents/libs/
>
>     cp -n
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     chmod +w FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -id @loader_path/../libs/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>
> * Fixing dependencies on FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -change @rpath/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -change @rpath/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     install_name_tool -rpath
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src @loader_path/../libs/
> FreeDV.app/Contents/libs/libcodec2.0.9.dylib
>
>     cp -n
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     chmod +w FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -id @loader_path/../libs/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>
> * Fixing dependencies on FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -change @rpath/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -change @rpath/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>     install_name_tool -rpath
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src @loader_path/../libs/
> FreeDV.app/Contents/libs/liblpcnetfreedv.dylib
>
>
> * Fixing dependencies on FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -change @rpath/libcodec2.0.9.dylib
> @loader_path/../libs/libcodec2.0.9.dylib FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -change
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -change @rpath/liblpcnetfreedv.dylib
> @loader_path/../libs/liblpcnetfreedv.dylib FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -rpath
> /Users/mooneer/devel/freedv-gui/build_osx/external/dist/lib
> @loader_path/../libs/ FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -rpath
> /Users/mooneer/devel/freedv-gui/codec2/build_osx/src @loader_path/../libs/
> FreeDV.app/Contents/MacOS/FreeDV
>
>     install_name_tool -rpath
> /Users/mooneer/devel/freedv-gui/LPCNet/build_osx/src @loader_path/../libs/
> FreeDV.app/Contents/MacOS/FreeDV
>
>
> .........................................................................................................................
>
> created: /Users/mooneer/devel/freedv-gui/build_osx/src/FreeDV.dmg
>
> [100%] Built target freedv
>
> and results in otool -L showing the correct paths:
>
> src/FreeDV.app/Contents/MacOS/FreeDV:
>
> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
> (compatibility version 1.0.0, current version 1065.2.0)
>
> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
> (compatibility version 1.0.0, current version 1.0.0)
>
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 1670.10.0)
>
> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
> (compatibility version 1.0.0, current version 1000.0.0)
>
> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
> (compatibility version 1.0.0, current version 1.0.0)
>
> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility
> version 1.0.0, current version 275.0.0)
>
> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
> (compatibility version 2.0.0, current version 162.0.0)
>
> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility
> version 1.0.0, current version 23.0.0)
>
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 1281.0.0)
>
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
> (compatibility version 1.0.0, current version 1.0.0)
>
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
>
> /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version
> 7.0.0)
>
> /usr/lib/liblzma.5.dylib (compatibility version 6.0.0, current version
> 6.3.0)
>
> @loader_path/../libs/libcodec2.0.9.dylib (compatibility version 0.9.0,
> current version 0.0.0)
>
> @loader_path/../libs/liblpcnetfreedv.dylib (compatibility version 0.0.0,
> current version 0.0.0)
>
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
> 800.6.0)
>
> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
> (compatibility version 45.0.0, current version 1875.0.0)
>
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
> (compatibility version 1.0.0, current version 52.0.0)
>
> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
> (compatibility version 64.0.0, current version 1348.4.0)
>
> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
> (compatibility version 1.0.0, current version 1.0.0)
>
> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
> (compatibility version 300.0.0, current version 1670.10.0)
>
> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
> (compatibility version 1.0.0, current version 1.0.0)
>
> /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
> 228.0.0)
>
> Anyway, I created a pull request at
> https://github.com/drowe67/freedv-gui/pull/32 and uploaded a new DMG file
> built with the changes to
> https://www.dropbox.com/s/kgouoiyhqn87q3z/FreeDV-1.4.dmg?dl=0.
>
> -Mooneer K6AQ
>
> On Thu, Nov 7, 2019 at 11:15 PM Mark Jessop <lenniethelemm...@gmail.com>
> wrote:
>
>> OK, the appbundle in that zip loaded for me, so it sounds like a
>> dylibbundler issue.
>>
>> 73
>> Mark
>>
>> On Fri, Nov 8, 2019 at 5:07 PM Mooneer Salem <moon...@gmail.com> wrote:
>>
>>> It failed validation so I had to bypass that by right-clicking and
>>> selecting Open. Once that was done, I got the same error as you:
>>>
>>> Dyld Error Message:
>>>   Library not loaded: @rpath/libcodec2.0.9.dylib
>>>   Referenced from: /Users/USER/Desktop/FreeDV.app/Contents/MacOS/freedv
>>>   Reason: image not found
>>>
>>> I then opened Terminal and ran the following from the
>>> FreeDV.app/Contents/MacOS folder:
>>>
>>> install_name_tool -change @rpath/libcodec2.0.9.dylib
>>> @loader_path/../libs/libcodec2.0.9.dylib ../libs/liblpcnetfreedv.dylib
>>> install_name_tool -change @rpath/liblpcnetfreedv.dylib
>>> @loader_path/../libs/liblpcnetfreedv.dylib ../libs/libcodec2.0.9.dylib
>>> install_name_tool -change @rpath/libcodec2.0.9.dylib
>>> @loader_path/../libs/libcodec2.0.9.dylib FreeDV
>>> install_name_tool -change @rpath/liblpcnetfreedv.dylib
>>> @loader_path/../libs/liblpcnetfreedv.dylib FreeDV
>>>
>>> and I was able to start it.
>>>
>>> Anyway, I ran those commands on the version I built on my laptop and
>>> placed a ZIP file at
>>> https://www.dropbox.com/s/9y7oo7qolsujes9/FreeDV-test.zip?dl=0. If that
>>> works for you, we can look into why dylibbundler didn't do what it was
>>> supposed to and/or manually run those commands as part of the build process.
>>>
>>> -Mooneer K6AQ
>>>
>>> On Thu, Nov 7, 2019 at 1:19 PM Mark Jessop <lenniethelemm...@gmail.com>
>>> wrote:
>>>
>>>> OK, link works.
>>>>
>>>> So it crashes on load with the error (in detailed error report):
>>>> Dyld Error Message:
>>>>   Library not loaded: @rpath/libcodec2.0.9.dylib
>>>>   Referenced from: /Volumes/VOLUME/FreeDV.app/Contents/MacOS/freedv
>>>>   Reason: image not found
>>>>
>>>> I can clearly see that the lib is within the bundle, so I'm wondering
>>>> if there's some compatibility issue there with my OSX version.
>>>>
>>>> I built up FreeDV using build_osx a few weeks ago, so this is not the
>>>> latest git version, but the DMG file is here:
>>>> https://www.dropbox.com/s/sldu28iribgaxax/FreeDV.dmg?dl=0
>>>> I would be interested to know if this runs under Catalina. If so, I'll
>>>> do a re-build on the weekend.
>>>>
>>>> Cheers,
>>>> Mark
>>>>
>>>> On Fri, Nov 8, 2019 at 7:33 AM Mooneer Salem <moon...@gmail.com> wrote:
>>>>
>>>>> Whoops. Try
>>>>> https://www.dropbox.com/s/a58glvy7b518qt7/FreeDV-1.4.dmg?dl=0.
>>>>>
>>>>> -Mooneer K6AQ
>>>>>
>>>>> On Thu, Nov 7, 2019 at 12:58 PM Mark Jessop <
>>>>> lenniethelemm...@gmail.com> wrote:
>>>>>
>>>>>> Your dropbox link doesn't work anymore. It looks like the links are
>>>>>> to specific versions?
>>>>>>
>>>>>> 73
>>>>>> Mark
>>>>>>
>>>>>> On Fri, Nov 8, 2019 at 2:51 AM Mooneer Salem <moon...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I updated the version on Dropbox. Try again? If that ends up opening
>>>>>>> for you I'll go ahead and create a pull request.
>>>>>>>
>>>>>>> -Mooneer K6AQ
>>>>>>>
>>>>>>> On Wed, Nov 6, 2019 at 11:46 PM Mark Jessop <
>>>>>>> lenniethelemm...@gmail.com> wrote:
>>>>>>>
>>>>>>>> I can't seem to open that dmg. I just get an error saying no
>>>>>>>> mountable file systems.
>>>>>>>> I am on a fairly old OSX version (10.11.6) so perhaps this could be
>>>>>>>> related.
>>>>>>>>
>>>>>>>> 73
>>>>>>>> Mark VK5QI
>>>>>>>>
>>>>>>>> On Thu, Nov 7, 2019 at 2:54 PM Mooneer Salem <moon...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Looks like it built fine on OSX Catalina using the build_osx.sh
>>>>>>>>> script. I can double-click on it and bring up the main UI as well.
>>>>>>>>>
>>>>>>>>> Download:
>>>>>>>>> https://www.dropbox.com/s/u6dj1sclbmzlwpv/FreeDV-1.4.dmg?dl=0
>>>>>>>>>
>>>>>>>>> If other people can confirm as well, that'd be great.
>>>>>>>>>
>>>>>>>>> -Mooneer K6AQ
>>>>>>>>>
>>>>>>>>> On Wed, Nov 6, 2019 at 1:59 PM Mooneer Salem <moon...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Will work on this tonight.
>>>>>>>>>>
>>>>>>>>>> -Mooneer K6AQ
>>>>>>>>>>
>>>>>>>>>> On Wed, Nov 6, 2019, 1:05 PM David Rowe <da...@rowetel.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello List,
>>>>>>>>>>>
>>>>>>>>>>> The Beta version of FreeDV 1.4 (Git hash 1767cc) seems to be
>>>>>>>>>>> performing
>>>>>>>>>>> well for test teams around the world.  Links to the Windows
>>>>>>>>>>> 32/64 bit
>>>>>>>>>>> installers on http://freedv.org
>>>>>>>>>>>
>>>>>>>>>>> Linux users can build from source:
>>>>>>>>>>>
>>>>>>>>>>>   https://github.com/drowe67/freedv-gui
>>>>>>>>>>>
>>>>>>>>>>> User Manual with notes on the new modes and features:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/drowe67/freedv-gui/blob/master/USER_MANUAL.md
>>>>>>>>>>>
>>>>>>>>>>> -/-
>>>>>>>>>>>
>>>>>>>>>>> Mooneer - could you please build a FreeDV 1.4 OSX package that
>>>>>>>>>>> we can
>>>>>>>>>>> post on freedv.org?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> David
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Freetel-codec2 mailing list
>>>>>>>>>>> Freetel-codec2@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>> Freetel-codec2 mailing list
>>>>>>>>> Freetel-codec2@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Freetel-codec2 mailing list
>>>>>>>> Freetel-codec2@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Freetel-codec2 mailing list
>>>>>>> Freetel-codec2@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Freetel-codec2 mailing list
>>>>>> Freetel-codec2@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>>
>>>>> _______________________________________________
>>>>> Freetel-codec2 mailing list
>>>>> Freetel-codec2@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>>
>>>> _______________________________________________
>>>> Freetel-codec2 mailing list
>>>> Freetel-codec2@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>
>>> _______________________________________________
>>> Freetel-codec2 mailing list
>>> Freetel-codec2@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>
>> _______________________________________________
>> Freetel-codec2 mailing list
>> Freetel-codec2@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to