Rebuilding ruby gives: ld -shared -expect_unresolved "*" -L"../.." -o curses.so curses.o -lncurses -ltermcap -lm -lc ld: Can't locate file for: -lncurses make: *** [curses.so] Error 1 [dev:medusa] /openpkg/RPM/TMP/ruby-1.8.2/ext/curses
Which shows the ruby extensions are picking up system libraries instead of OpenPKG libs. Following patch fixes it --- ruby.spec~ 2005-02-21 18:02:32 +0100 +++ ruby.spec 2005-03-16 17:43:15 +0100 @@ -70,6 +70,7 @@ CFLAGS="%{l_cflags -O} %{l_cppflags}" \ ./configure \ --prefix=%{l_prefix} \ + --with-ldflags=%{l_ldflags} \ --disable-shared %{l_make} %{l_mflags} ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org