In article <[EMAIL PROTECTED]> you wrote:

> In this latest round of updates on my well-patched Solaris 8 MU7 box,
> everything but this one package so far has built and installed cleanly.
> Thank you for doing such a fine job.
> 
> Updating the package[1] from the installed version (libiconv-1.7-20020206)
> results in the following error:
> 
> ----8<----
> case "solaris2.8" in \
>  hpux*) /cw/bin/cc  iconv.o -L/cw/RPM/TMP/libiconv-1.8-root/cw/lib -liconv 
>/cw/lib/libintl.a -L/cw/lib /cw/lib/libiconv.a -lc -o iconv;; \
>  *) /bin/sh ../libtool --mode=link /cw/bin/cc  iconv.o 
>/cw/RPM/TMP/libiconv-1.8-root/cw/lib/libiconv.la -L/cw/lib -lintl -L/cw/lib -liconv 
>-lc -o iconv;; \
> esac
> /cw/bin/cc iconv.o -o iconv  -L/cw/lib /cw/lib/libintl.a -liconv /cw/lib/libiconv.a 
>-lc
> Undefined                       first referenced
> symbol                             in file
> libiconvlist                        iconv.o
> ld: fatal: Symbol referencing errors. No output written to iconv
> collect2: ld returned 1 exit status
> make[1]: *** [install] Error 1
> make: *** [install] Error 2
> error: Bad exit status from /cw/RPM/TMP/rpm-tmp.7461 (%install)
> ----8<----

The problem is that libiconv uses the old installed version of
the library instead of its new currently built one. If you just
remove libiconv first ("rpm -e libiconv") the package will build
just fine. The issue was determined recently and were added to
http://cvs.openpkg.org/openpkg-adm/upgrade.txt. If you know how to
workaround it in the package itself, feel free to send us a patch for
the libiconv.spec, please.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to