Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jackcf

macrumors newbie
Original poster
Dec 9, 2020
3
1
Running Mojave 10.14.6

I'm getting errors trying to load libtensorflow.2.dylib library. See code below.

Code:
[BugsBunny]:(219)%run_starnet.sh
dyld: Library not loaded: @rpath/libtensorflow.2.dylib
  Referenced from: /Volumes/External HD/SirilProcessingTools/StarNetv2CLI_MacOS/./starnet++
  Reason: no suitable image found.  Did find:
    ./libtensorflow.2.dylib: cannot load 'libtensorflow.2.dylib' (load command 0x80000034 is unknown)
    ./libtensorflow.2.dylib: stat() failed with errno=1
./run_starnet.sh: line 2:  1364 Abort trap: 6           ./starnet++ rgb_test5.tif rgb_test5_s.tif
[BugsBunny]:(220)%

After some searching I have seen others reporting this same issue with other applications but have not been able to find a solution. It appears to me it's a Mac issue and not tied to any specific application. One fix I tried was to create a symbolic link from /usr/lib to this applications library but the Apple has it set up where I can't make a symbolic link from /usr/lib even using sudo.

Any suggestion on how to fix this?

Thanks,
Jack
 

Bigwaff

Contributor
Sep 20, 2013
1,887
1,252
More than likely Mojave is too old and the shared library does not work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.