I was noting the package related to the error message Tortillas-IT posted. Apparently it is related to the order in which dependencies are reported to the linker. Static linking or adding LDFLAGS="-Wl,--copy-dt-needed-entries"
(reported by busybear) resolves the issue. (It was not a package conflict.)
Search Criteria
Package Details: dolphin-emu-nogui-git 2409.r299.gd1ef4d5cc1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Package Base: | dolphin-emu-git |
Description: | A Gamecube / Wii emulator - no GUI - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL-2.0-or-later |
Conflicts: | dolphin-emu-cli, dolphin-emu-nogui |
Provides: | dolphin-emu-cli, dolphin-emu-nogui |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.55 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2024-11-10 13:18 (UTC) |
Dependencies (45)
- bluez-libs (bluez-gitAUR)
- bzip2 (bzip2-gitAUR)
- cubebAUR (cubeb-gitAUR, cubebAUR)
- dolphin-emu (dolphin-emu-waylandAUR, dolphin-emu-debugfast-gitAUR, dolphin-emu-gitAUR)
- enet (enet-gtkorvo-gitAUR, enet-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hidapi (hidapi-gitAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg, ffmpeg4.4)
- libavformat.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg, ffmpeg4.4)
- libavutil.so (libavutil-52AUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg, ffmpeg4.4)
- libcurl.so (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libfmt.so (fmt-gitAUR, fmt9AUR, fmt10AUR, fmt)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libsfml-network.so (sfml-gitAUR, sfml)
- libsfml-system.so (sfml-gitAUR, sfml)
- libspng.so (libspng-gitAUR, libspng)
- libswscale.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg, ffmpeg4.4)
- libusb-1.0.so (libusb-gitAUR, lib32-libusb, libusb)
- libx11 (libx11-gitAUR)
- Show 25 more dependencies...
Required by (0)
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 56 Next › Last »
xiota commented on 2023-11-14 01:01 (UTC) (edited on 2023-11-14 01:10 (UTC) by xiota)
dpeukert commented on 2023-11-14 00:35 (UTC)
@Tortillas-IT, @xiota, @busybear: Should now be fixed, sorry for the delay!
@xiota: Regarding the zlib conflict, which package from what source did you use for the zlib-ng
dependency? Because the zlib-ng
package from the main repos only contains /usr/lib/libz-ng.so{,.2,.2.1.4}
and I was able to install both it and the regular zlib
package alongside each other without any issues.
busbybear commented on 2023-11-10 19:17 (UTC)
adding the following line above build() allows dolphin-emu-git to compile:
export LDFLAGS="-Wl,--copy-dt-needed-entries"
I found this on the dolphin discord and some internet searching:
libpthread.so.0: error adding symbols: DSO missing from command line: https://stackoverflow.com/questions/19901934/libpthread-so-0-error-adding-symbols-dso-missing-from-command-line
Discord:
https://discord.com/channels/521709831132807179/521711215878078484/1169030086591250462
addingexport LDFLAGS="-Wl,--copy-dt-needed-entries"
one line above cmake in build() in the pkgbuild allows dolphin to compile
xiota commented on 2023-11-03 19:02 (UTC)
/usr/lib/libz.so.1
belongs to zlib
. Able to build successfully by removing zlib-ng
from dependencies and enabling the submodule.
Tortillas-IT commented on 2023-11-02 10:03 (UTC)
can't build this package anymore, anyone getting the same issue?
[895/1105] Linking CXX executable Binaries/dolphin-emu-nogui
FAILED: Binaries/dolphin-emu-nogui
: && /usr/lib/ccache/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/Platform.cpp.o Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformHeadless.cpp.o Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/MainNoGUI.cpp.o Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformX11.cpp.o Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformFBDev.cpp.o -o Binaries/dolphin-emu-nogui -Wl,-rpath,/usr/lib/mbedtls2: Source/Core/Core/libcore.a Source/Core/UICommon/libuicommon.a Externals/cpp-optparse/libcpp-optparse.a Source/Core/DiscIO/libdiscio.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a Source/Core/Core/libcore.a Source/Core/DiscIO/libdiscio.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a Source/Core/AudioCommon/libaudiocommon.a /usr/lib/libasound.so /usr/lib/libpulse.so Externals/soundtouch/libSoundTouch.a Externals/FreeSurround/libFreeSurround.a Source/Core/InputCommon/libinputcommon.a -lXi /usr/lib/libevdev.so /usr/lib/libudev.so /usr/lib/libcubeb.so /usr/lib/liblzo2.so /usr/lib/liblz4.so Externals/mGBA/mgba/libmgba.a -lm /usr/lib/libbluetooth.so /usr/lib/libhidapi-hidraw.so Externals/rcheevos/librcheevos.a /usr/lib/libz-ng.so /usr/lib/libbz2.so /usr/lib/liblzma.so /usr/lib/libzstd.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXext.so Externals/glslang/libglslang.a Externals/xxhash/libxxhash.a Externals/implot/libimplot.a Externals/imgui/libimgui.a /usr/lib/libavformat.so /usr/lib/libavcodec.so /usr/lib/libswresample.so /usr/lib/libswscale.so /usr/lib/libavutil.so Source/Core/Common/libcommon.a /usr/lib/libenet.so /usr/lib/mbedtls2/libmbedtls.so /usr/lib/mbedtls2/libmbedx509.so /usr/lib/mbedtls2/libmbedcrypto.so /usr/lib/libsfml-network.so /usr/lib/libsfml-system.so Externals/FatFs/libFatFs.a /usr/lib/libcurl.so /usr/lib/libspng.so /usr/lib/libEGL.so /usr/lib/libOpenGL.so /usr/lib/libGLX.so /usr/lib/libGLU.so -ldl -lrt /usr/lib/libminiupnpc.so /usr/lib/libpugixml.so /usr/lib/libfmt.so.10.1.0 Externals/Bochs_disasm/libbdisasm.a /usr/lib/libusb-1.0.so /usr/lib/libminizip-ng.so -lXrandr /usr/lib/libLLVM-16.so Externals/discord-rpc/src/libdiscord-rpc.a -lpthread && :
/usr/bin/ld: Source/Core/DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[896/1105] Linking CXX executable Binaries/dolphin-tool
FAILED: Binaries/dolphin-tool
: && /usr/lib/ccache/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ToolHeadlessPlatform.cpp.o Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ConvertCommand.cpp.o Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/VerifyCommand.cpp.o Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/HeaderCommand.cpp.o Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ToolMain.cpp.o -o Binaries/dolphin-tool -Wl,-rpath,/usr/lib/mbedtls2: Source/Core/DiscIO/libdiscio.a Source/Core/UICommon/libuicommon.a Externals/cpp-optparse/libcpp-optparse.a Source/Core/Core/libcore.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a Source/Core/DiscIO/libdiscio.a Source/Core/Core/libcore.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a /usr/lib/libbz2.so /usr/lib/liblzma.so /usr/lib/libzstd.so Source/Core/AudioCommon/libaudiocommon.a /usr/lib/libasound.so /usr/lib/libpulse.so Externals/soundtouch/libSoundTouch.a Externals/FreeSurround/libFreeSurround.a Source/Core/InputCommon/libinputcommon.a -lXi /usr/lib/libevdev.so /usr/lib/libudev.so /usr/lib/libcubeb.so /usr/lib/liblzo2.so /usr/lib/liblz4.so Externals/mGBA/mgba/libmgba.a /usr/lib/libz-ng.so -lm /usr/lib/libbluetooth.so /usr/lib/libhidapi-hidraw.so Externals/rcheevos/librcheevos.a /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXext.so Externals/glslang/libglslang.a Externals/xxhash/libxxhash.a Externals/implot/libimplot.a Externals/imgui/libimgui.a /usr/lib/libavformat.so /usr/lib/libavcodec.so /usr/lib/libswresample.so /usr/lib/libswscale.so /usr/lib/libavutil.so /usr/lib/libpugixml.so Source/Core/Common/libcommon.a /usr/lib/libfmt.so.10.1.0 /usr/lib/libminizip-ng.so /usr/lib/libenet.so /usr/lib/mbedtls2/libmbedtls.so /usr/lib/mbedtls2/libmbedx509.so /usr/lib/mbedtls2/libmbedcrypto.so /usr/lib/libsfml-network.so /usr/lib/libsfml-system.so Externals/FatFs/libFatFs.a /usr/lib/libcurl.so /usr/lib/libspng.so /usr/lib/libEGL.so /usr/lib/libOpenGL.so /usr/lib/libGLX.so /usr/lib/libGLU.so -ldl -lrt /usr/lib/libminiupnpc.so Externals/Bochs_disasm/libbdisasm.a -lXrandr /usr/lib/libusb-1.0.so /usr/lib/libLLVM-16.so Externals/discord-rpc/src/libdiscord-rpc.a -lpthread && :
/usr/bin/ld: Source/Core/DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
dpeukert commented on 2023-10-24 23:06 (UTC)
@parkerlreed: No worries, glad you got it working.
parkerlreed commented on 2023-10-24 22:57 (UTC)
I just realized this was caused by the sunshine package erroneously including enet headers and I had uninstalled it. After forcing it forever ago so it removed the files as well.
Resintalled enet and its working now. Sorry for the confusion.
dpeukert commented on 2023-10-24 22:24 (UTC)
@parkerlreed: I wasn't able to reproduce this, can you post your entire build log and the version of enet you have installed?
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git