bugGNU Octave - Bugs: bug #49480, undefined reference to...


bug #49480: undefined reference to TIFFReadScanline@LIBTIFF_4.0

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sun 30 Oct 2016 03:31:51 PM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.2.0-rc2 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 30 Oct 2016 03:55:55 PM UTC, comment #1: 

Please ask for help compiling Octave on the help mailing list (http://www.octave.org/support).

The problem appears to be that your system's (or your self-compiled) libGraphicsMagick.so is underlinked. It depends on libtiff.so, but that library is either not installed or libGraphicsMagick was not built correctly to link with libtiff.

As a workaround if you add "-ltiff" to the global LIBS environment variable, Octave will probably compile. You might want to report this to your distribution if you are using distribution packages for GraphicsMagick and/or libtiff.

Mike Miller <mtmiller>
Project Administrator
Sun 30 Oct 2016 03:31:51 PM UTC, original submission:  

When compiling rc2 I get the following error.

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libGraphicsMagick.so: undefined reference to `TIFFReadScanline@LIBTIFF_4.0'

Before when I compiled I did not have GraphicsMagick++ installed but then I found imread did not work. So after installing
libgraphicsmagick++1-dev I get the compilation error above.

Compilation options were as follows:

./configure LD_LIBRARY_PATH=/opt/OpenBLAS/lib CPPFLAGS=-I/opt/OpenBLAS/include LDFLAGS=-L/opt/OpenBLAS/lib --enable-64


Any help appreciated.

Ceral Paquet <octavebugs>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-30 mtmiller StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5