Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] failed to launch on linux #39

Closed
zu1k opened this issue Nov 17, 2021 · 7 comments
Closed

[bug] failed to launch on linux #39

zu1k opened this issue Nov 17, 2021 · 7 comments

Comments

@zu1k
Copy link

zu1k commented Nov 17, 2021

Linux version:

# uname -a
Linux alex 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64 GNU/Linux

biyi version: biyi-0.3.3+6-linux.zip

  1. libkeybinder not found
./biyi: error while loading shared libraries: libkeybinder-3.0.so.0: cannot open shared object file: No such file or directory

fixed by install libkeybinder-3.0

  1. undefined symbol: uuid_generate
./biyi: symbol lookup error: /data/projects/biyi/lib/libtray_manager_plugin.so: undefined symbol: uuid_generate
@lijy91
Copy link
Owner

lijy91 commented Nov 17, 2021

⚠️ Linux requirements

Run the following command

sudo apt-get install appindicator3-0.1
sudo apt-get install keybinder-3.0

@lijy91 lijy91 closed this as completed Nov 17, 2021
@zu1k
Copy link
Author

zu1k commented Nov 17, 2021

The problem still exists after installation

@zu1k
Copy link
Author

zu1k commented Nov 17, 2021

# ls -l |grep appindicator                                                                         
lrwxrwxrwx   1 root root        25  7月  3  2020 libappindicator3.so -> libappindicator3.so.1.0.0
lrwxrwxrwx   1 root root        25  7月  3  2020 libappindicator3.so.1 -> libappindicator3.so.1.0.0
-rwxr-xr-x   1 root root     67272  7月  3  2020 libappindicator3.so.1.0.0

# ls -l |grep keybinder                                                                            
lrwxrwxrwx   1 root root        25  3月  8  2020 libkeybinder-3.0.so -> libkeybinder-3.0.so.0.0.0
lrwxrwxrwx   1 root root        25  3月  8  2020 libkeybinder-3.0.so.0 -> libkeybinder-3.0.so.0.0.0
-rwxr-xr-x   1 root root     18056  3月  8  2020 libkeybinder-3.0.so.0.0.0

@lijy91
Copy link
Owner

lijy91 commented Nov 17, 2021

try to install libuuid ?

sudo apt-get install uuid-dev

@lijy91 lijy91 reopened this Nov 17, 2021
@zu1k
Copy link
Author

zu1k commented Nov 17, 2021

libuuid.so exists,

lrwxrwxrwx   1 root root        16  8月 16 22:10 libuuid.so -> libuuid.so.1.3.0
lrwxrwxrwx   1 root root        16  8月 16 22:10 libuuid.so.1 -> libuuid.so.1.3.0
-rwxr-xr-x   1 root root     30616  8月 16 22:10 libuuid.so.1.3.0
# readelf -s libuuid.so                                                                                                                   

Symbol table '.dynsym' contains 72 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
     2: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
     4: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterT[...]
     5: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND __[...]@GLIBC_2.7 (8)
     6: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND fcntl@GLIBC_2.2.5 (7)
     7: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND write@GLIBC_2.2.5 (7)
     8: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
     9: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    10: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    11: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    12: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND __[...]@GLIBC_2.4 (9)
    13: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    14: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    15: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    16: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    17: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    18: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    19: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND ioctl@GLIBC_2.2.5 (7)
    20: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND close@GLIBC_2.2.5 (7)
    21: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND read@GLIBC_2.2.5 (7)
    22: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    23: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND _[...]@GLIBC_2.3 (10)
    24: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    25: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    26: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
    27: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND umask@GLIBC_2.2.5 (7)
    28: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.14 (11)
    29: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND time@GLIBC_2.2.5 (7)
    30: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    31: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    32: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    33: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND open@GLIBC_2.2.5 (7)
    34: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    35: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    36: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND flock@GLIBC_2.2.5 (7)
    37: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    38: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    39: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    40: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.3.4 (12)
    41: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMC[...]
    42: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.25 (13)
    43: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    44: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND _[...]@GLIBC_2.3 (14)
    45: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND [...]@GLIBC_2.2.5 (7)
    46: 0000000000002f30   227 FUNC    GLOBAL DEFAULT   11 uuid_[...]@@UUID_2.31
    47: 0000000000003460     9 FUNC    GLOBAL DEFAULT   11 uuid_u[...]@@UUID_1.0
    48: 0000000000003110    68 FUNC    GLOBAL DEFAULT   11 uuid_i[...]@@UUID_1.0
    49: 0000000000003580    89 FUNC    GLOBAL DEFAULT   11 uuid_v[...]@@UUID_1.0
    50: 0000000000002e80    66 FUNC    GLOBAL DEFAULT   11 uuid_g[...]@@UUID_1.0
    51: 00000000000020f0     8 FUNC    GLOBAL DEFAULT   11 uuid_clear@@UUID_1.0
    52: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS UUID_1.0
    53: 0000000000003020   227 FUNC    GLOBAL DEFAULT   11 uuid_[...]@@UUID_2.31
    54: 0000000000003450     9 FUNC    GLOBAL DEFAULT   11 uuid_u[...]@@UUID_1.0
    55: 0000000000003530    68 FUNC    GLOBAL DEFAULT   11 uuid_type@@UUID_1.0
    56: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS UUID_2.31
    57: 0000000000002310  1571 FUNC    GLOBAL DEFAULT   11 _[...]@@UUIDD_PRIVATE
    58: 00000000000035e0   190 FUNC    GLOBAL DEFAULT   11 uuid_[...]@@UUID_2.31
    59: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS UUID_2.36
    60: 00000000000031a0   459 FUNC    GLOBAL DEFAULT   11 uuid_[...]@@UUID_2.36
    61: 0000000000003480   173 FUNC    GLOBAL DEFAULT   11 uuid_time@@UUID_1.0
    62: 0000000000002d90   235 FUNC    GLOBAL DEFAULT   11 _[...]@@UUIDD_PRIVATE
    63: 00000000000021a0    26 FUNC    GLOBAL DEFAULT   11 uuid_copy@@UUID_1.0
    64: 0000000000002d80     5 FUNC    GLOBAL DEFAULT   11 uuid_[...]@@UUID_2.20
    65: 0000000000002d70     5 FUNC    GLOBAL DEFAULT   11 uuid_g[...]@@UUID_1.0
    66: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS UUID_2.20
    67: 0000000000003370    61 FUNC    GLOBAL DEFAULT   11 uuid_parse@@UUID_1.0
    68: 0000000000002100   149 FUNC    GLOBAL DEFAULT   11 uuid_c[...]@@UUID_1.0
    69: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS UUIDD_PRIVATE
    70: 0000000000003470    12 FUNC    GLOBAL DEFAULT   11 uuid_u[...]@@UUID_1.0
    71: 0000000000002ed0    89 FUNC    GLOBAL DEFAULT   11 uuid_g[...]@@UUID_1.0

I can't find uuid_generate in libuuid.so version 1.3.0.

Could you share your uuid lib?

@zu1k
Copy link
Author

zu1k commented Nov 17, 2021

@lijy91
Copy link
Owner

lijy91 commented Nov 17, 2021

Removed <uuid/uuid.h>

leanflutter/tray_manager@017633b

@lijy91 lijy91 closed this as completed Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants