On 2020-04-06 9:51 a.m., Marcus Meissner wrote:
On Mon, Apr 06, 2020 at 09:40:47AM -0400, Hubert Figuiere wrote:
On 2020-04-06 3:34 a.m., Marcus Meissner wrote:
Super weird, it is not allowed to write to /usr/bin ...

Can you try with "sudo make -k install"   so it will skip the /usr parts and 
just put in the libraries which should be sufficient?

It's macOS. It is read only. Immutable OS.

Don't use /usr as a prefix.

But what is the right one ... hmm.

Christopher, Can you find out what homebrew using for configure settings?

Here:
% which gphoto2
/usr/local/bin/gphoto2
% ls -l /usr/local/bin/gphoto2
lrwxr-xr-x 1 hfiguiere admin 36 31 Jul 2019 /usr/local/bin/gphoto2 -> ../Cellar/gphoto2/2.5.23/bin/gphoto2

It's a symlink.

The DSO as loaded by gphoto2:

% otool -L /usr/local/bin/gphoto2
/usr/local/bin/gphoto2:
/usr/local/opt/libgphoto2/lib/libgphoto2.6.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/local/opt/libgphoto2/lib/libgphoto2_port.12.dylib (compatibility version 13.0.0, current version 13.0.0) /usr/local/opt/jpeg/lib/libjpeg.9.dylib (compatibility version 13.0.0, current version 13.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2) /usr/local/opt/readline/lib/libreadline.8.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/local/opt/popt/lib/libpopt.0.dylib (compatibility version 1.0.0, current version 1.0.0)

/usr/local/opt/ contain symlinks to the individual prefix of the various package.

In that case the prefix for libgphoto2 is /usr/local/Cellar/libgphoto2/2.5.24

Hope that helps.

Hub


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to