Temat: curl zaleznosci 19.07 vs 18.06

Hej
Nie jestem dobry w te klocki, prosze o porade.
Na ruterkach instaluje mbedtls (bo jest mniejszy) i do niczego wiecej poza https go nie potrzebuje.
na 18.06 instaluje curla

root@xxx:~# opkg info curl
Package: curl
Version: 7.60.0-4
Depends: libc, libcurl
Status: unknown ok not-installed
Section: net
Architecture: mips_24kc
Size: 45246
Filename: curl_7.60.0-4_mips_24kc.ipk
Description: A client-side URL transfer utility


root@xxx:~# opkg info libcurl
Package: libcurl
Version: 7.60.0-4
Depends: libc, libopenssl, ca-bundle
Status: unknown ok not-installed
Section: libs
Architecture: mips_24kc
Size: 128929
Filename: libcurl_7.60.0-4_mips_24kc.ipk
Description: A client-side URL transfer library

Package: libcurl
Version: 7.60.0-3
Depends: libc, libmbedtls
Status: install ok installed
Architecture: mips_24kc
Installed-Time: 1541366930

root@xxx:~# opkg install curl
Installing curl (7.60.0-4) to root...
Downloading http://dl.eko.one.pl/openwrt-18.06/packages/mips_24kc/base/curl_7.60.0-4_mips_24kc.ipk
Configuring curl.

root@xxx:~# curl
curl: try 'curl --help' for more information

na 19.07

root@yyy:/etc/dropbear# opkg install curl
Installing curl (7.66.0-1) to root...
Downloading http://dl.eko.one.pl/openwrt-19.07/packages/mips_24kc/base/curl_7.66.0-1_mips_24kc.ipk
Configuring curl.

root@yyy:/etc/dropbear# opkg info curl
Package: curl
Version: 7.66.0-1
Depends: libc, libcurl4
Status: install user installed
Section: net
Architecture: mips_24kc
Size: 52019
Filename: curl_7.66.0-1_mips_24kc.ipk
Description: A client-side URL transfer utility
Installed-Time: 1588178322


root@yyy:/etc/dropbear# opkg info libcurl4
Package: libcurl4
Version: 7.66.0-1
Depends: libc, libopenssl1.1, ca-bundle
Provides: libcurl
Status: unknown ok not-installed
Section: libs
Architecture: mips_24kc
Size: 136206
Filename: libcurl4_7.66.0-1_mips_24kc.ipk
Description: A client-side URL transfer library

Package: libcurl4
Version: 7.69.1-1
Depends: libc, libmbedtls12, ca-bundle
Provides: libcurl
Status: install user installed
Architecture: mips_24kc
Installed-Time: 1586808401

root@yyy:/etc/dropbear# curl
Error loading shared library libssl.so.1.1: No such file or directory (needed by /usr/bin/curl)
Error loading shared library libcrypto.so.1.1: No such file or directory (needed by /usr/bin/curl)

czy to znaczy, ze curl z 18.06 jest skompilowany z supportem obu mbedtls i openssl a na 19.07 nie ?
Jak/gdzie znalezc zatem curl na 19.07 skompilowany z supportem mbedtls ?

2

Odp: curl zaleznosci 19.07 vs 18.06

Mój curl (instalowany ode mnie) i libcurl kompilowany jest zawsze z openssl. Zobacz że ty masz jeszcze jedną wersję 7.69, ona nie jest ode mnie. Jeżeli to mój obraz to zainstaluj normalnie to co jest aktualnie w moim repo repo.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: curl zaleznosci 19.07 vs 18.06

instalowalem tylko uacme wg mojego :
https://eko.one.pl/forum/viewtopic.php?id=19232
z nowszy mbedtls

na 18.06 pokazuje tez, ze mam mbedtls (nie openssl) a curl dziala hmm

4

Odp: curl zaleznosci 19.07 vs 18.06

No jak sciągasz libcurl z openwrt a curla ode mnie to będzie to kiepsko chodziło. Albo ode mnie albo z repo openwrt, potrzeba ci tylko jedna biblioteka kryptograficzna.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez miguelos 2020-04-29 18:30:59)

Odp: curl zaleznosci 19.07 vs 18.06

sek w tym, ze uacme nie ma jeszcze w oficjalnym repo
czy wymuszenie instalacji starszego libcurl z eko moze pomoc ?
ewentualnie libcurl4 z repo eko, ale zaleznego od mbedtls (bo ewidentnie sa dwa w takim razie)
jak to zrobic ?

ten mbedtls na 18.06 jest instalowany z automatu przy instalacji luci-ssl i tak tez tam sie znalazl

6

Odp: curl zaleznosci 19.07 vs 18.06

Nie wiem w czym masz problem. uacme zależy od libcurl4 a taką biblioteka jest u mnie repo i zależy od libopenssl własnie. Po co chcesz cokolwiek wymuszać? Po prostu zainstaluj curl/libcurl4 ode mnie repo jeżeli używasz moich obrazów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: curl zaleznosci 19.07 vs 18.06

no taki problem, ze libcurl4 z eko zalezne jest od openssl,

root@yyy:~# opkg info libcurl4
Package: libcurl4
Version: 7.66.0-1
Depends: libc, libopenssl1.1, ca-bundle

ktore jak mi pociagnie to zzera 800kB flash

8

Odp: curl zaleznosci 19.07 vs 18.06

No i? U mnie wszystko jest skompilowane z openssl, luci też. Nie chcesz tego to nie instaluj pakietów ode mnie tylko z repo openwrt, to już też napisałem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9 (edytowany przez miguelos 2020-04-29 20:19:53)

Odp: curl zaleznosci 19.07 vs 18.06

no to jakim cudem instalacja luci-ssl (obraz z eko) ciagnie mbedtls a nie openssl ?
dlatego wlasnie ciagne obraz bez luci a potem instaluje (z repo eko) - zeby zaoszczedzic ok 1MB flash

poza ww. kombinacjami nigdy nie instaluje nic spoza eko..

10

Odp: curl zaleznosci 19.07 vs 18.06

Wiesz że problem jest z Tobą a nie z moim repo? U mnie w repo nie ma pakietu luci-ssl. Jest za to luci-ssl-openwrt.

Ściągając więc luci-ssl sam to ściągasz z repo openwrt a później twierdzisz że ściąga się ode mnie... No weź i sprawdź sam.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: curl zaleznosci 19.07 vs 18.06

Cezary napisał/a:

Wiesz że problem jest z Tobą a nie z moim repo? U mnie w repo nie ma pakietu luci-ssl. Jest za to luci-ssl-openwrt.
Ściągając więc luci-ssl sam to ściągasz z repo openwrt a później twierdzisz że ściąga się ode mnie... No weź i sprawdź sam.

nie twierdze, ze problem jest z repo, nie wiem co skad sie sciaga.. (robie to raz na pare miesiecy)
mialem na mysli finalny rezultat.. zakladajac, ze wszystkie "opkg install" idzie z eko
Wybacz Cezary nie mialem zamiaru cie urazic, z powodzeniem korzystam z twoich obrazow od dobrych 7 lat i za to jestem wdzieczny