Re: Offtopic: Glib unstable under openbsd 2.8



MC_Vai <estoy ver megared net mx> writes:

      Sorry about the off-topic but it's just I can't
      start working with gtk under OpenBSD just because
      this silly error I've not been able to fix:

      When I try to buid glib 1.3.2 from sources I get this
      error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      % /bin/sh ./configure --with-libiconv
[...]
checking for iconv_open... no
checking for libiconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or libiconv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      But I did installed libiconv (under /usr/local) and
      ran:
      % ldconfig /usr/local/lib

It appears that your system's linker doesn't look by default
in /usr/local by default.

So, you probably need to configure GLib as:

 LDFLAGS="-L /usr/local/lib" CPPFLAGS="-I /usr/local/include" ./configure

Regard,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]