Page 3 of 6
texstudio
Posted: 22 Nov 2021, 12:52
by Rava
rych wrote: ↑22 Nov 2021, 09:53
Rava, try again, I think I fixed it, mega's fault
Ideed now it works. mega seems to be … "moody" at times.
Added in 2 minutes 42 seconds:
Are these all correct?
Code: Select all
5bd92a2d74196a2033850950d7794ed6 hunspell-1.7.0-x86_64-1.xzm
120e2278dc892b8796c85996c5dba942 qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
1bccd94861311b5482a7f4e1a4f21172 qt5-dev-5.15.2-x86_64_10-extralib.xzm
b96d7ec8a11cdb78e0d3c7f8780516c0 quazip-1.1-x86_64-3.xzm
aaaa6511cf1cce676e177e8887cb4c48 texstudio-4.0.4-1-x86_64.xzm
Added in 15 minutes 59 seconds:
My System 5.0rc3 XFCE
It seems I lack one lib because I activated:
Code: Select all
hunspell-1.7.0-x86_64-1.xzm
qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
qt5-dev-5.15.2-x86_64_10-extralib.xzm
quazip-1.1-x86_64-3.xzm
texstudio-4.0.4-1-x86_64.xzm
and I still get this ldd error:
Code: Select all
guest@porteus:~$ ldd /usr/bin/texstudio|grep found
libpoppler-qt5.so.1 => not found
and texstudio won't start:
Code: Select all
guest@porteus:~$ texstudio
texstudio: error while loading shared libraries: libpoppler-qt5.so.1: cannot open shared object file: No such file or directory
Added in 10 minutes 6 seconds:
I used lsxzmgrep V2020-12-19 (the script is to be found somewhere on this forum, it's by yours truly adapted from lsxzm) to look into older versions of rc3 - to no prevail, not one single base/ contains libpoppler-qt5.
Syntax of lsxzmgrep:
Code: Select all
lsxzmgrep [folder or single module] [search-phrase]
Result: no libpoppler-qt5 anywhere.
Code: Select all
guest@porteus:/1/Porteus_5.0rc3a/porteus/base$ lsxzmgrep . libpoppler-qt5
lsxzmgrep V2020-12-19
guest@porteus:/1/Porteus_5.0rc3d/porteus/base$ lsxzmgrep . libpoppler-qt5
lsxzmgrep V2020-12-19
guest@porteus:/1/Porteus_5.0rc3e/porteus/base$ lsxzmgrep . libpoppler-qt5
lsxzmgrep V2020-12-19
guest@porteus:/1/Porteus_5.0rc3f/porteus/base$ lsxzmgrep . libpoppler-qt5
lsxzmgrep V2020-12-19
Sadly, no results searching for it via slakfinder.org :
https://slakfinder.org/index.php?act=se ... e=#results
____________________
Cave! The naming of the folders e.g. Porteus_5.0rc3
a is my own sorting logic and has no base in any official or unofficial sorting or naming.
Added in 2 minutes 18 seconds:
And for your convenience here the code of lsxzmgrep:
Code: Select all
#!/bin/bash
# https://forum.porteus.org/viewtopic.php?p=67979#p67979 brokenman
# https://forum.porteus.org/viewtopic.php?p=3522#p3522 82issa
# https://forum.porteus.org/viewtopic.php?p=80427#p80427 Ed_P
# https://forum.porteus.org/viewtopic.php?p=80384#p80384 &
# https://forum.porteus.org/viewtopic.php?p=80428#p80428 Rava
VERSION=2020-12-19
echo -n $(tput sgr0)
echo $(tput bold)$(tput setaf 3)lsxzmgrep$(tput sgr0) V$(tput setaf 3)${VERSION}$(tput sgr0)
if [ $# -ne 2 ]; then
echo $(tput bold)$(tput setaf 1)No xzm name and grep search pattern specified.$(tput sgr0)
exit 1
fi
for module in $(find "$1" -type f,l -name "*.xzm"); do
lsxzm ${module} | grep "$2" | sed -r "s#.+#>${module}\n&#"
done
texstudio
Posted: 22 Nov 2021, 14:00
by Rava
I used libpoppler-qt5-1_21.06.1-1_amd64.deb to create libpoppler-qt5-1_21.06.1-1_x86-64.xzm (by moving the lib into /usr/lib64/ from the wrong-for-slackware folder the .deb uses)
Result after activating:
Code: Select all
guest@porteus:~$ ldd /usr/bin/texstudio|grep found|sort
libpoppler.so.111 => not found
So I did a (more or less dirty) symlink hack:
Code: Select all
root@porteus:/usr/lib64# ln -s libpoppler.so.105.0.0 libpoppler.so.111
root@porteus:/usr/lib64# ls -o libpoppler.so*
lrwxrwxrwx 1 root 17 Nov 14 04:52 libpoppler.so -> libpoppler.so.105
lrwxrwxrwx 1 root 21 Nov 14 04:52 libpoppler.so.105 -> libpoppler.so.105.0.0
-rwxr-xr-x 1 root 3584240 Dec 7 2020 libpoppler.so.105.0.0
lrwxrwxrwx 1 root 21 Nov 22 14:53 libpoppler.so.111 -> libpoppler.so.105.0.0
Result:
Code: Select all
guest@porteus:~$ texstudio
texstudio: symbol lookup error: /usr/lib64/libpoppler-qt5.so.1: undefined symbol: _ZN6Stream12discardCharsEj
Seems I suck at this.
texstudio
Posted: 22 Nov 2021, 14:33
by beny
texstudio
Posted: 22 Nov 2021, 14:47
by rych
Rava, patience, I'll upload all of my modules tomorrow including poppler. In the meantime you could start installing TexLive, if you haven't already, and I recommend a portable installation to an ext4 Linux partition because it can grow large above 1GB and it tends to update frequently, so doesn't suit for a module+changes paradigm (just as Firefox for example) -- but that's just my opinion, many porteus users don't even have an ext4 partition
texstudio
Posted: 22 Nov 2021, 14:59
by Rava
rych wrote: ↑22 Nov 2021, 14:47
many people don't even have an ext4 partition
So do I, just ext3.
rych wrote: ↑22 Nov 2021, 14:47
Rava, patience, I'll upload all of my modules tomorrow including poppler.
I can wait one day. See you then.
____________________________________________
Nope, sadly it does not. Created and activated python-poppler-qt5-21.1.0-x86_64-3alien.xzm.
I first removed the dirty symlink hack aka /usr/lib64/libpoppler.so.111 -> libpoppler.so - then I get the same "libpoppler.so.111 not found"
When I create the link again then I get the same old same old:
Code: Select all
texstudio: symbol lookup error: /usr/lib64/libpoppler-qt5.so.1: undefined symbol: _ZN6Stream12discardCharsEj
For now I'll be simply patient.
And wait a mere single day.
texstudio
Posted: 22 Nov 2021, 15:53
by beny
hi Rava there is a link to poppler-qt5 always in the alien bob repos but is tagged 2018 a bit too old i think.but just for the record here the link:
http://www.slackware.com/~alien/slackbu ... kg64/14.2/
texstudio
Posted: 22 Nov 2021, 17:09
by Rava
^
thanks beny, appreciated, but I simply wait for rych. He seems to be better at handling dependencies for texstudio.
____________________________________________
Off topic example… me and shrinking GIMP module
Please reply to the off topic part not here but in my most recent x86-64 module thread about GIMP -
gimp-2.10.22-x86_64-2 stripped + minimal dependencies for 5.0rc
texstudio
Posted: 23 Nov 2021, 05:02
by rych
Rava, My porteus/modules folder is complete now, same link which is also in my Profile signature to the right "Contact: ... <Website>"
My LaTeX stack is TexLive (separate installation), texstudio, qpdfview, LyX -- I grouped them in folders but there is dependencies overlap, and for or instance, qpdfview module includes poppler. I obviously have some other modules there unrelated to latex, e.g. Japanese input etc. It all works for me. Good luck!
texstudio
Posted: 23 Nov 2021, 20:24
by Rava
rych wrote: ↑23 Nov 2021, 05:02
My LaTeX stack is TexLive (separate installation), texstudio, qpdfview, LyX -- I grouped them in folders but there is dependencies overlap, and for or instance, qpdfview module includes poppler. I obviously have some other modules there unrelated to latex, e.g. Japanese input etc. It all works for me. Good luck!
I am not sure which module I lack and need.
The folder Texstudio has
hunspell-1.7.0-x86_64-1.xzm
quazip-1.1-x86_64-3.xzm
texstudio-4.0.4-1-x86_64.xzm
All these I have already, also these I have:
qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
qt5-dev-5.15.2-x86_64_10-extralib.xzm
Now what is the module that I must still miss for resolving my above mentioned issue?
texstudio
Posted: 23 Nov 2021, 21:16
by beny
libpoppler-qt5 is included into the poppler slackware current package if you don't have make a package: of poppler
libpoppler-qt5.so.1.30.0
texstudio
Posted: 24 Nov 2021, 01:53
by Rava
beny wrote: ↑23 Nov 2021, 21:16
libpoppler-qt5 is included into the poppler slackware current package if you don't have make a package: of poppler
libpoppler-qt5.so.1.30.0
Code: Select all
root@porteus:/mnt/live/memory/images# find .|grep poppler-qt5
root@porteus:/mnt/live/memory/images#
Seems it was cut since many DE not use qt5 (e.g. Openbox and XFCE) so it is neither part of 00[12]-* nor part of my 003-xfce4 module.
You mean this package:
https://slackware.uk/slackware/slackwar ... 6_64-1.txz
Added in 11 minutes 11 seconds:
Update
I created libpoppler-qt5.so.1.30.0.xzm
Code: Select all
root@porteus:~# lsxzm libpoppler-qt5.so.1.30.0.xzm
/usr
/usr/lib64
/usr/lib64/libpoppler-qt5.so.1.30.0
/usr/lib64/libpoppler.so.115.0.0
No ldd error now
Code: Select all
guest@porteus:~$ ldd /usr/bin/texstudio|grep found
guest@porteus:~$
Still it not works - wayland error:
Code: Select all
guest@porteus:~$ texstudio
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted
Any ideas?
I am not familiar with wayland, and I have no clue about "eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb" either.
Added in 4 minutes 20 seconds:
Rava wrote: ↑24 Nov 2021, 02:05
Could not load the Qt platform plugin "xcb" in "" even though it was found.
How to resolve such an issue.
The
Could not load […] even though it was found is a new one for me.
texstudio
Posted: 24 Nov 2021, 04:52
by rych
Rava, As I said, my qpdfview module, which you find at my link above (can you see it?), includes poppler, xcb, etc.
texstudio
Posted: 24 Nov 2021, 17:07
by Rava
rych wrote: ↑24 Nov 2021, 04:52
Rava, As I said, my qpdfview module, which you find at my link (can you see it?), includes poppler.
You did, but it should have worked with my poppler as well.
I deactivated my poppler module and activated your qpdfview module instead:
Code: Select all
guest@porteus:~$ texstudio
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted
Same old, same old.
My activated modules (concerning texstudio and its dependencies):
Code: Select all
hunspell-1.7.0-x86_64-1.xzm
qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
qt5-dev-5.15.2-x86_64_10-extralib.xzm
quazip-1.1-x86_64-3.xzm
texstudio-4.0.4-1-x86_64.xzm
texstudio
Posted: 25 Nov 2021, 01:44
by rych
Rava, Maybe something isn't right with your Qt5. Could you try as an experiment to activate and start the small File Manager QtFM module I have there? I'm suggesting this because it relies on xcb libs too
viewtopic.php?f=74&t=8286
texstudio
Posted: 25 Nov 2021, 04:24
by Rava
rych wrote: ↑25 Nov 2021, 01:44
Rava, Maybe something isn't right with your Qt5. Could you try as an experiment to activate and start the small File Manager QtFM module I have there? I'm suggesting this because it relies on xcb libs too
viewtopic.php?f=74&t=8286
I downloaded and activated qtfm-6.2.0-x86_64-1_ncm.xzm
Your guess was right on the money:
Code: Select all
guest@porteus:~$ qtfm
Info: Could not load the Qt platform plugin "xcb" in "" even though it was found. ((null):0, (null))
Warning: Could not find the Qt platform plugin "wayland" in "" ((null):0, (null))
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
((null):0, (null))
Aborted
Should I try using ncmprhnsbl modules from
QtFM for OpenBox (Post by ncmprhnsbl #81385) when they exist instead of the ones by you as an initial test?
Added in 9 minutes 43 seconds:
Update
I downloaded his other 4 modules as well and activated these.
The error remains the same.
Maybe I do have some QT based program unknowingly activated that uses some outdated stuff? Could that be the reason?
Maybe I should reboot and deacivate all my extra modules - which means no browser and no email (palemoon and interlink respectively) and no ebook reader (fbreader) . So no writing a reply here but I could test the QT issue.