1.7.4: Building Xalan-C results in a unusable library

Reto Schneider mailinglisten@reto-schneider.ch
Sat Apr 10 10:36:00 GMT 2010


Hi

I'm using Cygwin 1.7.4 on Windows 7 x86_64.

I'm trying to build xalan-c (http://xml.apache.org/xalan-c/) directly from the
svn-trunk(http://svn.apache.org/repos/asf/xalan/c/trunk/). All necessary dependencies (xerces-c 2.8)
are installed.

I'm doing the following steps:

> svn co http://svn.apache.org/repos/asf/xalan/c/trunk/ /cygdrive/c/build-xalan/
> cd /cygdrive/c/build-xalan/
> export XALANCROOT=/cygdrive/c/build-xalan/
> ./runConfigure -p cygwin -x g++
> make
> make DESTDIR=/.. install (just "make install" would result in a failing "mkdir -p //usr/local/lib"
call)

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

But:

$ file  /usr/local/lib/cygxalan-c111.dll
/usr/local/lib/cygxalan-c111.dll: PE32 executable for MS Windows (DLL) (console) Intel 80386 32-bit

Not even LD_LIBRARY_PATH or adding /usr/local/lib to PATH (export PATH=$PATH:/usr/local/lib/) helps:
$ LD_LIBRARY_PATH=/usr/local/lib/ ./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

To me it looks as if this file is broken:

$ ldd /usr/local/lib/cygxalan-c111.dll
	ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77050000)
	kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x76b50000)
	KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x75050000)
	??? => ??? (0x6dcc0000)

All the other dll-files (eg. under /usr/bin/ or /usr/local/bin (have a recent boost installed here)
) do not have this suspicions ???.

Anyone who can give me a hint?

Regards & Thanks in advance,
Reto

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100410/e10391d1/attachment.ksh>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list