chinakook opened a new issue #8336: Building with libjpeg-turbo error
URL: https://github.com/apache/incubator-mxnet/issues/8336
 
 
   ## Description
   I've installed libjpeg-turbo by "sudo apt install libjpeg-turbo8-dev" on 
Ubuntu 16.04
   
   ## Environment info (Required)
   
   ```
   MXNet-master on Ubuntu 16.04
   ```
   
   ## Error Message:
   ```
   /usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o):
 relocation R_X86_64_32 against `.data' can not be used when making a shared 
object; recompile with -fPIC
   /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a: 
error adding symbols: Bad value
   collect2: error: ld returned 1 exit status
   Makefile:384: recipe for target 'lib/libmxnet.so' failed
   make: *** [lib/libmxnet.so] Error 1
   make: *** Waiting for unfinished jobs....
   ```
   
   ## Minimum reproducible example
   Just set USE_LIBJPEG_TURBO = 1 and type "make -j"
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to