Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-14-2010, 04:51 AM
|
#1
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
mjpegtools build error, missing libs which aren't missing
Hi all,
trying to build mjpegtools 1.90 using the slackbuild script but getting this build error
Code:
gcc: /usr/lib64/libgobject-2.0.so: No such file or directory
gcc: /usr/lib64/libgmodule-2.0.so: No such file or directory
gcc: /usr/lib64/libglib-2.0.so: No such file or directory
Looks then as if these libs aren't available. However, a locate finds them in /usr/lib and /usr/lib64 where they are expected to be.
Anyone any ideas, or alternatively a link to an alrady compiled pkg for Slackware64
TIA
|
|
|
03-14-2010, 05:00 AM
|
#2
|
Member
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806
Rep:
|
locate may provide you with incorrect information as it relies on being updated, check for the files using find or by just doing ls /usr/lib64
|
|
|
03-14-2010, 05:57 AM
|
#3
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
|
Tried that and they show in the directory /usr/lib64 absolutely fine. But strangely enough ldconfig shows this error:-
Code:
ldconfig: Cannot stat /usr/lib64/libslang.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libgthread-2.0.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libglib-2.0.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libgmodule-2.0.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libcurl.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libmp.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libgobject-2.0.so: No such file or directory
ldconfig: Cannot stat /usr/lib64/libtiff.so: No such file or directory
Any more ideas?
|
|
|
03-16-2010, 02:56 AM
|
#4
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
|
anyone?
|
|
|
03-16-2010, 03:12 AM
|
#5
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Right, so post #1 and post #3 are conflicting. Either the missing libs are on the system, or they are not.
The ldconfig output showing all those "cannot stat.." messages, suggests that the libraries are not present on the machine, but symlinks to them are still present (i.e. symlinks pointing at non-existent stuff).
Also, the libraries should NOT be found BOTH in /usr/lib AND in /usr/lib64 -- this doesn't make sense (forgive me if it's a multi-lib system and it actually DOES make sense -- I've not used multi-lib, so I could be wrong there, I don't know.)
Is this happening on your Slackware --current system? Is it updated, and not missing any packages?
I suggest the following commands:
Code:
grep usr/lib64/libgmodule-2.0.so /var/log/packages/*
repeat that command, replacing the bold part with each of the items shown in post #1 and post #3 -- and leave off the leading slash! It looks like you have missing, corrupted, or overlapped packages installed.
You might find my lib/dependency checking script handy; you can get it here: http://www.linuxquestions.org/questi...encies-794133/
Cheers!
Sasha
|
|
|
03-16-2010, 12:52 PM
|
#6
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
|
Hi Sasha,
This is indeed a multilib system running current so that may be part of the problem. However, following your suggestion I get this result:
Code:
grep usr/lib64/libgmodule-2.0.so /var/log/packages/*
/var/log/packages/aaa_elflibs-13.013-x86_64-4:usr/lib64/libgmodule-2.0.so.0.2200.4
/var/log/packages/glib2-2.22.4-x86_64-1:usr/lib64/libgmodule-2.0.so.0.2200.4
grep usr/lib64/libgobject-2.0.so /var/log/packages/*
/var/log/packages/aaa_elflibs-13.013-x86_64-4:usr/lib64/libgobject-2.0.so.0.2200.4
/var/log/packages/glib2-2.22.4-x86_64-1:usr/lib64/libgobject-2.0.so.0.2200.4
/var/log/packages/glib2-2.22.4-x86_64-1:usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py
grep usr/lib64/libglib-2.0.so /var/log/packages/*
/var/log/packages/aaa_elflibs-13.013-x86_64-4:usr/lib64/libglib-2.0.so.0.2200.4
/var/log/packages/glib2-2.22.4-x86_64-1:usr/lib64/libglib-2.0.so.0.2200.4
/var/log/packages/glib2-2.22.4-x86_64-1:usr/share/gdb/auto-load/usr/lib64/libglib-2.0.so.0.2200.4-gdb.py
As you can see, the 'missing' libs are included in aaa_elflibs, albeit with extended release info. I have checked that the symlinks are named correctly and point to these libs. I can't help thinkiong that somewhere along the line in updating to current I have somehow borked my box.
I have tried your script BTW and it gives me loads of orphaned files and missing binaries, so still deciding what to do about that. Just for info though, as well as multlib, I am running AlienBob's KDE4.4.1 packages and kde3 compat packages both 32 and 64bit. Perhaps time to remove the kde3 stuff!
|
|
|
03-16-2010, 12:57 PM
|
#7
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Well, first thing I would do is try to reinstall those packages which contain the pieces that your system seems to be missing; i.e. make sure that all packages that are SUPPOSED to be installed, are actually installed fully/correctly, and that remnants of OLD packages are not lying around..
As for multilib and the KDE stuff, I'm using neither so unfortunately I can't accurately comment on what's right or wrong on your system from that perspective.
Sasha
|
|
|
All times are GMT -5. The time now is 05:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|