Discussion:
ldconfig - truncated
(too old to reply)
Charles Coffee
2019-06-22 20:52:37 UTC
Permalink
Henrik;

One of my problems is I am not sure what libs I need to load or reload
following is a partial listing from the file ldconfig: file /usr/lib ***
truncated

ldconfig: Path `/lib64' given more than once
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory

ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
ldconfig: file /usr/lib/libQt5Core.so.5 is truncated
ldconfig: file /usr/lib/libQt5WebKitWidgets.so.5.9.2 is truncated
ldconfig: file /usr/lib/liblfdxf.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfshp.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfjxr.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libCATCDSUtilities.so is truncated
ldconfig: file /usr/lib/liblflmb.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltpdf.so.19.0.0.49 is truncated
ldconfig: file /usr/lib/liblftif.so.19.0.0.13 is truncated

((50 more listings as above and below)))

ldconfig: file /usr/lib/libltdocwrt.so.19.0.0.30 is truncated
ldconfig: file /usr/lib/liblfraw.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltimgcor.so.19.0.0.18 is truncated
ldconfig: file /usr/lib/liblfxlx.so.19.0.0.12 is truncated

ldconfig: /usr/lib/ is not a symbolic link

Thank you again for the reply
--
Chuckels
Grant Taylor
2019-06-22 22:47:52 UTC
Permalink
Post by Charles Coffee
One of my problems is I am not sure what libs I need to load or reload
following is a partial listing from the file ldconfig: file /usr/lib ***
truncated
ldconfig: Path `/lib64' given more than once
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory
ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
ldconfig: file /usr/lib/libQt5Core.so.5 is truncated
ldconfig: file /usr/lib/libQt5WebKitWidgets.so.5.9.2 is truncated
ldconfig: file /usr/lib/liblfdxf.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfshp.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfjxr.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libCATCDSUtilities.so is truncated
ldconfig: file /usr/lib/liblflmb.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltpdf.so.19.0.0.49 is truncated
ldconfig: file /usr/lib/liblftif.so.19.0.0.13 is truncated
((50 more listings as above and below)))
ldconfig: file /usr/lib/libltdocwrt.so.19.0.0.30 is truncated
ldconfig: file /usr/lib/liblfraw.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltimgcor.so.19.0.0.18 is truncated
ldconfig: file /usr/lib/liblfxlx.so.19.0.0.12 is truncated
These look suspicious to me.

I usually can usually recognize library names, or find information on them.

This causes an uneasy feeling on the back of my neck, almost as if
something has gotten into the system and is trying to leverage the
dynamic linker to load libraries before programs run.

Do you have /any/ other reason to doubt the integrity of the system? Is
there /any/ chance that something has been compromised to the point that
something has access to alter ld.config? (This likely means a root
level compromise, or something else that can gain root via something
like sudo / su.)
--
Grant. . . .
unix || die
Chris Vine
2019-06-22 23:03:09 UTC
Permalink
On Sat, 22 Jun 2019 16:47:52 -0600
Post by Grant Taylor
Post by Charles Coffee
One of my problems is I am not sure what libs I need to load or reload
following is a partial listing from the file ldconfig: file /usr/lib ***
truncated
ldconfig: Path `/lib64' given more than once
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory
ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
ldconfig: file /usr/lib/libQt5Core.so.5 is truncated
ldconfig: file /usr/lib/libQt5WebKitWidgets.so.5.9.2 is truncated
ldconfig: file /usr/lib/liblfdxf.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfshp.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfjxr.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libCATCDSUtilities.so is truncated
ldconfig: file /usr/lib/liblflmb.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltpdf.so.19.0.0.49 is truncated
ldconfig: file /usr/lib/liblftif.so.19.0.0.13 is truncated
((50 more listings as above and below)))
ldconfig: file /usr/lib/libltdocwrt.so.19.0.0.30 is truncated
ldconfig: file /usr/lib/liblfraw.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltimgcor.so.19.0.0.18 is truncated
ldconfig: file /usr/lib/liblfxlx.so.19.0.0.12 is truncated
These look suspicious to me.
I usually can usually recognize library names, or find information on them.
This causes an uneasy feeling on the back of my neck, almost as if
something has gotten into the system and is trying to leverage the
dynamic linker to load libraries before programs run.
Do you have /any/ other reason to doubt the integrity of the system? Is
there /any/ chance that something has been compromised to the point that
something has access to alter ld.config? (This likely means a root
level compromise, or something else that can gain root via something
like sudo / su.)
It might be that, or it might be that he panicked and aborted his
install of DraftSight for Linux half way through, in which case he
should be able to delete the truncated files. None of the ones he has
revealed seem to relate to packages that come with the standard
slackware install (although I don't have an i686 platform to check out,
all mine are 64 bit).

If so, there may be other useless crud left on his system, but there we
are.

Note for the original poster: if you are going to install foreign
binaries, at least make a slackware package of the binaries so that
they can be easily installed and uninstalled.
Henrik Carlqvist
2019-06-23 09:45:30 UTC
Permalink
Post by Charles Coffee
ldconfig: Path `/lib64' given more than once
So maybe you are running a 64 bit Slackware? What does the output of

