[1.7] Unable to find jpeg_CreateDecompress but linked against cygjpeg-62.dll OK

Dave Korn dave.korn.cygwin@googlemail.com
Fri Mar 27 18:00:00 GMT 2009

Charles Wilson wrote:
> Thrall, Bryan wrote:
>> I recently installed 1.7 (C:\cygwin_1.7) alongside 1.5 (C:\cygwin) on my
>> workstation, then reconfigured and rebuilt my application (vital), which
>> worked just fine under 1.5 but doesn't under 1.7.
>> "Unable to find jpeg_CreateDecompress in cygwin1.dll".
>                                            ^^^^^^^^^^^
>> and cygjpeg-62.dll is executable and exports jpeg_CreateDecompress
>> (according to the Depends tool, which also says vital imports that
>> symbol by name), so I'm at a loss to explain why that symbol isn't being
>> found. Perhaps it is a red herring?
> Did you, by chance, compile with gcc-4, and have -lm on your link
> command? Try either compiling with gcc-3, or remove -lm.

  Or -lpthread.  Yep, this is almost certainly the broken import tables
problem again.


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list