Andreas Radke wrote: > Am Sat, 18 Jul 2009 22:08:35 +1000 > schrieb Allan McRae <allan@xxxxxxxxxxxxx>: > > >> Bump upstream patch level, moved static libraries to /usr/lib >> >> Signoff both arches. >> >> Allan >> >> > > I now it's a bit too late but this minor update breaks lft compile > process that worked with the last 6.0 pkg: > > /bin/sh ../libtool --silent --tag=CXX --mode=link gcc -march=i686 -mtune=generic -O2 -pipe -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -s -o example1-cmd example1-cmd.o liblftp-jobs.la -lutil -lcurses -lresolv -ldl -lsupc++ > /bin/sh ../libtool --silent --tag=CXX --mode=link gcc -march=i686 -mtune=generic -O2 -pipe -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -s -o lftp lftp.o complete.o lftp_rl.o liblftp-jobs.la -lreadline -lutil -lcurses -lresolv -ldl -lsupc++ > /usr/lib/libreadline.a(xmalloc.o): In function `xrealloc': > (.text+0x50): multiple definition of `xrealloc' > /tmp/lftp/trunk/src/lftp-3.7.14/src/.libs/liblftp-tasks.a(lt1-xmalloc.o):xmalloc.c:(.text+0x30): first defined here > /usr/lib/libreadline.a(xmalloc.o): In function `xmalloc': > (.text+0xb0): multiple definition of `xmalloc' > /tmp/lftp/trunk/src/lftp-3.7.14/src/.libs/liblftp-tasks.a(lt1-xmalloc.o):xmalloc.c:(.text+0xc0): first defined here > collect2: ld returned 1 exit status > make[1]: *** [lftp] Fehler 1 > make[1]: *** Warte auf noch nicht beendete Prozesse... > make[1]: Leaving directory `/tmp/lftp/trunk/src/lftp-3.7.14/src' > make: *** [all-recursive] Fehler 1 > > > I'm not sure if it's caused by one of the patches or by the lib moving. > > Please readline maintainers have a look that I can bump/rebuild lftp again. > > -Andy > > oops! ln -s ../../lib/libreadline.so /usr/lib/libreadline.so shared libs that are on /lib and also provides a static version in /usr/lib must have a symlink in /usr/lib/ that points to shared lib in /lib -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D