problem building octave

John W. Eaton jwe at octave.org
Wed May 13 16:33:25 CDT 2009


On 13-May-2009, Matt Funk wrote:

| Mmhh,
| 
| i am not sure if this is a problem with octave. I just double checked and i 
| actually have pthread.h in usr/lib as well as /usr/lib/libpthread.a.
| 
| So why is the linker not finding it?
| The problem is i tried this on 2 different machines (both are Debian testing) 
| and both come up with the same error.
| 
| Let me try to give configure these extra options (i.e. explicitly give it the 
| include and lib directory) and see if that works.

Like I said, the problem is that configure is not even checking for
the pthread library.  So just adding -L/usr/lib to LDFLAGS is not
enough.  Besides, I'm pretty sure your compiler is looking in /usr/lib
for libraries...

However, you could try LDFLAGS=-lpthread.

But also as I said, it would be nice if someone would contribute a
patch for configure that does the right thing...

jwe


More information about the Help-octave mailing list