You are not logged in.

#1 2015-07-19 22:15:04

jotomo
Member
Registered: 2015-07-19
Posts: 2

[SOLVED] syncthing 0.11.16 - missing runtime dependency on gcc-go?

mal:~$ syncthing
syncthing: error while loading shared libraries: libgo.so.7: cannot open shared object file: No such file or directory
mal:~$ pkgfile libgo.so.7
core/gcc-go
mal:~$ sudo pacman -S gcc-go
resolving dependencies...
looking for conflicting packages...

Package (1)  New Version  Net Change

core/gcc-go  5.1.0-5       42.30 MiB

Total Installed Size:  42.30 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(1/1) checking package integrity                                                                                                                [########################################################################################] 100%
(1/1) loading package files                                                                                                                     [########################################################################################] 100%
(1/1) checking for file conflicts                                                                                                               [########################################################################################] 100%
(1/1) checking available disk space                                                                                                             [########################################################################################] 100%
(1/1) installing gcc-go                                                                                                                         [########################################################################################] 100%
mal:~$ syncthing
[monitor] 00:03:17 INFO: Starting syncthing
[Y42CW] 00:03:18 INFO: syncthing unknown-dev (go1.4.2 gccgo (GCC) 5.1.0 linux-amd64 default) unknown@unknown 1970-01-01 00:00:00 UTC
^C[monitor] 00:03:28 INFO: Signal 2 received; exiting
mal:~$ ldd `which syncthing`
	linux-vdso.so.1 (0x00007ffdb5c40000)
	libgo.so.7 => /usr/lib/libgo.so.7 (0x00007fc6a170c000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007fc6a1408000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc6a11f2000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fc6a0e50000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc6a2950000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc6a0c33000)

Not sure this isn't an issue local to my system as the previous version segfaulted. Can anyone confirm this on their system?

Last edited by jotomo (2015-07-19 23:45:46)

Offline

#2 2015-07-19 22:34:25

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] syncthing 0.11.16 - missing runtime dependency on gcc-go?

You seem to have a version ("unknown-dev", not exactly 0.11.16) of syncthing built with gcc-go instead of go. How did you install it?

Offline

#3 2015-07-19 22:50:50

jotomo
Member
Registered: 2015-07-19
Posts: 2

Re: [SOLVED] syncthing 0.11.16 - missing runtime dependency on gcc-go?

Whops, I only had pacman download the updated version, but not install it as I thought. When actually installing 0.11.16 I'm back to having syncthing segfault. Seems to be an issue with go (of package go, not gcc-go), which also segfaults right away. Trying to build go (to compile in debug symbols) ends in a segfault as well.
The version producing the error in the original post was the result of me compiling syncthing with gcc-go due to the segfaults.

Segfault for completeness, but likely not useful other than showing the crash is early on I guess

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7de6759 in _dl_relocate_object () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0  0x00007ffff7de6759 in _dl_relocate_object () from /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7ddef23 in dl_main () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7df1440 in _dl_sysdep_start () from /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7ddfd8a in _dl_start () from /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7ddbd88 in _start () from /lib64/ld-linux-x86-64.so.2
#5  0x0000000000000001 in ?? ()
#6  0x00007fffffffe8da in ?? ()
#7  0x0000000000000000 in ?? ()

Edit: I've marked this topic as solved as the segfaults are a separate issue that need some investigation.

Last edited by jotomo (2015-07-19 23:47:27)

Offline

Board footer

Powered by FluxBB