After a system upgrade my built-from-source sage install started
crashing with the log message

    ImportError: libvpx.so.3: cannot open shared object file: No such
file or directory

and indeed my system update updated libvpx from 3.x to 4.x, while I
can't find any trace of it in the sage/ folder. By way of find-ing and
grep-ing, I could however find this

    $ ldd local/lib/libgd.so
        ...
        libvpx.so.3 => not found
        ...

I reinstalled libgd with `sage -i -f`, and everything went back to
normal (well, hopefully: tests pass, but I have no idea what libgd is
used for).

ldd shows another couple of non-basic system libraries libgd depends
upon. Among them: libtiff and libjpeg. Here's the full output:

    $ ldd local/lib/libgd.so
        linux-vdso.so.1 (0x00007ffc20bd8000)
        libz.so.1 => /home/defeo/sage/local/lib/libz.so.1 (0x00007fe4e635e000)
        libpng12.so.0 => /home/defeo/sage/local/lib/libpng12.so.0
(0x00007fe4e6139000)
        libfreetype.so.6 =>
/home/defeo/sage/local/lib/libfreetype.so.6 (0x00007fe4e5e9d000)
        libvpx.so.4 => /usr/lib/libvpx.so.4 (0x00007fe4e591d000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fe4e5619000)
        libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007fe4e5395000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fe4e4ff5000)
        libbz2.so.1 => /home/defeo/sage/local/lib/libbz2.so.1
(0x00007fe4e4de5000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fe4e4bc8000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x0000561dc5624000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fe4e49a2000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007fe4e4738000)

Comparing with an install on a different machine, I see no system
library libgd depends on there. My guess is that those are optional
dependencies that libgd grabs at configure time. Is this behaviour
intended, or should we add a couple more --without to the install
script?

Luca

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to