Inkscape is not opening (I am currently using manjaro linux) - linux

I tried to open Inkscape via gui icon but it's not opening
when i am trying to open it via CLI this was the output
$inkscape
inkscape: error while loading shared libraries: libpoppler.so.118: cannot open shared object file: No such file or directory
I actually searched on the internet but could not resolve it with those explanations.
these are some more information
$which inkscape
/usr/bin/inkscape
$pacman -Q poppler inkscape
poppler 21.11.0-1
inkscape 1.1.2-1
$ldd $(which inkscape) | fgrep libpoppler
libpoppler.so.118 => not found
libpoppler-glib.so.8 => /usr/bin/../lib/inkscape/../libpoppler-glib.so.8 (0x00007fafaaa28000)
libpoppler.so.115 => /usr/bin/../lib/inkscape/../libpoppler.so.115 (0x00007fafa8a8e000)

I don't know if you are still in the need of help but I had the same problem and found out that installing poppler-glib saved my install of inkscape.

Related

unable to open Encapsulated PostScript (EPS) file in ubuntu 20.04

I have many .eps files in a folder . I just want them to see how it looks. So i tried to open .eps file using document viewer it doesnot open. Again i tried through gv file.eps still it gives error like undefined Obj.....again when i tried to open through gimp file.eps there is also some problem like opening failed: Could not interpret PostScript file. I donot know why such types of problem exist in ubuntu 20.04(may be library problem). If it is required to install some extra packages let me know. I hope some solutions from experts side. Thanks.

Convert SVG to DXF in Inkscape CLI

I wonder how can we convert SVG to DXF in Inkscape CLI mode. IN GUI to export/save svg to dxf we can do it from file menu by doing Save As
i went through inkscape cli document : https://inkscape.org/doc/inkscape-man.html
here mostly export words is used , so i tried
inkscape --export-type=out.dxf in.svg
inkscape --export-filename=out.dxf in.svg
but no success giving me errpr
InkFileExportCmd::export: Unknown export type: out.dxf. Allowed values: [svg,png,ps,eps,pdf,emf,wmf,xaml].
however in GUI under FILE -> SAVE AS we can see a lot of file formats including DXF
You need to run the extension from the command line, using the available parameters. Find it in your Inkscape installation folder, inside the directory /share/inkscape/extensions.
So, in the most basic version:
python3 dxf_outlines.py --output="yourfile.dxf" "yourfile.svg"
You can also type
python3 dxf_outlines.py -h
to find out all about the options.
I tried using sample code:
// command:
C:\>F:\inkscape\bin\inkscape --export-filename=F:\aaa.dxf F:\valve.svg
Although there was no tracing back messages, but it succeeded:

error opening executable file on ssh - error while loading shared libraries

I am trying to run tor on Ubuntu with terminal (using SSH). Whenever I am trying to open the executable file I am getting this error:
./tor: error while loading shared libraries: libevent-2.1.so.7:
cannot open shared object file: No such file or directory
I have tried to re-install the packages and nothing going well, also tried to link the library and that also did nothing. Whenever I am trying to create another executable file it runs okay, the problem is only with this tor file.
Further details:
$ ldd ./tor | grep libevent
libevent-2.1.so.7 => not found
$ ls -l /usr/lib/libevent*
No such file or directory
Can anyone guide me on how to solve it? Any help would be really appreciated.

DXF to SVG using Inkscape CLI on Mac OS

I'm trying to convert DXF files (from Fusion360) to plain SVG files using the Inkscape CLI. It works fine with one small annoyance: the Inkscape GUI promps me on how to read the dxf file (the settings in there are fine, all I do is click ok).
It's the same dialog you get when importing a dxf file through the Gui.
The command I'm running:
/Applications/Inkscape.app/Contents/Resources/bin/inkscape -z -l <absolutePath>/output.svg <absolutePath>/input.dxf
I've also tried this with no success with regard to the dialog popup:
/Applications/Inkscape.app/Contents/Resources/bin/inkscape -z -f <absolutePath>/input.dxf -l <absolutePath>/output.svg
-z means no GUI. Which works in terms of no Inkscape instance starting (XQuartz is starting though), but the pesky dialog can just assume ok and move on rather than checking with me for an ok click.
To be clear, the actual export is just fine. It's only the Gui dialog that's crashing my CLI-high :)
In short: any chance on flagging that dialog to go ahead without actual interaction from my part?
Specs:
MacOS 10.13.
Inkscape 0.91

Linux LibreOfice Headless Conversion no Output?

I am trying to convert a .docx file to PDF using LibreOffice 4.3 on RHEL 6.5 (corporate server).
For some reason, there is no output at all:
../program/soffice --headless --convert-to pdf --outdir . lock.docx
I am running the command as root, so I don't see any problems with permissions.
This is similar to this question, but I cannot convert ANY MS Office documents.
I installed LO on an EC2 instance, and it converts .docx to PDF just fine.
What areas could be causing the issue? Any suggestions on what I should be looking at?
Thanks!
Turns out I needed a whole set of dependent RPMs installed first, culminating in libGLU. I've included my additional RPM dependency tree if it will be of use:
libIDL-0.8.13-2.1.el6.x86_64.rpm
ORBit2-2.14.17-5.el6.x86_64.rpm
sgml-common-0.6.3-33.el6.noarch.rpm
GConf2-2.28.0-6.el6.x86_64.rpm
avahi-glib-0.6.25-15.el6.x86_64.rpm
gnome-vfs2-2.24.2-6.el6.x86_64.rpm
libXxf86vm-1.1.2-2.el6.x86_64.rpm
mesa-dri-filesystem-9.2-0.5.el6_5.2.x86_64.rpm
mesa-private-llvm-3.3-0.3.rc3.el6.x86_64.rpm
mesa-dri1-drivers-7.11-8.el6.x86_64.rpm (--nodeps)
mesa-dri-drivers-9.2-0.5.el6_5.2.x86_64.rpm
mesa-libGL-9.2-0.5.el6_5.2.x86_64.rpm
mesa-libGLU-9.2-0.5.el6_5.2.x86_64.rpm

Resources