Re: [Refdb-users] Problems compiling pre4
Status: Beta
Brought to you by:
mhoenicka
|
From: Michael S. <sm...@xm...> - 2004-01-23 08:39:01
|
Markus,
I just updated by sandboxes and am now getting similar "undefined
reference to `_libiconv_close'" build errors on Cygwin, along with an
"undefined reference to `_dbi_conn_get_encoding'" on both Cygwin and
Debian ('make' logs attached).
On Cygwin, looks like the libiconv library and headers are in the normal
lib and include directories -
/lib/libiconv.a
/lib/libiconv.dll.a
/lib/libiconv.la
/usr/lib/libiconv.a
/usr/lib/libiconv.dll.a
/usr/lib/libiconv.la
/usr/include/iconv.h
I shouldn't need to tell make to go looking for them there, right?
--Mike
Markus Hoenicka <mar...@mh...> writes:
> Diwaker Gupta writes:
> > undefined reference to `libiconv_close'
> > collect2: ld returned 1 exit status
>
> Unfortunately you chopped off the interesting part of the make output
> in your message. It would be helpful to see the linker command that
> make issued at that point as it lists the directories that ld checks
> for development libraries. All these error messages essentially mean
> that ld can't find the libiconv development library. You'll either
> have to fiddle with LD_LIBRARY_PATH and such, or add an appropriate
> LDFLAGS variable to the configure command line. The chapter 4 of the
> manual, section "OS specific hints", has a few examples how to do
> this.
>
> regards,
> Markus
>
--
Michael Smith
Openwave Systems Japan +81 90 9148 0269 (mobile)
Nishishinjuku 6-22-1 +81 3 5909 6347 (office)
Tokyo, Japan 163-1117 +81 3 5909 6241 (fax)
|