file /bin/ls

say?
Post by Charles Coffee
ldconfig: Can't stat /libx32: No such file or directory
The path /libx32 is as far as I know not standard in the Slackware file
tree. Where did you find the packages that you installed on your system?
Post by Charles Coffee
ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
...

As others have said, none of the libraries that you listed are part of a
standard Slackware install.

To me it seems as if you have tried to install some 32 bit binary
packages not intended for your 64 bit Slackware installation. You might
be able to run 32 bit binary packages if you install multilib but in most
cases it is better to install 64 bit packages intended for your specific
version of Slackware or even better to install your software by compiling
it from source.

regards Henrik
Charles Coffee
2019-06-23 14:41:54 UTC
Permalink
Post by Henrik Carlqvist
Post by Charles Coffee
ldconfig: Path `/lib64' given more than once
So maybe you are running a 64 bit Slackware? What does the output of
Post by Charles Coffee
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
...
As others have said, none of the libraries that you listed are part of a
standard Slackware install.
regards Henrik
1st I would like to thank everyone who replied for the guidance.

The System is a Ryzen 5-2600 on Gigabyte AB350M-D3H Mobo with 24GB Ram

OS is Slackware64-current (5-30-19) with Alien Bob's Multilib and
Plasma 5.19.06 from Alien installed and running. ((Should have said this
initially))

I had tried to load DrafSight 2019 several times and used the
RPM download (rpm2txz) and followed some of the ideas on the DrafSight
Blog. Guess it was not worth it since DraftSight is dropping the
Free version for Linux this year and I ended up going with QCAD.

At any rate the complete listing is as follows as this may be of
help. I think these libs came from trying to install DraftSight and
I would delete them all but was concerned about those for QT5.

================== Start of List ==========================
dconfig: Path `/lib64' given more than once
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory
ldconfig: file /usr/lib/libQt5Gui.so.5.9.3 is truncated
ldconfig: file /usr/lib/libQt5Core.so.5 is truncated
ldconfig: file /usr/lib/libQt5WebKitWidgets.so.5.9.2 is truncated
ldconfig: file /usr/lib/liblfdxf.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfshp.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfjxr.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libCATCDSUtilities.so is truncated
ldconfig: file /usr/lib/liblflmb.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltpdf.so.19.0.0.49 is truncated
ldconfig: file /usr/lib/liblftif.so.19.0.0.13 is truncated
ldconfig: file /usr/lib/libltfil.so.19.0.0.22 is truncated
ldconfig: file /usr/lib/libltimgclr.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libQt5WebKit.so.5.9.2 is truncated
ldconfig: file /usr/lib/liblfcmw.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libltsvg.so.19.0.0.51 is truncated
ldconfig: file /usr/lib/liblfpcl.so.19.0.0.8 is truncated
ldconfig: file /usr/lib/liblfjbg.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltclr.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libltocr.so.19.0.0.262 is truncated
ldconfig: file /usr/lib/liblfcgm.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libltbar.so.19.0.0.12 is truncated
ldconfig: file /usr/lib/liblfjls.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libltimgefx.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libltsane.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/liblfe00.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libicuuc.so.55.1 is truncated
ldconfig: file /usr/lib/libltkrn.so.19.0.0.32 is truncated
ldconfig: file /usr/lib/libltimgutl.so.19.0.0.4 is truncated
ldconfig: file /usr/lib/liblfjb2.so.19.0.0.8 is truncated
ldconfig: file /usr/lib/liblffax.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/liblfdwg.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libCATCDS.so is truncated
ldconfig: file /usr/lib/liblfpng.so.19.0.0.6 is truncated
ldconfig: file /usr/lib/libltdic.so.19.0.0.18 is truncated
ldconfig: file /usr/lib/libQt5Svg.so.5.9.3 is truncated
ldconfig: file /usr/lib/libQt5X11Extras.so.5.9.3 is truncated
ldconfig: file /usr/lib/liblftxt.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/liblfdox.so.19.0.0.23 is truncated
ldconfig: file /usr/lib/liblfgif.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/liblfpct.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/libicui18n.so.55.1 is truncated
ldconfig: file /usr/lib/liblfcmp.so.19.0.0.17 is truncated
ldconfig: file /usr/lib/liblfvpg.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/liblfica.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/liblfgbr.so.19.0.0.5 is truncated
ldconfig: file /usr/lib/liblfcmx.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/liblfnap.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libQt5XcbQpa.so.5.9.3 is truncated
ldconfig: file /usr/lib/libltdrw.so.19.0.0.13 is truncated
ldconfig: file /usr/lib/libQt5Core.so.5.9.3 is truncated
ldconfig: file /usr/lib/liblfbmp.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/liblfppx.so.19.0.0.13 is truncated
ldconfig: file /usr/lib/liblfmif.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libltdictables.so.19.0.0.2 is truncated
ldconfig: file /usr/lib/libQt5Network.so.5.9.3 is truncated
ldconfig: file /usr/lib/liblfpsd.so.19.0.0.3 is truncated
ldconfig: file /usr/lib/liblfpcx.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libicudata.so.55.1 is truncated
ldconfig: file /usr/lib/liblfj2k.so.19.0.0.4 is truncated
ldconfig: file /usr/lib/libCATWBx.so is truncated
ldconfig: file /usr/lib/libltdocwrt.so.19.0.0.30 is truncated
ldconfig: file /usr/lib/liblfraw.so.19.0.0.1 is truncated
ldconfig: file /usr/lib/libltimgcor.so.19.0.0.18 is truncated
ldconfig: file /usr/lib/liblfxlx.so.19.0.0.12 is truncated
ldconfig: /usr/lib/ is not a symbolic link
==========================End List ===========================

As I said this was more than likely my screwup while trying
to load "DraftSight 2019" but the system does run OK,
just would like to get rid of the errors when the sysinit
starts up and the problem with "ldconfig".

Thanks again
--
-- Chuckels
Henrik Carlqvist
2019-06-24 20:55:51 UTC
Permalink
I had tried to load DrafSight 2019 several times and used the RPM
download (rpm2txz) and followed some of the ideas on the DrafSight Blog.
It is a good thing that you used rpm2txz, that means that you have used
Slackware package management and can rather easy remove the broken
software.
Guess it was not worth it since DraftSight is dropping the Free version
for Linux this year and I ended up going with QCAD.
If you also want to make 3d drawings you also might want to try FreeCAD.
At any rate the complete listing is as follows as this may be of help. I
think these libs came from trying to install DraftSight and I would
delete them all but was concerned about those for QT5.
Better than to delete the files individually would be to use removepkg to
remove the DraftSight package that you previously created with rpm2txz.
If you don't remember the name of the package it is probably some of the
newer installed packages as you can see with

ls -alrt /var/log/packages

Maybe you have installed both DraftSight and some qt5 packages.

regards Henrik

Loading...