TensorFlow-Object-Detection-on-the-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard

libraries libxml2 and libxslt not found during "make"

Open tjcooperforted opened this issue 6 years ago • 0 comments
trafficstars

tried doing the Tensorflow from both MagiPi web site and from GitHub. In both cases, during the "make" steps for tensorflow I would get error messages saying the libraries libxml2 and libxslt could not be found.

I did a dpkg get-selection and found these files were known to my packages. However, whenever I tried to build a sample file that needed either of them, gcc would give an error that these files were not found.

I then went to www.xml.org to get the sources to these files (they are not loaded by sudo apt-get install at all). Here is how to compile them: http://xmlsoft.org/FAQ.html

Take the latest and greatest of libxml2 and libxslt found in their resources and then use the ./configure and make and make install to get them into your RaspberryPi system. Once those two libraries were build and installed, then everything else in the GitHub process worked. tjcooper

tjcooperforted avatar Mar 25 '19 04:03 tjcooperforted