[Namazu-users-en] install problem -- libtool and libiconv

Gabriel Farrell gsf at panix.com
Fri Jan 28 06:58:29 JST 2005


Greetings,

I think this is a problem outside of namazu, but I haven't found
answers elsewhere, so I ask for your help.

I'm attempting to install namazu on my shell account at panix.com here
in NYC. After a 

$ ./configure --with-pmdir=/net/u/16/g/gsf/lib

I get no glaring errors. Here's the library linking sections that seem
most relevant:


checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool

and

checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib


When I run make, however, I get the following error:


Making all in src
/usr/local/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall -pedantic    -o namazu  form.o namazu.o output.o  rcfile.o result.o usage.o namazu-cmd.o -L/usr/local/lib -lintl -L/usr/local/lib -liconv -lc -R/usr/local/lib ../nmz/libnmz.la ../lib/libnmzut.a -lm
libtool: link: cannot find the library `/pkg/libiconv-1.7.0.1-static/lib/libiconv.la'
*** Error code 1

Stop.
make: stopped in /net/u/16/g/gsf/namazu-2.0.14/src
*** Error code 1

Stop.
make: stopped in /net/u/16/g/gsf/namazu-2.0.14
*** Error code 1

Stop.
make: stopped in /net/u/16/g/gsf/namazu-2.0.14


In other words, even though libiconv is in /usr/local/lib, libtool is
trying to link to it in /pkg/libiconv-1.7.0.1-static/lib. The server
has a /pkg/libiconv-1.7.0.1 and /pkg/libiconv-1.9.1 (both pointing at
/usr/local), but no /pkg/libiconv-1.7.0.1-static. I've tried
./configure --with-libiconv-prefix=/usr/local, but make results in the
same error.

I was able to get namazu built on another shell account with no
problems, so whatever is causing these errors is probably something
for the administrator at panix.com to fix, but if anyone can tell me
where I might point said administrator, I'd appreciate it.

Thanks,
gabe


More information about the Namazu-users-en mailing list