This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.4: Building Xalan-C results in a unusable library

On 10/04/2010 11:36, Reto Schneider wrote:

> I'm doing the following steps:

  So, I quickly checked out the sources and tried your build recipe, realised
I needed to install xerces-devel, did so, finished the build and installed.

> Now the strange part:
> $ /usr/local/bin/Xalan.exe
> /usr/local/bin/Xalan.exe: error while loading shared libraries: cygxalan-c111.dll: cannot open
> shared object file: No such file or directory

  Ah, the message is confusing.  It is not cygxalan-c111.dll that cannot be
found, but a library to which it is linked that cannot be found, preventing
cygxalan-c111.dll from being loaded by Xalan.exe.

> To me it looks as if this file is broken:
> $ ldd /usr/local/lib/cygxalan-c111.dll

  Hmm, I don't know what ldd is doing, but I used cygcheck to take a look at it:

> $ PATH=/tmp/xalan/install/usr/local/bin:$PATH  cygcheck  ./usr/local/bin/Xalan.
> exe
> F:\cygwin-1.7\tmp\xalan\install\usr\local\bin\Xalan.exe
>   F:\cygwin-1.7\bin\cygwin1.dll
>     C:\WINNT\system32\ADVAPI32.DLL
>       C:\WINNT\system32\KERNEL32.dll
>         C:\WINNT\system32\ntdll.dll
>       C:\WINNT\system32\RPCRT4.dll
>   F:\cygwin-1.7\bin\cygxerces-c-3-0.dll
>     F:\cygwin-1.7\bin\cyggcc_s-1.dll
>     F:\cygwin-1.7\bin\cygstdc++-6.dll
>     F:\cygwin-1.7\bin\cygcurl-4.dll
>       F:\cygwin-1.7\bin\cygcrypto-0.9.8.dll
>       F:\cygwin-1.7\bin\cygidn-11.dll
>         F:\cygwin-1.7\bin\cygiconv-2.dll
>         F:\cygwin-1.7\bin\cygintl-8.dll
>       F:\cygwin-1.7\bin\cygssh2-1.dll
>         F:\cygwin-1.7\bin\cygz.dll
>       F:\cygwin-1.7\bin\cygssl-0.9.8.dll
>     F:\cygwin-1.7\bin\cygicuuc38.dll
>       F:\cygwin-1.7\bin\cygicudata38.dll
>   F:\cygwin-1.7\tmp\xalan\install\usr\local\bin\cygxalan-c111.dll
> cygcheck: track_down: could not find cygxalanMsg111.dll

  So, it turns out there's a bug in the "make install" stage.  The missing
cygxalanMsg111.dll is built OK, but only the link library gets installed, not
the actual DLL itself.  You need to talk to upstream about this bug in their
makefile.  As a workaround, copying the DLL manually from the build directory
to whereever you've got the other DLL installed works fine.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]