Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: risto3 on January 12, 2015, 11:32:38 AM
-
Upgrading to 6.0 seemed okay all in all after getting most of the depencies updated one way or another,
except for tiger-vncviewer... no longer works apparently as indicated below:
tc@cbox:~$ /usr/local/bin/vncviewer -h
/usr/local/bin/vncviewer: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
tc@cbox:~$ ldd /usr/local/bin/vncviewer
linux-gate.so.1 (0xb779c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76d1000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0xb76cb000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0xb76b8000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0xb76ab000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0xb75b1000)
libgnutls.so.28 => /usr/local/lib/libgnutls.so.28 (0xb7503000)
libgcrypt.so.11 => not found
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0xb74fe000)
libtasn1.so.6 => /usr/local/lib/libtasn1.so.6 (0xb74ec000)
libz.so.1 => /usr/lib/libz.so.1 (0xb74db000)
libm.so.6 => /lib/libm.so.6 (0xb749b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7486000)
libc.so.6 => /lib/libc.so.6 (0xb7359000)
/lib/ld-linux.so.2 (0xb779f000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7355000)
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0xb733d000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0xb7339000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0xb7334000)
libdl.so.2 => /lib/libdl.so.2 (0xb7330000)
libnettle.so.4 => /usr/local/lib/libnettle.so.4 (0xb72fe000)
libhogweed.so.2 => /usr/local/lib/libhogweed.so.2 (0xb72d4000)
libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0xb728a000)
librt.so.1 => /lib/librt.so.1 (0xb7282000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7268000)
libp11-kit.so.0 => /usr/local/lib/libp11-kit.so.0 (0xb721a000)
libffi.so.6 => /usr/local/lib/libffi.so.6 (0xb7213000)
tc@cbox:~$ find /usr/local/lib -name 'libgcrypt.so*'
/usr/local/lib/libgcrypt.so.20.0.2
/usr/local/lib/libgcrypt.so.20
/usr/local/lib/libgcrypt.so
rebuild necessary?
BTW,
-
Upgrading to 6.0 seemed okay all in all after getting most of the depencies updated one way or another,
except for tiger-vncviewer... no longer works apparently as indicated below:
tc@cbox:~$ /usr/local/bin/vncviewer -h
/usr/local/bin/vncviewer: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
tc@cbox:~$ ldd /usr/local/bin/vncviewer
linux-gate.so.1 (0xb779c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76d1000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0xb76cb000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0xb76b8000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0xb76ab000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0xb75b1000)
libgnutls.so.28 => /usr/local/lib/libgnutls.so.28 (0xb7503000)
libgcrypt.so.11 => not found
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0xb74fe000)
libtasn1.so.6 => /usr/local/lib/libtasn1.so.6 (0xb74ec000)
libz.so.1 => /usr/lib/libz.so.1 (0xb74db000)
libm.so.6 => /lib/libm.so.6 (0xb749b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7486000)
libc.so.6 => /lib/libc.so.6 (0xb7359000)
/lib/ld-linux.so.2 (0xb779f000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7355000)
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0xb733d000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0xb7339000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0xb7334000)
libdl.so.2 => /lib/libdl.so.2 (0xb7330000)
libnettle.so.4 => /usr/local/lib/libnettle.so.4 (0xb72fe000)
libhogweed.so.2 => /usr/local/lib/libhogweed.so.2 (0xb72d4000)
libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0xb728a000)
librt.so.1 => /lib/librt.so.1 (0xb7282000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7268000)
libp11-kit.so.0 => /usr/local/lib/libp11-kit.so.0 (0xb721a000)
libffi.so.6 => /usr/local/lib/libffi.so.6 (0xb7213000)
tc@cbox:~$ find /usr/local/lib -name 'libgcrypt.so*'
/usr/local/lib/libgcrypt.so.20.0.2
/usr/local/lib/libgcrypt.so.20
/usr/local/lib/libgcrypt.so
rebuild necessary?
BTW,
Although a rebuild would be easier, symlinking /usr/bin/libgcrypt.so.11 to /usr/local/lib/libgcrypt.so seems to work okay.
putting the symlink in /usr/local/bin necessitates LD_LIBRARY_PATH since the runpath doesn't contain /usr/local/lib.
-
Hi risto3
Although a rebuild would be easier, symlinking /usr/bin/libgcrypt.so.11 to /usr/local/lib/libgcrypt.so seems to work okay.
putting the symlink in /usr/local/bin necessitates LD_LIBRARY_PATH since the runpath doesn't contain /usr/local/lib.
That's not right. The error message says :
error while loading shared libraries: libgcrypt.so.11
The version currently in TC6 is:
usr/local/lib/libgcrypt.so.20
That's why it's complaining. The version number is different. If you want to try fixing it with a symlink, try it like this:
sudo ln -s /usr/local/lib/libgcrypt.so /usr/local/lib/libgcrypt.so.11
[EDIT]: Corrected the order of the source and destination in the ln command and removed the word to from it.
-
Hi risto3
Although a rebuild would be easier, symlinking /usr/bin/libgcrypt.so.11 to /usr/local/lib/libgcrypt.so seems to work okay.
putting the symlink in /usr/local/bin necessitates LD_LIBRARY_PATH since the runpath doesn't contain /usr/local/lib.
That's not right. The error message says :
error while loading shared libraries: libgcrypt.so.11
The version currently in TC6 is:
usr/local/lib/libgcrypt.so.20
That's why it's complaining. The version number is different. If you want to try fixing it with a symlink, try it like this:
sudo ln -s /usr/local/lib/libgcrypt.so.11 to /usr/local/lib/libgcrypt.so
Let me restate this not being on the phone../
sudo ln -s /usr/local/lib/libgcrypt.so /usr/local/lib/libgcrypt.so.11 doesn't work
because the runpath doesn't contain /usr/local/lib
sudo ln -s /usr/local/lib/libgcrypt.so /usr/lib/libgcrypt.so.11 works okay, just need to put this last part in /opt/.filetool.lst
-
Hi risto3
sudo ln -s /usr/local/lib/libgcrypt.so /usr/lib/libgcrypt.so.11 works okay, just need to put this last part in /opt/.filetool.lst
I see that even though I had the source and destination fields in my ln command swapped you got it right. I'll fix my post.
because the runpath doesn't contain /usr/local/lib
The path isn't supposed to contain library paths. Libraries are resolved through the /etc/ld.so.cache file, which is updated with
the ldconfig command. If you do:
sudo ln -s /usr/local/lib/libgcrypt.so /usr/local/lib/libgcrypt.so.11
sudo ldconfig
Does it work then?
-
The path isn't supposed to contain library paths. Libraries are resolved through the /etc/ld.so.cache file, which is updated with
the ldconfig command. If you do:
sudo ln -s /usr/local/lib/libgcrypt.so /usr/local/lib/libgcrypt.so.11
sudo ldconfig
Does it work then?
yes, that seems to work... is this persistent as well? or do I have to now save etc/ld.so.cache
in /opt/.filetool.lst instead of the symlink it self? or both now (with /usr/local/lib for libgcrypt.so.11)
-
You should save the symlink, and add "ldconfig" in bootlocal.sh.
But the proper way would be to rebuild tigervnc.
-
Agree. Unfortunately when I'm building it I get
undefined reference to 'typinfo for Fl_Widget'
undefined reference to 'typinfo for Fl_Widget'
messages, looks like a missing fltk lib when linking. Need some investigation how to fix.
-
Rebuilt tigervnc-viewer.tcz 1.1.0, x86 repo updated.
-
Rebuilt tigervnc-viewer.tcz 1.1.0, x86 repo updated.
tested && confirmed
thanks!