[lfs-support] Link to libbz2.so

Bruce Dubbs bruce.dubbs at gmail.com
Fri Aug 24 14:13:30 PDT 2012


Feuerbacher, Alan wrote:
> Bruce Dubbs wrote:
>
>>> My ldconfig doesn't have a -a option.
>>
>> Sorry. Without the link and as root:
>>
>> # ldconfig -v | less
>
> What does running this as root get you as opposed to running it as a
> regular user? I don't have root access. So I ran this as a regular
> user.
>
> I'm doing all this in unusual circumstances but it's a long story.
> Basically I'm using LFS as a basis for installing a system in
> parallel with the existing Redhat (RHEL5) system. The system is not
> my own but my company's system, and I'm not allowed to mess with the
> actual operating system. Nor can we upgrade to a newer system for
> various reasons. So I have to install everything in my own
> directories. I've succeeded in doing this, and am now tying up a lot
> of loose ends.

You could have told us that at the beginning!

> afbacher:~/LFS71/lfs80/lib$ ls -l
> /home/afbacher/LFS71/lfs80/lib/libbz* lrwxrwxrwx 1 afbacher pmbude
> 15 Aug 22 10:55 /home/afbacher/LFS71/lfs80/lib/libbz2.so.1.0 ->
> libbz2.so.1.0.6* -rwxr-xr-x 1 afbacher pmbude 219K Aug 22 09:41
> /home/afbacher/LFS71/lfs80/lib/libbz2.so.1.0.6*

Use:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/afbacher/LFS71/lfs80/lib

   -- Bruce



More information about the lfs-support mailing list