Norberto Meijome
2007-Nov-05 02:33 UTC
Understanding libpthread.so.2 undef reference error....
Hi list, I'm using 7.0-BETA2 on my laptop. While building different ports, i am encountering messages like the following (in particular the last line, the others are only warnings) /usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/lib/libicui18n.so.36, may conflict with libstdc++.so.6 /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may conflict with libm.so.5 /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may conflict with libm.so.5 /usr/local/lib/compat/libpthread.so.2: undefined reference to `__malloc_lock' gmake[1]: I don't ever remember getting this error before. I am pretty sure i'm using only binaries built on this machine for 7.0... have I missed anything? what's the cause of this error? FWIW, I have compat6x installed thanks!! Beto _________________________ {Beto|Norberto|Numard} Meijome "With COBOL, the job description of 'computer programmer' will be a thing of the past. Everybody will program. The boss will dictate a program to his secretary, who will keypunch it for him." 1960's quote about the upcoming COBOL language (thx. Lance N!) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
Kris Kennaway
2007-Nov-05 02:43 UTC
Understanding libpthread.so.2 undef reference error....
Norberto Meijome wrote:> Hi list, > I'm using 7.0-BETA2 on my laptop. While building different ports, i am encountering messages like the following (in particular the last line, the others are only warnings) > > /usr/bin/ld: warning: libstdc++.so.5, needed > by /usr/local/lib/libicui18n.so.36, may conflict with > libstdc++.so.6 > > /usr/bin/ld: warning: libm.so.4, needed > by /usr/local/lib/libicui18n.so.36, may conflict with libm.so.5 > > /usr/bin/ld: > warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may conflict > with libm.so.5 > > /usr/local/lib/compat/libpthread.so.2: undefined reference to > `__malloc_lock' gmake[1]: > > I don't ever remember getting this error before. I am pretty sure i'm using only binaries built on this machine for 7.0... have I missed anything? what's the cause of this error? > > FWIW, I have compat6x installedYou missed the "portupgrade -fa" step of the upgrade from 6.x to 7.x. Those errors come from binaries linked to both 6.x and 7.x libraries. Kris