chdkptp - alternative ptp client - page 107 - General Discussion and Assistance - CHDK Forum supplierdeeply

chdkptp - alternative ptp client

  • 1061 Replies
  • 316204 Views
*

Offline reyalp

  • ******
  • 12686
Re: chdkptp - alternative ptp client
« Reply #1060 on: 30 / June / 2020, 13:27:02 »
Advertisements
The last few days I've been playing with Ubuntu 20.04 under VM and chdkptp works pretty well, both versions, CLI and GUI.
In the latest distribution libreadline.so.6 has been upgraded to libreadline.so.8, this solves the problem:
Code: [Select]
cd / lib / x86_64-linux-gnu /
sudo ln -s libreadline.so.8.0 libreadline.so.6
sudo ln -s libhistory.so.8.0 libhistory.so.6
I have no clue about working on Linux, the last time I worked on a Unix / Linux system was in the early 90s, maybe there is a better solution but I only remembered this. :D
Thanks for the report.

Which chdkptp build is this? The 921 snapshot is supposed have readline and the related libraries statically linked to avoid this.

Using symlinks like this isn't recommended since the ABIs are actually different, but I suspect it would work for chdkptp in this case.

Quote
The next step is compiling under Linux. :P
It should be relatively easy these days
download and configure external libraries with
misc/setup-ext-libs.bash
then make to build. editing config.mk shouldn't be required any more (if you are building in an existing source tree, it would be good to remove any old config.mk and start fresh).
Don't forget what the H stands for.

*

Offline blackhole

  • *****
  • 778
  • A590IS 101b
    • Planetary astrophotography
Re: chdkptp - alternative ptp client
« Reply #1061 on: 30 / June / 2020, 13:43:51 »
Which chdkptp build is this? The 921 snapshot is supposed have readline and the related libraries statically linked to avoid this.

Using symlinks like this isn't recommended since the ABIs are actually different, but I suspect it would work for chdkptp in this case.
Older r795,I didn't choose the latest one, I was just interested in whether it works under VM. This way I struggled a bit and learned something new.
Quote
It should be relatively easy these days
download and configure external libraries with
misc/setup-ext-libs.bash
then make to build. editing config.mk shouldn't be required any more (if you are building in an existing source tree, it would be good to remove any old config.mk and start fresh).
Thanks for the advice!


 

Related Topics