ppm2mp4 can't find library run on MacBook

53 views
Skip to first unread message

Virgile

unread,
Jun 25, 2024, 4:01:13 AM (9 days ago) Jun 25
to basilisk-fr
Dear All,

I have recently installed Basilisk on my MacBook (M3 Max) and I am struggling to make the bview test karman work. The first test bump2D did work flawless.

The code builds, then when I run it I get the error message below. Apparently, ppm2mp4 needs some library, libvpx.7.dylib, which it can't find. At the same path, I have libvpx.8.dylib, likely the updated version. Does that problem ring any bell?

Also, if I "hide" ppm2mp4, karman runs and produce ppm files, but then when I try to use ppm2pm4 to convert them to mp4, the problem comes back.

Cheers,
Virgile Thiévenaz

/Users/Virgile/Science/basilisk/src/ppm2mp4: line 44: 12739 Abort trap: 6           $command 2> $log
dyld[12739]: Library not loaded: /usr/local/opt/libvpx/lib/libvpx.7.dylib
  Referenced from: <F12F8172-D0EA-3619-9977-313C4EA8CB32> /usr/local/Cellar/libav/12.3_8/bin/avconv
  Reason: tried: '/usr/local/opt/libvpx/lib/libvpx.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libvpx/lib/libvpx.7.dylib' (no such file), '/usr/local/opt/libvpx/lib/libvpx.7.dylib' (no such file), '/usr/local/lib/libvpx.7.dylib' (no such file), '/usr/lib/libvpx.7.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libvpx/1.13.0/lib/libvpx.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libvpx/1.13.0/lib/libvpx.7.dylib' (no such file), '/usr/local/Cellar/libvpx/1.13.0/lib/libvpx.7.dylib' (no such file), '/usr/local/lib/libvpx.7.dylib' (no such file), '/usr/lib/libvpx.7.dylib' (no such file, not in dyld cache)

Wojciech Aniszewski

unread,
Jun 25, 2024, 4:05:18 AM (9 days ago) Jun 25
to Virgile, basilisk-fr
What happens if you do 'which avconv' and/or 'which ffmpeg' in the terminal?
> --
> You received this message because you are subscribed to the Google Groups "basilisk-fr" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to basilisk-fr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/basilisk-fr/0bd27958-cf80-471c-b14d-6e3b9d689f88n%40googlegroups.com.


--
/^..^\
( (••) ) Wojciech (Voitek) ANISZEWSKI
(|)_._(|)~
OrcId : https://orcid.org/0000-0002-4248-1194
Scholar : https://tinyurl.com/y28b8gfp
RG : https://www.researchgate.net/profile/Wojciech_Aniszewski
Mastodon: @w...@fediscience.org
Twitter : @echo_dancers3
GPG ID : AC66485E

Stephane Popinet

unread,
Jun 25, 2024, 4:29:19 AM (9 days ago) Jun 25
to basil...@googlegroups.com
Hi Virgile,

Don't use a Mac...

> The code builds, then when I run it I get the error message below.
> Apparently, ppm2mp4 needs some library, libvpx.7.dylib, which it can't
> find. At the same path, I have libvpx.8.dylib, likely the updated
> version. Does that problem ring any bell?

This has nothing to do with Basilisk. You should see/ask on the Mac
forums how to properly install ffmpeg/avconv.

cheers,

Stephane
OpenPGP_0x78F22AD6304D74BE.asc
OpenPGP_signature.asc

Virgile

unread,
Jun 25, 2024, 12:36:50 PM (9 days ago) Jun 25
to basilisk-fr
Ok ! I found the problem.

avconv is no longer maintained, but an older version was still installed on my computer and was called by ppm2mp4. The solution is to create a symbolic link avconv to ffmpeg (https://ubuntuforums.org/showthread.php?t=2491756).

Thanks to both of you for your help, it unlocked me.

Maybe next computer will be a Linux ^^
Reply all
Reply to author
Forward
0 new messages