Displaying 4 results from an estimated 4 matches for "lzlib".
Did you mean:
zlib
2008 Jan 09
2
xapian with MinGW - solved
Hi,
I got this issue nailed out. :-D
The problem was with the zlib package offered by MinGW.
_Never_ use zlib-1.2.3-MSYS-1.0.11.tar.bz2 package, _it's broken_!
Instead, download the pre-compiled version of zlib from zlib.net,
and use that to build Xapian with MinGW on Windows.
Regards,
Adi.
2015 Oct 28
2
Trying to get Search::Xapian perl module to compile on win32
...Specifically using dumpbin /exports to create a definition file and then feeding the definition file to lib /def to create the .lib and .exp files.
The call to generate the Makefile on win32 is now something like:
perl Makefile.PL CXX=cl.exe INC=-IC:\Install\include " LIBS=-lxapian-22 -lzlib" XAPIAN_VERSION=1.2.21 "CXXFLAGS=-EHsc -TP"
Now when I run nmake, it gets past the compile portion and dies when linking with errors like:
Xapian.obj : error LNK2001: unresolved external symbol "public: __thiscall Xapian::WritableDatabase:
:WritableDatabase(class Xapian::Writ...
2008 Jul 31
0
Static Linking, C++ Exceptions
...ow and catch an exception immediately on
entry to main and it segfaults faithfully.
Relevant compiler flags are these:
g++ -c -o whatever.o -O0 -ggdb -Wno-deprecated -Werror -fPIC
-Dmanything -Imanydirs whatever.cpp
g++ -o whatever -static -static-libgcc many.o -Lmanydirs -lpthread
-lanotherlib -lzlib -lesmtp -lnsl -lrpcsvc -lcrypt -lacl -ldl -lrt
-landmanymore
So I'm looking for some guidance on what things I could try to isolate
this in a smaller app.
--
Darrin
2015 Oct 29
4
Trying to get Search::Xapian perl module to compile on win32
...using dumpbin /exports to create a definition file and then feeding the definition file to lib /def to create the .lib and .exp files.
>
> The call to generate the Makefile on win32 is now something like:
> perl Makefile.PL CXX=cl.exe INC=-IC:\Install\include " LIBS=-lxapian-22 -lzlib" XAPIAN_VERSION=1.2.21 "CXXFLAGS=-EHsc -TP"
Presumably you're cross-compiling with GCC?
> Now when I run nmake, it gets past the compile portion and dies when linking with errors like:
> Xapian.obj : error LNK2001: unresolved external symbol "public: __thiscall Xapi...