creating sym-links to fedora /usr/lib

anirudh vij anirudhvij at
Sat Apr 7 03:39:32 PDT 2007

thanks simon,
tried your suggestion.This was the output

 /home/hackmanbash-3.1# vi /etc/
/home/hackmanbash-3.1# /sbin/ldconfig
bash-3.1# /mnt/sda3/usr/bin/evince
/mnt/sda3/usr/bin/evince: error while loading shared libraries:
cannot open shared object file: No such file or directory
 /home/hackmanbash-3.1# ldd /mnt/sda3/usr/bin/evince
/bin/sh: /lib/ version `GLIBC_2.4' not found (required by
/bin/sh: /lib/ version `GLIBC_2.4' not found (required by
/bin/sh: /lib/ version `GLIBC_2.4' not found (required by
 /home/hackmanbash-3.1# cat /etc/
# Begin /etc/
# End /etc/

On 4/7/07, Simon Geard <delgarde at> wrote:
> On Sat, 2007-04-07 at 01:34 +0530, anirudh vij wrote:
> > i do not not have the  disk space to build all of the "not found"
> > libs.Will creating symlinks to them in /usr/lib be good enough?or will
> > it screw up the system  later?
> It *might* work. On the other hand, it might not - you might get
> problems with binary compatibility, depending on what versions of the
> libraries you're running. That said, I can't see any way it could
> seriously screw up your system - as long as you don't overwrite any
> existing files, you could always just go back and remove the unwanted
> links. Or, just add the path to Fedora to /etc/, and
> everything ought to work at runtime.
> One caution though - letting LFS access the libraries from Fedora is
> easy. The problem will be building Evince. It'll be using pkg-config to
> find the include files from libgnomeui and others, and even if you point
> pkg-config at the Fedora config files, those won't be returning correct
> paths, so it won't find anything. You could resolve that by symlinking
> stuff from /usr/include as well, but it seems like a lot of work.
> What might be simplest is to add the Fedora /usr/lib to /etc/,
> then just run the Fedora copy of Evince. If that works, it's a lot
> easier than any of the suggestions above.
> Simon.
> --
> FAQ:
> Unsubscribe: See the above information page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the blfs-support mailing list