On Tue, 21 Sep 2010 10:49:26 -0400 Jason Bertoch <ja...@i6ix.com> wrote:
> > While building 0.96.3, I ran into warnings during make check like the > following: > > /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when > searching for -lpthread > > Shouldn't it be looking in /usr/lib64? That depends on how your compiler and system is setup. So called "pure 64" (like Debian) have /usr/lib == /usr/lib64, and 32-bit libs go into /usr/lib32. Others have /usr/lib == /usr/lib32 and 64-bit libs go to /usr/lib64 Your compiler obviously looks in both places, skips the first one (/usr/lib/libpthread.so), then finds the correct one in /usr/lib64 and links to that one. FWIW on pure 64 system you get same warning when compiling with -m32. You can ignore the warning. The built application *is* linked to libpthread (check with ldd). > > > Although other warnings occurred during the build, this one concerns > me the most. I tried building on 32-bit CentOS 5.5 and found the > same warnings except this pthreads one, so this is clearly a 64-bit > issue. I went back and rebuilt 0.96.2 on the 64-bit machine and > again saw the pthreads warning. I've tried building other packages > from source, but cannot reproduce any pthread warnings. At this > point, I can't tell if the problem is with clamav, with a package > that updated on my end between clam releases, or some combination of > the two. Is anyone else running into this problem, perhaps on 64-bit > CentOS/RedHat 5.5? > > All warnings can be found here: http://pastebin.com/tp2cZNA5 > Most of those can be ignored too, I don't get them when compiling with a more recent compiler (4.4/4.5). Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml