igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Install on Ubuntu 14.04.1 -- .bashrc add LD_LIBRARY_PATH


From: Steve Koch
Subject: Re: [igraph] Install on Ubuntu 14.04.1 -- .bashrc add LD_LIBRARY_PATH
Date: Thu, 19 Feb 2015 15:59:04 -0700

Wow. I see that I had success with options 3 and 4 in the first post in the thread you linked. Though, I don't know why either are "wrong" (since I'm still a bit lost). I also suspect that rebooting (option 1) would work, as ldconfig probably runs sometime during boot (I can't verify this). In any case, it seems like this problem isn't specific to igraph, and I would likely encounter it building other applications from source (I rarely if ever do this). Seems like manually running ldconfig is a decent solution that I'd have to get used to if I started building a lot of applications from source.

Thank you for your work digging this up!

On Thu, Feb 19, 2015 at 1:29 PM, Bradford Boyle <address@hidden> wrote:
I did a little bit more digging. When you run `make install`, it invokes the bash script "libtool" found in the igraph root directory. Looking in this file, `ldconfig` is called with the option `-n`; this implies `-N` which causes the cache to not be rebuilt. A little bit more info might be found here: http://gnu-automake.7480.n7.nabble.com/quot-error-while-loading-shared-libraries-foo-so-0-cannot-open-shared-object-file-No-such-file-or-di-td3970.html

--Bradford

On Thu, Feb 19, 2015 at 1:29 PM, Steve Koch <address@hidden> wrote:
@Tamas: yes, my /etc/ld.so.conf file has only a single line:

include /etc/ld.so.conf.d/*.conf

@Bradford: `sudo ldconfig` fixed the problem as well! (As an alternative to creating the LD_LIBRARY_PATH variable.

I'm too unfamiliar with linux to know whether that should have been obvious. I think I'll withdraw my pull request for igraph web page, and instead put up a Q/A on the AskUbuntu stackexchange (since it appears to be Ubuntu-specific).

Thanks everyone!

On Wed, Feb 18, 2015 at 5:42 PM, Tamas Nepusz <address@hidden> wrote:
> 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.
Does your /etc/ld.so.conf file contain a line like "include
/etc/ld.so.conf.d/*.conf"?

T.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]