LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   feh problems (https://www.linuxquestions.org/questions/slackware-14/feh-problems-578771/)

Th3_J3st3R 08-21-2007 05:17 PM

feh problems
 
I'm trying to set my background in Fluxbox and for some reason feh is not working... Im stumped.

Its telling me -
Quote:

error while loading shared file libraries: libgiblib.so.1 : cannot open shared object file : no such file or directory
I installed glib though. When I do a whereis libgiblib.so.1 it returns with /usr/lib/libgiblib.so.1 /usr/lib/libgiblib.so

I added /usr/lib to my $PATH (not sure if this would help) still no success. Can anyone help a poor soul? =)

jukebox55 08-21-2007 05:59 PM

try adding the line '/usr/lib' to '/etc/ld.so.conf', then in a terminal run 'ldconfig'.

Th3_J3st3R 08-22-2007 04:00 PM

No luck it still wont recognize it. This is weird. Ive tried reinstalling the glib package too. Again no luck. Anyone? =(

h4kteur 08-22-2007 05:02 PM

Quote:

Originally Posted by Th3_J3st3R (Post 2866172)
I'm trying to set my background in Fluxbox and for some reason feh is not working... Im stumped.

Its telling me -


I installed glib though. When I do a whereis libgiblib.so.1 it returns with /usr/lib/libgiblib.so.1 /usr/lib/libgiblib.so

I added /usr/lib to my $PATH (not sure if this would help) still no success. Can anyone help a poor soul? =)


You need to install giblib before feh. I've made a slackbuild for giblib and a slackbuild for feh.

You must run the slackbuild a user and not as root, if you have fakeroot the slackbuild will use fakeroot if not you will be asked to type your root password.

Th3_J3st3R 08-22-2007 09:32 PM

h4kteur:
Thanks for those. I ran your giblib slackbuild which worked with no problems. Then feh is giving me this problem.

Code:

*** The giblib-config script installed by giblib could not be found
*** If giblib was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GIBLIB_CONFIG environment variable to the
*** full path to giblib-config.
configure: error: Cannot find giblib: Is giblib-config in the path?

Im not sure how to solve this.. I don't know what PREFIX is.

h4kteur 08-23-2007 01:48 AM

It may sound stupid but did you install giblib before running feh's slackbuild ?

type as root :
upgradepkg --install-new --reinstall /tmp/build/giblib-1.2.4-i486-1_SBn.tgz to install giblib and
upgradepkg --install-new --reinstall /tmp/build/feh-1.3.4-i486-1_SBn.tgz to install feh once compiled.

Th3_J3st3R 08-23-2007 01:40 PM

Thanks so much h4kteur. The problem was I didn't know that the script created packages that are stored in /tmp/build ... well I know now. I don't use slackbuilds as much as I should. I go to linuxpackages.net mostly. Anyways thanks again for all the help!

lostidentity 06-07-2009 05:16 AM

Hi,

I'm having a similar issue. I do not have root access on the system and I installed the files on my home directory. I've installed giblib and feh was installed without any problems.

I type the following to set my background

Code:

feh –bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`
and I get the following error when I do that
Code:

error while loading shared file libraries: libgiblib.so.1 : cannot open shared object file : no such file or directory
I installed the libraries in the following directory

/home/user/my_programs/lib/

Any ideas?

Thanks.

H_TeXMeX_H 06-07-2009 12:53 PM

Quote:

Originally Posted by lostidentity (Post 3565787)
I installed the libraries in the following directory

/home/user/my_programs/lib/

Any ideas?

Thanks.

That's definitely why it doesn't find them. You will likely have to add that directory to '/etc/ld.so.conf' and then run 'ldconfig' as root. That might work.

I don't see why you don't install libraries to /usr/lib where they belong, it'll save you a lot of potential trouble later on.

manwichmakesameal 06-07-2009 12:55 PM

Quoth lostidentity:
Quote:

I do not have root access on the system

H_TeXMeX_H 06-07-2009 01:26 PM

Oh, I see, sorry I missed that small bit :)

Well, I'm not sure what to do in that case, I'll think about it...

rg3 06-07-2009 03:11 PM

He can still use LD_LIBRARY_PATH.

lostidentity 06-08-2009 01:44 AM

Hi,

Thanks for all the replies. Sorry I'm still very new to Linux so you'd have to describe it a bit for me.

Do I need to uninstall feh, change the libraries in the Makefile and install again?


All times are GMT -5. The time now is 06:59 PM.