WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 8.0 - xlsfonts: not found  (Read 3356 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
piCore 8.0 - xlsfonts: not found
« on: November 29, 2016, 02:28:29 PM »
Hi
Code: [Select]
tc@box:~$ tce-load -i TC
libICE.tcz: OK
libSM.tcz: OK
aterm.tcz: OK
touch: cannot touch '/usr/local/tce.installed/libtiff': Permission denied
libtiff.tcz: OK
touch: cannot touch '/usr/local/tce.installed/libid3tag': Permission denied
libid3tag.tcz: OK
touch: cannot touch '/usr/local/tce.installed/giflib': Permission denied
giflib.tcz: OK
touch: cannot touch '/usr/local/tce.installed/libpng': Permission denied
libpng.tcz: OK
touch: cannot touch '/usr/local/tce.installed/freetype': Permission denied
freetype.tcz: OK
touch: cannot touch '/usr/local/tce.installed/imlib2': Permission denied
imlib2.tcz: OK
touch: cannot touch '/usr/local/tce.installed/icu': Permission denied
icu.tcz: OK
touch: cannot touch '/usr/local/tce.installed/graphite2': Permission denied
graphite2.tcz: OK
touch: cannot touch '/usr/local/tce.installed/pixman': Permission denied
pixman.tcz: OK
touch: cannot touch '/usr/local/tce.installed/lzo': Permission denied
lzo.tcz: OK
touch: cannot touch '/usr/local/tce.installed/libXrender': Permission denied
libXrender.tcz: OK
touch: cannot touch '/usr/local/tce.installed/expat2': Permission denied
expat2.tcz: OK
fc-cache: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
fontconfig.tcz: OK
cairo.tcz: OK
harfbuzz.tcz: OK
wbar.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
flwm_topside.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libxkbfile.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xkbcomp.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xkeyboard-config.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
mtdev.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libevdev.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xf86-input-evdev.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xf86-video-fbturbo.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
nettle.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libxshmfence.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libdrm.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
mesa.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libpciaccess.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libfontenc.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libXfont.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xorg-server.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libXt.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libXmu.tcz: OK
Xlibs.tcz: OK
libXcursor.tcz: OK
glu.tcz: OK
fltk-1.3.tcz: OK
Xprogs.tcz: OK
Xorg.tcz: OK
TC.tcz: OK
tc@box:~$ xlsfonts
-sh: xlsfonts: not found
tc@box:~$ which xlsfonts
/usr/bin/xlsfonts
tc@box:~$ ls -lA $(which xlsfonts)
lrwxrwxrwx 1 root root 34 Jan  1 01:02 /usr/bin/xlsfonts -> /tmp/tcloop/Xlibs/usr/bin/xlsfonts
tc@box:~$ ls -lA $(readlink $(which xlsfonts))
-rwxr-xr-x 1 root root 13164 Aug 12  2014 /tmp/tcloop/Xlibs/usr/bin/xlsfonts
Whats wrong?
Download a copy and keep it handy: Core book ;)

Offline bobbintb

  • Newbie
  • *
  • Posts: 8
Re: piCore 8.0 - xlsfonts: not found
« Reply #1 on: December 24, 2016, 01:39:31 AM »
I'm getting the same. Anyone?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: piCore 8.0 - xlsfonts: not found
« Reply #2 on: December 24, 2016, 03:21:43 AM »
Please run file on it, could be a x86 binary.

Looks like aterm or libtiff have bad tce.installed permissions, fontconfig a missing dep, and what's with desktop.sh missing...
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 8.0 - xlsfonts: not found
« Reply #3 on: December 24, 2016, 11:02:27 AM »
Code: [Select]
file $(readlink $(which xlsfonts))
/tmp/tcloop/Xlibs/usr/bin/xlsfonts: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.25, stripped

aterm.tcz  has  755  on  tce.installed .
Should be 775.

When I add  harfbuzz.tcz  to  fontconfig.tcz.dep  the  fc-cache: error  does not go away. Hmm.

Missing  desktop.sh  can be ignored I think, as it's just for creating menu entries and wbar icons but  Xlibs.tcz , which contains  desktop.sh , is loaded later.
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 8.0 - xlsfonts: not found
« Reply #4 on: December 24, 2016, 05:36:50 PM »

aterm.tcz  has  755  on  tce.installed .
Should be 775.


There are no aterm.tcz in tce.installed, only aterm with proper access rights and ownership.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 8.0 - xlsfonts: not found
« Reply #5 on: December 24, 2016, 05:58:18 PM »
I probably should have said ...
The directory  /usr/local/tce.installed  in the aterm extension doesn't have proper permissions. It's missing write access for Group.
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 8.0 - xlsfonts: not found
« Reply #6 on: December 25, 2016, 04:11:47 AM »
I probably should have said ...
The directory  /usr/local/tce.installed  in the aterm extension doesn't have proper permissions. It's missing write access for Group.

Till now you didn't clarify which file you are talking about and didn't provide output with the suspected wrong permission.

Startup script inside aterm.tcz:

Quote
tc@RPi3_DevSys:/tmp/tcloop/aterm/usr/local/tce.installed$ ls -l
total 1
-rwxrwxr-x 1 root staff 89 Aug 11  2014 aterm

tc@RPi3_DevSys:/tmp/tcloop/aterm/usr/local/tce.installed$
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 8.0 - xlsfonts: not found
« Reply #7 on: December 25, 2016, 09:56:09 AM »
The startup script itself has proper permissions, but the directory containing it does not.
Code: [Select]
tc@box[p1]:/tmp/rpi/old/aterm/$ ls -dl usr/local/tce.installed
drwxr-xr-x 2 root staff 60 Aug 11  2014 usr/local/tce.installed/
This creates this error message for subsequent extension loading if the respective extensions don't have their own startup scripts.
Code: [Select]
touch: cannot touch '/usr/local/tce.installed/extension-name': Permission denied

This is not related to the  xlsfonts  error though.
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 8.0 - xlsfonts: not found
« Reply #8 on: January 24, 2017, 09:47:19 PM »
The missing  /lib/ld-linux.so.3  is the culprit.
Code: [Select]
file $(readlink $(which xlsfonts))
/tmp/tcloop/Xlibs/usr/bin/xlsfonts: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.25, stripped
[...]

xlsfonts  should look for  ld-linux-armhf.so.3 .

Or an additional symlink can be created
Code: [Select]
cd /lib
sudo ln -s  ld-2.24.so  ld-linux.so.3
Download a copy and keep it handy: Core book ;)