On Sun, Sep 18, 2011 at 11:33 AM, elliott-brennan
<[email protected]>wrote:

>
> Just checked
>
> /etc/ld.so.conf
>
> The only thing it contains is the following:
>
> include /etc/ld.so.conf.d/*.conf
>
> Should I just add the text:
>
>  /etc/ld.so.conf.d/*.conf
>
> to the file?
>
> Do I then need to restart something so the system reads this?


It's most likely included by default, but to double check, run

grep local /etc/ld.so.conf.d/*
(i get this as the output)
/etc/ld.so.conf.d/libc.conf:/usr/local/lib

Which means it's looking in /usr/local/lib for libraries.


> ldd /usr/local/lib/libgrits.so.0
>>
>>
> My apologies for my lack of understanding. I'm assuming you mean to run:
>
>
> ldd /usr/local/lib/libgrits.so.0
>
> In a shell.
>

yes


> Is this as root?


run as a normal user, it will just print information, not make any changes.
It should be pretty clear if it finds a problem.

Here's an example I made up, I can't remember the exact wording.

ldd /usr/lib/libxml2.so.2
linux-gate.so.1 =>  (0x00d12000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00cd9000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x00c5a000)
libm.so.6 => (missing)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00e57000)
/lib/ld-linux.so.2 (0x004c0000)

So in my made up example, libm.so.6 is missing, and will need to be
installed before libxml2.so.2 can be used.

 and do the same to aweather while you're at it.
>>
>>
> This has me completely confused. How do I 'do the same' to aweather?
>
>
ldd /usr/local/bin/aweather

Thanks for the help :)
>

Sorry for being so brief.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to