Hi Bradford, I checked and my /etc/ld.so.conf.d/libc.conf file does indeed
have that path:

# libc default configuration
/usr/local/lib

But I still needed to change my .bashrc file to get igraph library working.
It's above my head to explain why.

--Steve

On Wed, Feb 18, 2015 at 4:52 PM, Bradford Boyle <[email protected]>
wrote:

> On Ubuntu 14.04.1, the file /etc/ld.so.conf.d/libc.conf contains
> /usr/local/lib. Adding it shouldn't be needed.
>
> --Bradford
>
> On Wed, Feb 18, 2015 at 4:49 AM, Tamas Nepusz <[email protected]> wrote:
>
>> Hello Steve,
>>
>> > export LD_LIBRARY_PATH=/usr/local/lib/
>> >
>> > Is this something that should be added to the current documentation? Is
>> it
>> > a small bug? Or is it just a quirk of my systems (I had same behavior on
>> > two Ubuntu systems).
>> /usr/local/lib is usually on the linker's default path, so any library
>> that you
>> put there should be picked up automatically. On Ubuntu, this is not the
>> case so
>> that's why you have to add it to the linker path using the LD_LIBRARY_PATH
>> variable. Another way to do it is to edit /etc/ld.so.conf or some file in
>> /etc/ld.so.conf.d -- this will add /usr/local/lib to the linker path
>> permanently, for all users of the system. See the following question on
>> Stack Overflow:
>>
>>
>> http://stackoverflow.com/questions/17889799/libraries-in-usr-local-lib-not-found
>>
>> So yes, I think this issue is related to Ubuntu systems only, but as it is
>> a fairly common Linux distribution, I think it's worth adding a note to
>> the
>> homepage.
>>
>> All the best,
>> --
>> T.
>>
>> _______________________________________________
>> igraph-help mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to