Hi Michael,
On 07/11/2017 03:37 PM, Michael wrote:
> Hello there,
>
> I have installed the wget2 code on a Raspberry pi machine.
>
> The make check report error on the unit tests: "
> test_buffer_printf: Failed with format ('%hhd','-1'): '255' != '-1'
> test_buffer_printf: Failed with format ('%hhd','-10'): '246' != '-10'
> test_buffer_printf: Failed with format ('%hhd','-1'): '255' != '-1'
> test_buffer_printf: Failed with format ('%hhi','-1'): '255' != '-1'
> test_buffer_printf: Failed with format ('%hhi','-10'): '246' != '-10'
> test_buffer_printf: Failed with format ('%hhi','-1'): '255' != '-1'
> .
> .
> .
> test_buffer_printf: Failed with format ('%-011.11hhi','-1'): '00000000255'
> != '-00000000001'
> test_buffer_printf: Failed with format ('%-011.11hhi','-10'): '00000000246'
> != '-00000000010'
> test_buffer_printf: Failed with format ('%-011.11hhi','-1'): '00000000255'
> != '-00000000001'
> ERROR: 4056 out of 195769 basic tests failed
> This may completely break Wget functionality !!!"
I'll check that... looks like a 'short int' just has 8 bits in your
environment !?
>
> After sudo make install I run /usr/local/bin/wget2 and get:
> "wget2: error while loading shared libraries: libwget.so.0: cannot open
> shared object file: No such file or directory"
>
> I managed to operate src/wget2 properly.
>
> Where should I install the libwget.so.0?
The library should go to /usr/local/lib/.
After 'make install' it needs a 'ldconfig' to find the library (assumed
that /usr/lib/local is configured somewhere in /etc/ld.so.conf.d/*).
With Best Regards, Tim
signature.asc
Description: OpenPGP digital signature
