Installing LibNFC on ubuntu





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















I have some NFC chips I want to be able to read with my ubuntu installation,I have a PN532 Breakout board, and I want to install LibNFC so I can modify and read them. I have been following a tutorial and the steps are like this:



apt-get install autoconf libtool libusb-dev libpcsclite-dev build-essential
wget https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.7.1/libnfc-1.7.1.tar.bz2
tar -jxvf libnfc-1.7.1.tar.bz2
cd libnfc-1.7.1
autoreconf -vis
./configure --with-drivers=all --sysconfdir=/etc --prefix=/usr
make
sudo make install
sudo mkdir /etc/nfc
sudo mkdir /etc/nfc/devices.d


However I get stuck at



make


I get a version mismatch error, however I dont know how to solve it, any research has been useless, here is the error code fragment.



(CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/home/ubuntu/libnfc-1.7.1'
Making all in libnfc
make[2]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc' Making all in chips
make[3]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips' CC libnfcchips_la-pn53x.lo
libtool: Version mismatch error. This is libtool 2.4.6 Debian-2.4.6-0.1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.2.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-0.1
libtool: and run autoconf again.
Makefile:397: recipe for target 'libnfcchips_la-pn53x.lo' failed
make[3]: *** [libnfcchips_la-pn53x.lo] Error 63
make[3]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips'
Makefile:613: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc'
Makefile:478: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/libnfc-1.7.1'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2


Update: I instead downloaded from this site (it's in the wiki page) and followed the file INSTALL (with a necessary tweak)





  1. ./configure --prefix=/usr




  2. make




  3. sudo make install




That will do it










share|improve this question































    3















    I have some NFC chips I want to be able to read with my ubuntu installation,I have a PN532 Breakout board, and I want to install LibNFC so I can modify and read them. I have been following a tutorial and the steps are like this:



    apt-get install autoconf libtool libusb-dev libpcsclite-dev build-essential
    wget https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.7.1/libnfc-1.7.1.tar.bz2
    tar -jxvf libnfc-1.7.1.tar.bz2
    cd libnfc-1.7.1
    autoreconf -vis
    ./configure --with-drivers=all --sysconfdir=/etc --prefix=/usr
    make
    sudo make install
    sudo mkdir /etc/nfc
    sudo mkdir /etc/nfc/devices.d


    However I get stuck at



    make


    I get a version mismatch error, however I dont know how to solve it, any research has been useless, here is the error code fragment.



    (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/home/ubuntu/libnfc-1.7.1'
    Making all in libnfc
    make[2]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc' Making all in chips
    make[3]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips' CC libnfcchips_la-pn53x.lo
    libtool: Version mismatch error. This is libtool 2.4.6 Debian-2.4.6-0.1, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.2.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-0.1
    libtool: and run autoconf again.
    Makefile:397: recipe for target 'libnfcchips_la-pn53x.lo' failed
    make[3]: *** [libnfcchips_la-pn53x.lo] Error 63
    make[3]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips'
    Makefile:613: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc'
    Makefile:478: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/ubuntu/libnfc-1.7.1'
    Makefile:385: recipe for target 'all' failed
    make: *** [all] Error 2


    Update: I instead downloaded from this site (it's in the wiki page) and followed the file INSTALL (with a necessary tweak)





    1. ./configure --prefix=/usr




    2. make




    3. sudo make install




    That will do it










    share|improve this question



























      3












      3








      3


      0






      I have some NFC chips I want to be able to read with my ubuntu installation,I have a PN532 Breakout board, and I want to install LibNFC so I can modify and read them. I have been following a tutorial and the steps are like this:



      apt-get install autoconf libtool libusb-dev libpcsclite-dev build-essential
      wget https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.7.1/libnfc-1.7.1.tar.bz2
      tar -jxvf libnfc-1.7.1.tar.bz2
      cd libnfc-1.7.1
      autoreconf -vis
      ./configure --with-drivers=all --sysconfdir=/etc --prefix=/usr
      make
      sudo make install
      sudo mkdir /etc/nfc
      sudo mkdir /etc/nfc/devices.d


      However I get stuck at



      make


      I get a version mismatch error, however I dont know how to solve it, any research has been useless, here is the error code fragment.



      (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/home/ubuntu/libnfc-1.7.1'
      Making all in libnfc
      make[2]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc' Making all in chips
      make[3]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips' CC libnfcchips_la-pn53x.lo
      libtool: Version mismatch error. This is libtool 2.4.6 Debian-2.4.6-0.1, but the
      libtool: definition of this LT_INIT comes from libtool 2.4.2.
      libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-0.1
      libtool: and run autoconf again.
      Makefile:397: recipe for target 'libnfcchips_la-pn53x.lo' failed
      make[3]: *** [libnfcchips_la-pn53x.lo] Error 63
      make[3]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips'
      Makefile:613: recipe for target 'all-recursive' failed
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc'
      Makefile:478: recipe for target 'all-recursive' failed
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory '/home/ubuntu/libnfc-1.7.1'
      Makefile:385: recipe for target 'all' failed
      make: *** [all] Error 2


      Update: I instead downloaded from this site (it's in the wiki page) and followed the file INSTALL (with a necessary tweak)





      1. ./configure --prefix=/usr




      2. make




      3. sudo make install




      That will do it










      share|improve this question
















      I have some NFC chips I want to be able to read with my ubuntu installation,I have a PN532 Breakout board, and I want to install LibNFC so I can modify and read them. I have been following a tutorial and the steps are like this:



      apt-get install autoconf libtool libusb-dev libpcsclite-dev build-essential
      wget https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.7.1/libnfc-1.7.1.tar.bz2
      tar -jxvf libnfc-1.7.1.tar.bz2
      cd libnfc-1.7.1
      autoreconf -vis
      ./configure --with-drivers=all --sysconfdir=/etc --prefix=/usr
      make
      sudo make install
      sudo mkdir /etc/nfc
      sudo mkdir /etc/nfc/devices.d


      However I get stuck at



      make


      I get a version mismatch error, however I dont know how to solve it, any research has been useless, here is the error code fragment.



      (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/home/ubuntu/libnfc-1.7.1'
      Making all in libnfc
      make[2]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc' Making all in chips
      make[3]: Entering directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips' CC libnfcchips_la-pn53x.lo
      libtool: Version mismatch error. This is libtool 2.4.6 Debian-2.4.6-0.1, but the
      libtool: definition of this LT_INIT comes from libtool 2.4.2.
      libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-0.1
      libtool: and run autoconf again.
      Makefile:397: recipe for target 'libnfcchips_la-pn53x.lo' failed
      make[3]: *** [libnfcchips_la-pn53x.lo] Error 63
      make[3]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc/chips'
      Makefile:613: recipe for target 'all-recursive' failed
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory '/home/ubuntu/libnfc-1.7.1/libnfc'
      Makefile:478: recipe for target 'all-recursive' failed
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory '/home/ubuntu/libnfc-1.7.1'
      Makefile:385: recipe for target 'all' failed
      make: *** [all] Error 2


      Update: I instead downloaded from this site (it's in the wiki page) and followed the file INSTALL (with a necessary tweak)





      1. ./configure --prefix=/usr




      2. make




      3. sudo make install




      That will do it







      ubuntu nfc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 29 '18 at 23:26







      Jacob

















      asked May 31 '17 at 23:02









      JacobJacob

      60111




      60111






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try installing the libtool-bin package






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214847%2finstalling-libnfc-on-ubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try installing the libtool-bin package






            share|improve this answer




























              0














              Try installing the libtool-bin package






              share|improve this answer


























                0












                0








                0







                Try installing the libtool-bin package






                share|improve this answer













                Try installing the libtool-bin package







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 6 '17 at 16:59









                directhexdirecthex

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214847%2finstalling-libnfc-on-ubuntu%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...