cake-tech / cake_wallet

The open source repository for Cake Wallet, a noncustodial multi-currency wallet, and Monero.com, a noncustodial Monero-only wallet. Need help? Check out https://guides.cakewallet.com
https://cakewallet.com
MIT License
718 stars 192 forks source link

Linux beta on Ubuntu 22.04 #948

Open VonCLI opened 1 year ago

VonCLI commented 1 year ago

Flatpak: launcher appears but doesn't work.

tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.FinderInfo' (I supposed it's a tar from MacOS )

./cake_wallet 
corrupted double-linked list
Aborted (core dumped)
objdump -p cake_wallet 

cake_wallet:     file format elf64-x86-64

Program Header:
    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3
         filesz 0x0000000000000268 memsz 0x0000000000000268 flags r--
  INTERP off    0x00000000000002a8 vaddr 0x00000000004002a8 paddr 0x00000000004002a8 align 2**0
         filesz 0x000000000000001c memsz 0x000000000000001c flags r--
    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**12
         filesz 0x0000000000001730 memsz 0x0000000000001730 flags r--
    LOAD off    0x0000000000002000 vaddr 0x0000000000402000 paddr 0x0000000000402000 align 2**12
         filesz 0x0000000000000bc5 memsz 0x0000000000000bc5 flags r-x
    LOAD off    0x0000000000003000 vaddr 0x0000000000403000 paddr 0x0000000000403000 align 2**12
         filesz 0x00000000000004bc memsz 0x00000000000004bc flags r--
    LOAD off    0x0000000000003c30 vaddr 0x0000000000404c30 paddr 0x0000000000404c30 align 2**12
         filesz 0x0000000000000590 memsz 0x00000000000005b0 flags rw-
 DYNAMIC off    0x0000000000003c40 vaddr 0x0000000000404c40 paddr 0x0000000000404c40 align 2**3
         filesz 0x00000000000003b0 memsz 0x00000000000003b0 flags rw-
    NOTE off    0x00000000000002c4 vaddr 0x00000000004002c4 paddr 0x00000000004002c4 align 2**2
         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--
EH_FRAME off    0x00000000000030b4 vaddr 0x00000000004030b4 paddr 0x00000000004030b4 align 2**2
         filesz 0x0000000000000084 memsz 0x0000000000000084 flags r--
   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4
         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
   RELRO off    0x0000000000003c30 vaddr 0x0000000000404c30 paddr 0x0000000000404c30 align 2**0
         filesz 0x00000000000003d0 memsz 0x00000000000003d0 flags r--

Dynamic Section:
  NEEDED               libblkid.so.1
  NEEDED               libgcrypt.so.20
  NEEDED               liblzma.so.5
  NEEDED               liblz4.so.1
  NEEDED               libgpg-error.so.0
  NEEDED               libuuid.so.1
  NEEDED               libpthread.so.0
  NEEDED               libdl.so.2
  NEEDED               libepoxy.so.0
  NEEDED               libcw_monero_plugin.so
  NEEDED               libdevicelocale_plugin.so
  NEEDED               libplatform_device_id_linux_plugin.so
  NEEDED               liburl_launcher_linux_plugin.so
  NEEDED               libflutter_linux_gtk.so
  NEEDED               libgtk-3.so.0
  NEEDED               libgdk-3.so.0
  NEEDED               libpangocairo-1.0.so.0
  NEEDED               libpango-1.0.so.0
  NEEDED               libharfbuzz.so.0
  NEEDED               libatk-1.0.so.0
  NEEDED               libcairo-gobject.so.2
  NEEDED               libcairo.so.2
  NEEDED               libgdk_pixbuf-2.0.so.0
  NEEDED               libgio-2.0.so.0
  NEEDED               libgobject-2.0.so.0
  NEEDED               libglib-2.0.so.0
  NEEDED               libstdc++.so.6
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  RUNPATH              $ORIGIN/lib
  INIT                 0x0000000000402000
  FINI                 0x0000000000402bb8
  INIT_ARRAY           0x0000000000404c30
  INIT_ARRAYSZ         0x0000000000000008
  FINI_ARRAY           0x0000000000404c38
  FINI_ARRAYSZ         0x0000000000000008
  GNU_HASH             0x0000000000400308
  STRTAB               0x0000000000400898
  SYMTAB               0x0000000000400340
  STRSZ                0x00000000000008bb
  SYMENT               0x0000000000000018
  DEBUG                0x0000000000000000
  PLTGOT               0x0000000000405000
  PLTRELSZ             0x00000000000004c8
  PLTREL               0x0000000000000007
  JMPREL               0x0000000000401268
  RELA                 0x0000000000401238
  RELASZ               0x0000000000000030
  RELAENT              0x0000000000000018
  VERNEED              0x00000000004011c8
  VERNEEDNUM           0x0000000000000003
  VERSYM               0x0000000000401154

Version References:
  required from libc.so.6:
    0x09691a75 0x00 04 GLIBC_2.2.5
  required from libgcc_s.so.1:
    0x0b792650 0x00 03 GCC_3.0
  required from libstdc++.so.6:
    0x08922974 0x00 05 GLIBCXX_3.4
    0x056bafd3 0x00 02 CXXABI_1.3
g++ -g cake_wallet 
/usr/bin/ld: cake_wallet: in function `_start':
(.text+0x0): multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here
/usr/bin/ld: cake_wallet: in function `_fini':
(.fini+0x0): multiple definition of `_fini'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here
/usr/bin/ld: cake_wallet: in function `__data_start':
(.data+0x0): multiple definition of `__data_start'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o:(.data+0x0): first defined here
/usr/bin/ld: cake_wallet: in function `_init':
(.init+0x0): multiple definition of `_init'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o:(.init+0x0): first defined here
/usr/bin/ld: cake_wallet: in function `__data_start':
(.data+0x8): multiple definition of `__dso_handle'; /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o:(.data.rel.local+0x0): first defined here
/usr/bin/ld: cake_wallet:(.rodata+0x0): multiple definition of `_IO_stdin_used'; /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o:(.rodata.cst4+0x0): first defined here
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o:(.tm_clone_table+0x0): multiple definition of `__TMC_END__'; cake_wallet:(.data+0x10): first defined here
/usr/bin/ld: cannot use executable file 'cake_wallet' as input to a link
collect2: error: ld returned 1 exit status
automainint commented 1 year ago

I had the same problem.

mcneb10 commented 5 months ago

This is still an issue more than a year later.

mcneb10 commented 5 months ago

This has been an issue since 4.9.0