texstudio

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#31 by Rava » 22 Nov 2021, 12:52

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. :D

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.0rc3a 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
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#32 by Rava » 22 Nov 2021, 14:00

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. :( :wall:
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

texstudio

Post#33 by beny » 22 Nov 2021, 14:33

hi maybe this is useful:http://alien.slackbook.org/slackware/sl ... 4/current/ take a look if work for you

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#34 by rych » 22 Nov 2021, 14:47

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#35 by Rava » 22 Nov 2021, 14:59

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. :Rose:
____________________________________________
beny wrote:
22 Nov 2021, 14:33
hi maybe this is useful:http://alien.slackbook.org/slackware/sl ... 4/current/ take a look if work for you
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. B)
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

texstudio

Post#36 by beny » 22 Nov 2021, 15:53

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/

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#37 by Rava » 22 Nov 2021, 17:09

^
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
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#38 by rych » 23 Nov 2021, 05:02

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!

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#39 by Rava » 23 Nov 2021, 20:24

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?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

texstudio

Post#40 by beny » 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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#41 by Rava » 24 Nov 2021, 01:53

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.
:evil:
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#42 by rych » 24 Nov 2021, 04:52

Rava, As I said, my qpdfview module, which you find at my link above (can you see it?), includes poppler, xcb, etc.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#43 by Rava » 24 Nov 2021, 17:07

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

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#44 by rych » 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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#45 by Rava » 25 Nov 2021, 04:24

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.
Cheers!
Yours Rava

Post Reply