On Jul 26, 2006, at 7:41 PM, Alexander K. Hansen wrote:
> On 7/26/06, Andrew Hartung <[EMAIL PROTECTED]> wrote:
>> When running 'fresclam' I get the following:
>>
>>
>> dyld: Library not loaded: /sw/lib/libgmp.3.dylib
>> Referenced from: /sw/bin/freshclam
>> Reason: no suitable image found. Did find:
>> /sw/lib/libgmp.3.dylib: incompatible cpu-subtype
>> Trace/BPT trap
>>
>
> Hmm. What sort of box is this on?
>
10.4.7 PPC
> Try the following 2 commands:
>
> otool -h /sw/lib/libgmp.3.dylib
Mach header
magic cputype cpusubtype filetype ncmds sizeofcmds flags
0xfeedface 18 100 6 9 1324 0x00000085
> otool -h /sw/bin/freshclam
Mach header
magic cputype cpusubtype filetype ncmds sizeofcmds flags
0xfeedface 18 0 2 16 1716 0x00000085
> See what the cpusubtype column says in each case. You may just need
> to rebuild clamav.
rebuilding gave me this;
*** TESTING clamav:
Test 1 disabled as broken by upstream version - fixed in CVS HEAD
dyld: Library not loaded: /sw/lib/libgmp.3.dylib
Referenced from: /sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/
clamscan/.libs/clamscan
Reason: no suitable image found. Did find:
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/var/tmp/tmp.1.LyxbbV: line 28: 13709 Trace/BPT trap ( /sw/
src/fink.build/clamav-0.88.3-51/clamav-0.88.3/clamscan/clamscan --
database=/sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/database /
sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/test/clam.rar )
test result 2: 133
Done test 2
dyld: Library not loaded: /sw/lib/libgmp.3.dylib
Referenced from: /sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/
clamscan/.libs/clamscan
Reason: no suitable image found. Did find:
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/var/tmp/tmp.1.LyxbbV: line 31: 13723 Trace/BPT trap ( /sw/
src/fink.build/clamav-0.88.3-51/clamav-0.88.3/clamscan/clamscan --
database=/sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/database /
sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/test/clam.exe )
test result 3: 133
Done test 3
dyld: Library not loaded: /sw/lib/libgmp.3.dylib
Referenced from: /sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/
clamscan/.libs/clamscan
Reason: no suitable image found. Did find:
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/var/tmp/tmp.1.LyxbbV: line 34: 13737 Trace/BPT trap ( /sw/
src/fink.build/clamav-0.88.3-51/clamav-0.88.3/clamscan/clamscan --
database=/sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/database /
sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/test/clam.exe.bz2 )
test result 4: 133
Done test 4
dyld: Library not loaded: /sw/lib/libgmp.3.dylib
Referenced from: /sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/
clamscan/.libs/clamscan
Reason: no suitable image found. Did find:
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/var/tmp/tmp.1.LyxbbV: line 37: 13751 Trace/BPT trap ( /sw/
src/fink.build/clamav-0.88.3-51/clamav-0.88.3/clamscan/clamscan --
database=/sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/database /
sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/test/clam.zip )
test result 5: 133
Done test 5
dyld: Library not loaded: /sw/lib/libgmp.3.dylib
Referenced from: /sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/
clamscan/.libs/clamscan
Reason: no suitable image found. Did find:
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/sw/lib/libgmp.3.dylib: incompatible cpu-subtype
/var/tmp/tmp.1.LyxbbV: line 40: 13765 Trace/BPT trap ( /sw/
src/fink.build/clamav-0.88.3-51/clamav-0.88.3/clamscan/clamscan --
database=/sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/database /
sw/src/fink.build/clamav-0.88.3-51/clamav-0.88.3/test/clam.cab )
test result 6: 133
Done test 6
*** virus scan tests failed! ***
### execution of /var/tmp/tmp.1.LyxbbV failed, exit code 1
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-clamav-0.88.3-51
(Reading database ... 93038 files and directories currently installed.)
Removing fink-buildlock-clamav-0.88.3-51 ...
Failed: phase installing: clamav-0.88.3-51 failed
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users