您尚未登录。

#1 2022-10-17 17:27:12

zhueiyue
会员
注册时间: 2021-03-14
帖子: 16

求助:symbol lookup error: /usr/lib/electron/electron

我是小白  在WIKI上也没找到相应的办法

安装
$ sudo pacman -S geogebra  #安装数学函数计算器后,运行不了

[XXX@Arch ~]$ geogebra
/usr/lib/electron/electron: symbol lookup error: /usr/lib/electron/electron: undefined symbol: av_stream_get_first_dts, version LIBAVFORMAT_59

$sudo pacman -S electron    #安装这个后依旧报错


[XXX@Arch ~]$ geogebra
/usr/lib/electron/electron: symbol lookup error: /usr/lib/electron/electron: undefined symbol: av_stream_get_first_dts, version LIBAVFORMAT_59



[XXX@Arch ~]$ ldd -r /usr/lib/electron/electron
    linux-vdso.so.1 (0x00007ffc5f5dc000)
    libatomic.so.1 => /usr/lib/libatomic.so.1 (0x00007f0909891000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f0909754000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f08fff9f000)
    libicui18n.so.71 => /usr/lib/libicui18n.so.71 (0x00007f08ffc00000)
    libicuuc.so.71 => /usr/lib/libicuuc.so.71 (0x00007f08ffa01000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f08ff833000)
    libsmime3.so => /usr/lib/libsmime3.so (0x00007f08fff77000)
    libnss3.so => /usr/lib/libnss3.so (0x00007f08ff6fe000)
    libnssutil3.so => /usr/lib/libnssutil3.so (0x00007f08fff45000)
    libnspr4.so => /usr/lib/libnspr4.so (0x00007f08ff6bd000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f08ff693000)
    libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007f08ff658000)
    libcups.so.2 => /usr/lib/libcups.so.2 (0x00007f08ff5ba000)
    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f08ff569000)
    libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f08ff553000)
    libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007f08fec00000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f08ff539000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f08ff4d1000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f08ff3e6000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f08feadc000)
    libevent-2.1.so.7 => /usr/lib/libevent-2.1.so.7 (0x00007f08fea8a000)
    libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f08fea07000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f08fe91f000)
    libopus.so.0 => /usr/lib/libopus.so.0 (0x00007f08fe8c5000)
    libavcodec.so.59 => /usr/local/lib/libavcodec.so.59 (0x00007f08fd400000)
    libavformat.so.59 => /usr/local/lib/libavformat.so.59 (0x00007f08fd000000)
    libavutil.so.57 => /usr/local/lib/libavutil.so.57 (0x00007f08fce13000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f08fe782000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f0909747000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f08fff40000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f08ff3d1000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f08fff37000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f08ff3c4000)
    libgbm.so.1 => /usr/lib/libgbm.so.1 (0x00007f08fe773000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f08fe73a000)
    libwebpdemux.so.2 => /usr/lib/libwebpdemux.so.2 (0x00007f08fe734000)
    libwebpmux.so.3 => /usr/lib/libwebpmux.so.3 (0x00007f08fd3f3000)
    libwebp.so.7 => /usr/lib/libwebp.so.7 (0x00007f08fd382000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f08fd2b3000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f08fd288000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f08fcdc3000)
    libharfbuzz-subset.so.0 => /usr/lib/libharfbuzz-subset.so.0 (0x00007f08fcd01000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f08fccd6000)
    libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007f08fcc8f000)
    libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007f08fd276000)
    libre2.so.9 => /usr/lib/libre2.so.9 (0x00007f08fcc37000)
    libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f08fcb48000)
    libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f08fcaf3000)
    libsnappy.so.1 => /usr/lib/libsnappy.so.1 (0x00007f08fcae7000)
    libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007f08fcaab000)
    libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f08fc943000)
    libxslt.so.1 => /usr/lib/libxslt.so.1 (0x00007f08fc902000)
    libFLAC.so.12 => /usr/lib/libFLAC.so.12 (0x00007f08fc8bf000)
    libminizip.so.1 => /usr/lib/libminizip.so.1 (0x00007f08fc8b2000)
    libcares.so.2 => /usr/lib/libcares.so.2 (0x00007f08fc899000)
    libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f08fc86d000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f08fc600000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f08fc84d000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f08fc419000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f09098bd000)
    libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f08fc37e000)
    libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f08fc842000)
    libicudata.so.71 => /usr/lib/libicudata.so.71 (0x00007f08fa600000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f08fc83b000)
    libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f08fc33a000)
    libplds4.so => /usr/lib/libplds4.so (0x00007f08fc335000)
    libplc4.so => /usr/lib/libplc4.so (0x00007f08fc32e000)
    libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007f08fc320000)
    libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007f08fc30c000)
    libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f08fa200000)
    libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f08fa536000)
    libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007f08fa43e000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f08fa42e000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f08fa416000)
    libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f08fa1e0000)
    libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007f08fa40a000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f08fa19a000)
    libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007f08fa066000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f08fa052000)
    libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007f08fa03a000)
    libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x00007f08f9f6c000)
    libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f08f9f61000)
    libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f08f9f3f000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f08f9f32000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f08f9f22000)
    libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f08fc307000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f08f9e75000)
    libswresample.so.4 => /usr/local/lib/libswresample.so.4 (0x00007f08f9e55000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f08f9e2b000)
    libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x00007f08f9d95000)
    libva.so.2 => /usr/lib/libva.so.2 (0x00007f08f9d65000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f08f9d52000)
    libva-drm.so.2 => /usr/lib/libva-drm.so.2 (0x00007f08fa405000)
    libva-x11.so.2 => /usr/lib/libva-x11.so.2 (0x00007f08f9d4a000)
    libvdpau.so.1 => /usr/lib/libvdpau.so.1 (0x00007f08f9d45000)
    libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007f08f9d2f000)
    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f08f9d21000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f08f9d1c000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f08f9d14000)
    libpulsecommon-16.1.so => /usr/lib/pulseaudio/libpulsecommon-16.1.so (0x00007f08f9c8a000)
    libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f08f9c7f000)
    libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f08f9c46000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f08f9c41000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f08f9c3c000)
    libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f08f9b07000)
    libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1 (0x00007f08f9a62000)
    libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f08f99b9000)
    libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f08f9997000)
    libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f08f97eb000)
    libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f08f97d4000)
    libnettle.so.8 => /usr/lib/libnettle.so.8 (0x00007f08f977e000)
    libhogweed.so.6 => /usr/lib/libhogweed.so.6 (0x00007f08f9735000)
    libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f08f9692000)
    libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f08f9686000)
    libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f08f953d000)
    liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f08f951b000)
    libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007f08f950f000)
    libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007f08f950a000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f08f94fe000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f08f94f9000)
    libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f08f9464000)
    libstemmer.so.0 => /usr/lib/libstemmer.so.0 (0x00007f08f9397000)
    libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x00007f08f936c000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f08f9221000)
    libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f08f9217000)
    libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f08f91f4000)
    libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f08f9171000)
    libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0x00007f08f9169000)
    libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f08f9143000)
    libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f08f9098000)
    libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f08f9068000)
undefined symbol: av_stream_get_first_dts, version LIBAVFORMAT_59    (/usr/lib/electron/electron)


只要是需要electron的全部报错(wechat-uos等软件),求助如何解决

离线

#2 2022-10-17 18:28:58

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,964
个人网站

Re: 求助:symbol lookup error: /usr/lib/electron/electron

/usr/local/lib/libavformat.so.59 这些个文件是哪里来的呢?都找出来删掉吧。

离线

#3 2022-10-17 18:57:06

zhueiyue
会员
注册时间: 2021-03-14
帖子: 16

Re: 求助:symbol lookup error: /usr/lib/electron/electron

依云 说:

/usr/local/lib/libavformat.so.59 这些个文件是哪里来的呢?都找出来删掉吧。

已解决
多谢大佬,删除后虽然还有报错,但软件已可以使用

离线

页脚