Download raw body.
update: net/tdesktop-5.3.2 need protobuf-lite lib
Hi, today update my packages and Telegram Desktop don't work, in
console the error is
$ telegram-desktop
ld.so: telegram-desktop: can't load library 'libprotobuf-lite.so.23.0'
[1] 59583 killed telegram-desktop
Using ldd show me this:
$ ldd /usr/local/bin/telegram-desktop
/usr/local/bin/telegram-desktop:
ld.so: telegram-desktop: can't load library 'libprotobuf-lite.so.23.0'
/usr/local/bin/telegram-desktop: signal 9
In Makefile, devel/protobuf is used only for build but not in runtime
(LIB_DEPENDS) install devel/protobuf resolved this problem. Compile
and test, ok.
ok diff?
--
"Dios en su Cielo, todo bien en la Tierra"
***********************************************
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tdesktop/Makefile,v
diff -u -p -r1.140 Makefile
--- Makefile 6 Aug 2024 21:16:19 -0000 1.140
+++ Makefile 13 Aug 2024 21:53:13 -0000
@@ -6,6 +6,7 @@ NOT_FOR_ARCHS = ${BE_ARCHS} i386
COMMENT = Telegram Desktop messenger
PORTROACH = limit:-full$$
V = 5.3.2
+REVISION = 1
DISTNAME = tdesktop-${V}-full
PKGNAME = ${DISTNAME:-full=}
CATEGORIES = net
@@ -38,7 +39,7 @@ WANTLIB += Qt6OpenGL Qt6OpenGLWidgets Qt
WANTLIB += Qt6Svg Qt6WaylandCompositor Qt6Widgets absl_strings
WANTLIB += ada avcodec avfilter avformat avutil c crypto dispatch
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 hunspell-1.7 jpeg lz4
-WANTLIB += m openal opus qrcodegencpp rnnoise swresample swscale
+WANTLIB += m openal opus protobuf-lite qrcodegencpp rnnoise swresample swscale
WANTLIB += tg_owt xcb xcb-keysyms xcb-record xcb-screensaver xxhash
WANTLIB += z
@@ -76,6 +77,7 @@ LIB_DEPENDS = archivers/lz4 \
devel/glib2>=2.78.0 \
devel/kf6/kcoreaddons \
devel/libdispatch \
+ devel/protobuf \
graphics/ffmpeg \
graphics/jpeg \
graphics/qr-code-generator>=1.7.0p1 \
update: net/tdesktop-5.3.2 need protobuf-lite lib