Can't upgrade misc/shared-mime-info
zhengyi at anarkismus.net
Tue Feb 20 18:39:29 UTC 2007
I'm not sure if this should go to -ports, so I thought I'd start here.
As part of a portupgrade, shared-mime-info-0.19 is supposed to be
upgraded to -0.20. This is failing w/ a linker error, apparently like
cc -O -pipe -march=athlon-xp -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wwrite-strings -L/usr/local/lib -o
update-mime-database.o -L/usr/local/lib -lxml2 -lglib-2.0 -liconv
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
gmake: *** [update-mime-database] Error 1
gmake: Leaving directory
gmake: *** [check-recursive] Error 1
*** Error code 2
Stop in /usr/ports/misc/shared-mime-info.
What's bugging me here is that libxml2.so is *not* linked against
# ldd /usr/local/lib/libxml2.so
libz.so.3 => /lib/libz.so.3 (0x282bf000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282d0000)
libm.so.4 => /lib/libm.so.4 (0x283c0000)
... although strings shows me that there are nonetheless at least
references to pthread_* functions in there:
# strings /usr/local/lib/libxml2.so.5 |grep pthread_
I made a point of forcing a recompile of libxml2, making sure that I
wasn't defining WITH_THREADS. Still no dice, so what gives?
Can anyone tell me:
1) what's going on, and how to fix it? Or
2) what more info could I usefully provide about my system? or
3) that this should definitely go to -ports? :)
More information about the freebsd-questions