error while loading shared libraries: libcloog-isl.so.0

169 views
Skip to first unread message

Ken Sharp

unread,
Jun 7, 2010, 12:20:19 PM6/7/10
to CLooG
I spoke too soon.

CLooG compiled fine and "make check" reported everything ok.
Ran a "make install" - no errors.

But

$ cloog
cloog: error while loading shared libraries: libcloog-isl.so.0: cannot
open shared object file: No such file or directory

$ ls /usr/local/lib -l|grep cloog
-rw-r--r-- 1 root root 429042 2010-06-07 17:07 libcloog-isl.a
-rwxr-xr-x 1 root root 1035 2010-06-07 17:07 libcloog-isl.la
lrwxrwxrwx 1 root root 21 2010-06-07 17:07 libcloog-isl.so ->
libcloog-isl.so.0.0.0
lrwxrwxrwx 1 root root 21 2010-06-07 17:07 libcloog-isl.so.0 -
> libcloog-isl.so.0.0.0
-rwxr-xr-x 1 root root 299287 2010-06-07 17:07 libcloog-isl.so.
0.0.0

I don't know why it isn't seeing it, or how to get it to do so.

Sven Verdoolaege

unread,
Jun 7, 2010, 12:35:55 PM6/7/10
to Ken Sharp, CLooG
On Mon, Jun 07, 2010 at 09:20:19AM -0700, Ken Sharp wrote:
> I spoke too soon.
>
> CLooG compiled fine and "make check" reported everything ok.
> Ran a "make install" - no errors.
>
> But
>
> $ cloog
> cloog: error while loading shared libraries: libcloog-isl.so.0: cannot
> open shared object file: No such file or directory

What does

ldd /usr/local/bin/cloog

say?

What do you have in /etc/ld.so.conf?

Does

LD_LIBRARY_PATH=/usr/local/lib cloog

work?
If so, you can try reconfiguring cloog with an explicit
"--prefix=/usr/local" and it will remember the library
location in the binary.

skimo

Ken Sharp

unread,
Jun 7, 2010, 12:51:46 PM6/7/10
to sk...@kotnet.org, CLooG
Sven Verdoolaege wrote:

> What does
>
> ldd /usr/local/bin/cloog
>
> say?

$ ldd /usr/local/bin/cloog
linux-gate.so.1 => (0xb7896000)
libcloog-isl.so.0 => not found
libisl.so.2 => not found
libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7817000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76b9000)
/lib/ld-linux.so.2 (0xb787c000)


>
> What do you have in /etc/ld.so.conf?

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

>
> Does
>
> LD_LIBRARY_PATH=/usr/local/lib cloog
>
> work?
> If so, you can try reconfiguring cloog with an explicit
> "--prefix=/usr/local" and it will remember the library
> location in the binary.

Yup. That works.

>
> skimo

Thanks again for all your help, it is very much appreciated.

Reply all
Reply to author
Forward
0 new messages