[Yazlist] Building yaz on MacOS X 10.6 fails with file not found

Jean-Denis Muys jdmuys at kleegroup.com
Thu Jan 28 15:26:50 CET 2010


Hi,

I am a newcomer here, I hope I don't break your netiquette.

I am on a project where I need to process UNIMARC ISO2709 files. One step in
the process is to convert the characters used in my file to either utf-8 or
latin1.

I am trying to use yaz-iconv for that. But I get errors when I try to build
yaz.

My machine is a Mac running Mac OS X Snow Leopard 10.6.2.

The yaz doc says " The software is regularly tested on Debian GNU/Linux,
Redhat Linux, Ubuntu Linux, FreeBSD (i386), MAC OSX, SunOS 5.10 (sparc),
Windows 2000, Windows 2003 server."

Yet following the doc, after I "./configure", when I "make", I get after a
while and much output:

mv -f .deps/libyaz_server_la-mutex.Tpo .deps/libyaz_server_la-mutex.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -D_THREAD_SAFE
-DYAZ_POSIX_THREADS=1 -g -O2 -version-info 4:0:0  -o libyaz_server.la -rpath
/usr/local/lib libyaz_server_la-statserv.lo libyaz_server_la-seshigh.lo
libyaz_server_la-eventl.lo libyaz_server_la-requestq.lo
libyaz_server_la-mutex.lo libyaz.la -lxslt -lxml2 -lz -lpthread -licucore
-lm  -liconv
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
.libs/libyaz_server.4.dylib  .libs/libyaz_server_la-statserv.o
.libs/libyaz_server_la-seshigh.o .libs/libyaz_server_la-eventl.o
.libs/libyaz_server_la-requestq.o .libs/libyaz_server_la-mutex.o
./.libs/libyaz.dylib -lxslt -lxml2 -lz -lpthread -licucore -lm -liconv
-install_name  /usr/local/lib/libyaz_server.4.dylib -compatibility_version 5
-current_version 5.0 -Wl,-single_module
libtool: link: dsymutil .libs/libyaz_server.4.dylib || :
libtool: link: (cd ".libs" && rm -f "libyaz_server.dylib" && ln -s
"libyaz_server.4.dylib" "libyaz_server.dylib")
libtool: link: ar cru .libs/libyaz_server.a  libyaz_server_la-statserv.o
libyaz_server_la-seshigh.o libyaz_server_la-eventl.o
libyaz_server_la-requestq.o libyaz_server_la-mutex.o
libtool: link: ranlib .libs/libyaz_server.a
sed: Perl/yaz-4.0.1/src/libyaz.la: No such file or directory
libtool: link: `Perl/yaz-4.0.1/src/libyaz.la' is not a valid libtool archive
make[1]: *** [libyaz_server.la] Error 1
make: *** [all-recursive] Error 1

I have no idea what to do to fix that error.

Unfortunately, I am not much of a Unix C programmer. My project is using
Perl.

Any help appreciated.

Jean-Denis Muys.




More information about the Yazlist mailing list