(1 replies, posted in wolfSSL)


Just cloned the source from github, and tried installing on debian 10 via checkinstall via the following commands:

$git clone --depth 1 --branch v4.7.0-stable https://github.com/wolfSSL/wolfssl
$cd wolfssl; ./autogen.sh;
$./configure --enable-opensslextra --enable-intelasm --enable-aesni --enable-fasthugemath
$sudo checkinstall

This is what I was told:

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
       This software is released under the GNU GPL.

Please write a description for the package.
End your description with an empty line or EOF.

**** Debian package creation selected ***

This package will be built according to these values:

0 -  Maintainer: [ root@coins ]
1 -  Summary: [ Package created with checkinstall 1.6.3 ]
2 -  Name:    [ wolfssl ]
3 -  Version: [  ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ wolfssl ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Recommends: [  ]
12 - Suggests: [  ]
13 - Provides: [ wolfssl ]
14 - Conflicts: [  ]
15 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
make -j13  install-recursive
make[1]: Entering directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make[2]: Entering directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make[2]: warning: -j13 forced in submake: resetting jobserver mode.
make[3]: Entering directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make[3]: warning: -j13 forced in submake: resetting jobserver mode.
/bin/bash /home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl/build-aux/install-sh -d /usr/local/bin
/usr/bin/mkdir -p '/usr/local/lib'
/usr/bin/mkdir -p '/usr/local/share/doc/wolfssl'
/usr/bin/mkdir -p '/usr/local/share/doc/wolfssl/example'
/usr/bin/mkdir: cannot create directory ‘/usr/local/share/doc’: No such file or directory
/bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libwolfssl.la '/usr/local/lib'
/usr/bin/install -c -m 644 examples/benchmark/tls_bench.c examples/client/client.c examples/echoclient/echoclient.c examples/echoserver/echoserver.c examples/server/server.c examples/sctp/sctp-server.c examples/sctp/sctp-server-dtls.c examples/sctp/sctp-client.c examples/sctp/sctp-client-dtls.c '/usr/local/share/doc/wolfssl/example'
/usr/bin/install -c wolfssl-config /usr/local/bin
make[3]: *** [Makefile:5604: install-dist_docDATA] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: install: /usr/bin/install -c src/.libs/libwolfssl.so.24.4.0 /usr/local/lib/libwolfssl.so.24.4.0
libtool: install: (cd /usr/local/lib && { ln -s -f libwolfssl.so.24.4.0 libwolfssl.so.24 || { rm -f libwolfssl.so.24 && ln -s libwolfssl.so.24.4.0 libwolfssl.so.24; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libwolfssl.so.24.4.0 libwolfssl.so || { rm -f libwolfssl.so && ln -s libwolfssl.so.24.4.0 libwolfssl.so; }; })
libtool: install: /usr/bin/install -c src/.libs/libwolfssl.lai /usr/local/lib/libwolfssl.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[3]: Leaving directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make[2]: *** [Makefile:6227: install-am] Error 2
make[2]: Leaving directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make[1]: *** [Makefile:5739: install-recursive] Error 1
make[1]: Leaving directory '/home/coins/C/WolfSSL_SOURCE_v4.7.0/wolfssl'
make: *** [Makefile:6220: install] Error 2

****  Installation failed. Aborting package creation.

Cleaning up...OK


Upon running the test suite however, all tests are passed with flying colors... so it did install... just not the way that checkinstall was expecting it to I suppose?

What happened here?

And how can I remove this install of wolfssl? Or how should I have installed it if I wanted to be able to remove it later?


$ sudo dpkg -r wolfssl

Gives me:

dpkg: warning: ignoring request to remove wolfssl which isn't installed

What am I missing?

Feel free to ask for more details!

Thank you!