Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created May 29, 2015 07:31
Show Gist options
  • Save melvincabatuan/a4495d2a5cab4fcd6e26 to your computer and use it in GitHub Desktop.
Save melvincabatuan/a4495d2a5cab4fcd6e26 to your computer and use it in GitHub Desktop.
Caffe New Error
[root@cobalt caffe]# make -j8 all
CXX tools/net_speed_benchmark.cpp
CXX tools/finetune_net.cpp
CXX tools/test_net.cpp
CXX tools/compute_image_mean.cpp
AR -o .build_release/lib/libcaffe.a
CXX tools/train_net.cpp
CXX tools/device_query.cpp
CXX tools/convert_imageset.cpp
CXX tools/upgrade_net_proto_binary.cpp
CXX tools/upgrade_net_proto_text.cpp
CXX tools/caffe.cpp
CXX tools/extract_features.cpp
CXX examples/cifar10/convert_cifar_data.cpp
CXX examples/mnist/convert_mnist_data.cpp
CXX examples/siamese/convert_mnist_siamese_data.cpp
CXX/LD -o .build_release/tools/compute_image_mean.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/device_query.bin
CXX/LD -o .build_release/tools/finetune_net.bin
CXX/LD -o .build_release/tools/net_speed_benchmark.bin
CXX/LD -o .build_release/tools/test_net.bin
CXX/LD -o .build_release/tools/train_net.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
/usr//binusr//ldbin:/ ldwarning:: warninglibopencv_core.so.3.0:, libopencv_core.so.3.0needed, byneeded .bybuild_release /.libbuild_release//libcaffe.solib,/ libcaffe.somay, conflictmay withconflict withlibopencv_core.so.2.4
libopencv_core.so.2.4/
usr//usrbin//binld/:ld :warning :warning :libopencv_highgui.so.3.0 ,libopencv_highgui.so.3.0 ,needed neededby by. build_release./build_releaselib//liblibcaffe.so/,libcaffe.so ,may mayconflict conflictwith withlibopencv_highgui.so.2.4
/libopencv_highgui.so.2.4usr
//binusr//ldbin:/ ldwarning:: warninglibopencv_imgproc.so.3.0:, libopencv_imgproc.so.3.0/needed, usrby/ binneeded. /build_releasebyld/ :lib. /build_releasewarninglibcaffe.so/:/,lib usr/maylibopencv_core.so.3.0/libcaffe.so ,bin,/ mayld needed:conflict warningbywith/: usr.libopencv_imgproc.so.2.4libopencv_core.so.3.0/build_release
,bin// libneeded/usr/ ld/libcaffe.soby,: / mayusr.warning /:binbuild_releaseconflict // libopencv_core.so.3.0libldwith,/: /libcaffe.so libopencv_core.so.2.4needed,usrwarning
/:/ mayby binusrlibopencv_core.so.3.0 conflict.//, build_releasewithldbin / :libopencv_core.so.2.4/neededlib
ld /bywarning/:libcaffe.so :.usr,warning build_release/ bin:libopencv_core.so.3.0/may/ ,lib ldlibopencv_highgui.so.3.0 /conflict:,neededlibcaffe.so needed, withwarningby by : maylibopencv_core.so.2.4. .
conflictbuild_releaselibopencv_highgui.so.3.0build_release/ /,lib/usrwith /lib/ neededlibcaffe.so/binlibopencv_core.so.2.4 ,/libcaffe.so
by/ ld, usrmay: ./conflictwarningmaybuild_releasebin : //with conflictlibld libopencv_highgui.so.3.0 /:libopencv_highgui.so.2.4 ,warningwithlibcaffe.so
: ,/libopencv_core.so.2.4needed
usr /libopencv_highgui.so.3.0may/byusr, bin / binconflict/.needed/ ldbuild_release: ldwith/ by: libwarning .libopencv_highgui.so.2.4/:warning build_release
libcaffe.so:libopencv_imgproc.so.3.0//, ,libusr libopencv_highgui.so.3.0 //maybin,neededlibcaffe.so ,/ conflictby ldneeded may: with.conflictbuild_releasewarning by /:withlibopencv_highgui.so.2.4 lib /
.libopencv_imgproc.so.3.0libcaffe.so/build_release,,usr/ /libneededmaybin /conflict /libcaffe.so bywithld, : .libopencv_imgproc.so.2.4 maybuild_release
warning //:conflictlibusr //libcaffe.solibopencv_imgproc.so.3.0withbin,, / mayldneeded :conflict bywarningwith : . libopencv_imgproc.so.2.4build_releaselibjpeg.so.8
/,/lib usr/needed/libcaffe.so bin,by/ ld may:/ rootwarningconflict/ :anacondawith /libjpeg.so.8 lib,libopencv_imgproc.so.2.4/
libopencv_highgui.soneeded/, usr by/not bin /foundroot/ /(anacondatry/ libusing/ libopencv_highgui.so-,rpath notor found- rpath(-trylink )using
/-rootrpath/ anacondaor/ lib-/rpath-libopencv_highgui.solink:)
undefined/ rootreference/ anacondato/ lib`/jpeg_finish_decompresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_finish_decompress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_start_compresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_start_compress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_set_defaultslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_set_defaults/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_finish_compresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_finish_compress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_read_scanlineslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_read_scanlines/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_set_qualitylibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_set_quality/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_stdio_destlibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_stdio_dest/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_CreateCompresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_CreateCompress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_alloc_huff_tablelibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_alloc_huff_table/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_resync_to_restartlibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_resync_to_restart/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_destroy_compresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_destroy_compress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_start_decompresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_start_decompress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_std_errorlibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_std_error/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_write_scanlineslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_write_scanlines/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_read_headerlibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_read_header/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_destroy_decompresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_destroy_decompress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_CreateDecompresslibopencv_highgui.so@:LIBJPEG_8.0 'undefined
/referenceroot /toanaconda /`libjpeg_CreateDecompress/@libopencv_highgui.soLIBJPEG_8.0:'
undefined/ rootreference/ anacondato/ lib`/jpeg_stdio_srclibopencv_highgui.so@:LIBJPEG_8.0 'undefined
reference to `jpeg_stdio_src@LIBJPEG_8.0'
conflictbin with /libopencv_imgproc.so.2.4
ld/libopencv_highgui.so.2.4:usr/bin/
ldwarning:/: usrlibjpeg.so.8warning,/ :needed binby/libjpeg.so.8 ,ld/root:/ neededanacondawarning /:byliblibopencv_highgui.so.2.4 /
libopencv_imgproc.so.3.0/libopencv_highgui.so/,collect2: error: ld returned 1 exit status
root,usrcollect2: error: ld returned 1 exit status
/ /notneededanacondabin / /byfound ldlib .:/(build_release libopencv_highgui.sotry/warning, lib: using/ libcaffe.sonotlibopencv_imgproc.so.3.0 , - foundrpathneeded by( .build_releasetryor/ libusing- -/rpathrpath-libcaffe.so ,linkor )
may-/rpath rootconflict-/linkanaconda )/with
lib/ /rootlibopencv_imgproc.so.2.4/
libopencv_highgui.soanaconda//:usrlib //undefinedbinlibopencv_highgui.so /:reference ld undefinedto: reference ` warningto: jpeg_finish_decompress`@libjpeg.so.8jpeg_finish_decompressLIBJPEG_8.0,@'
LIBJPEG_8.0 '/neededroot
//rootbyanaconda//anaconda lib///liblibopencv_highgui.so/root:libopencv_highgui.so/: anaconda undefined/ undefinedlib referencereference/ libopencv_highgui.sototo, ` `notjpeg_start_compressjpeg_start_compress @@LIBJPEG_8.0foundLIBJPEG_8.0' '(
/try/root /rootanacondausing// libanaconda//-liblibopencv_highgui.sorpath/: libopencv_highgui.so :orundefinedld undefined:-reference rpath referencewarning :-toto linklibjpeg.so.8 ,)`
jpeg_set_defaultsneeded/ rootby/ anaconda//rootlib//anacondalibopencv_highgui.so/:lib /undefinedlibopencv_highgui.so , referencenot tofound `(try jpeg_finish_decompressusing@ LIBJPEG_8.0-'rpath
/orroot /-rpathanaconda-//linklibusr/)/libopencv_highgui.so
:bin// ldroot:undefined /warningreferenceanaconda: to,libopencv_core.so.3.0 ,` neededjpeg_start_compress @mayby LIBJPEG_8.0 'conflict
./withbuild_releaseroot //libopencv_imgproc.so.2.4libanaconda
///usrliblibcaffe.so/,/ libopencv_highgui.sobinmay: /conflict ld undefined: with reference warning :libopencv_core.so.2.4to
libjpeg.so.8`/,usrjpeg_set_defaults @/neededLIBJPEG_8.0bin 'by/
ld //:root`root /jpeg_set_defaults/@LIBJPEG_8.0'
warninganacondaanaconda/://root liblib//anacondalibopencv_highgui.so.3.0/libopencv_highgui.so/,:lib libopencv_highgui.so /undefined,neededlibopencv_highgui.so reference : notby to undefinedfound .`(referencejpeg_finish_compress build_releasetry@to /LIBJPEG_8.0 usinglib`'jpeg_finish_compress
//@-libcaffe.sorpath,rootLIBJPEG_8.0 / 'anaconda
ormay/ / conflictlibroot-/ /rpathwithlibopencv_highgui.soanaconda-: / linkundefinedlibopencv_highgui.so.2.4lib )reference
/
/libopencv_highgui.so/usrto:root / /`binanacondaundefined/jpeg_read_scanlines/ld @libLIBJPEG_8.0:reference'/
warninglibopencv_highgui.soto:/make: : root `/libopencv_imgproc.so.3.0undefinedjpeg_read_scanlines,anaconda*** [.build_release/tools/compute_image_mean.bin] Error 1 @/ LIBJPEG_8.0
referencelibneeded' /
bylibopencv_highgui.so:/ rootundefined./build_release@ anaconda/make: referenceLIBJPEG_8.0/lib *** Waiting for unfinished jobs....'/
libto
libcaffe.so// ,libopencv_highgui.soroot `make: /:mayjpeg_set_quality/anaconda*** [.build_release/tools/finetune_net.bin] Error 1 lib @/
undefined/conflictLIBJPEG_8.0 lib libopencv_highgui.soreference'with
/: libopencv_highgui.so : undefinedtolibopencv_imgproc.so.2.4undefined
reference/usr/ bin`toreference/jpeg_set_quality ld @`:toLIBJPEG_8.0jpeg_finish_decompress' to @
warning `LIBJPEG_8.0/`:jpeg_finish_compress'rootjpeg_finish_decompress @
/libjpeg.so.8@LIBJPEG_8.0/anaconda,LIBJPEG_8.0/root'/ '/rootanacondalibneeded
////byanacondaliblibopencv_highgui.so/ root:/lib// /
rootanacondaundefinedlibopencv_highgui.so/libopencv_highgui.so// :anaconda /:librootreferenceundefinedlib //libopencv_highgui.so /undefinedanaconda:toreferencelibopencv_highgui.so / ,referencelibundefined`to /tolibopencv_highgui.so jpeg_stdio_destnot` :`reference@jpeg_stdio_destLIBJPEG_8.0 jpeg_start_compress @undefinedto'@LIBJPEG_8.0 LIBJPEG_8.0reference'
/root/
`anaconda '/jpeg_start_compress/to@rootlib/
/LIBJPEG_8.0anaconda/`libopencv_highgui.soroot'/jpeg_read_scanlines/:
@libanaconda/ LIBJPEG_8.0/root/undefined'libopencv_highgui.so/lib /
:anacondalibopencv_highgui.soreference// : rootlibundefined to//referenceundefined libopencv_highgui.so anaconda `:reference/tojpeg_set_defaults lib@ undefined/to`LIBJPEG_8.0 libopencv_highgui.so jpeg_CreateCompress'@
reference:`/LIBJPEG_8.0root jpeg_CreateCompress/'toundefined@anaconda
LIBJPEG_8.0//`reference'libroot
jpeg_set_defaults /found//@tolibopencv_highgui.so anacondarootLIBJPEG_8.0/ :(/'anaconda` trylib
/jpeg_set_qualitylibundefined //@/ usinglibopencv_highgui.sorootLIBJPEG_8.0libopencv_highgui.soreference :/': - anaconda
toundefinedrpathundefined// libroot`referenceor reference//libopencv_highgui.so to anaconda:/-`tolib rpathjpeg_alloc_huff_table /`undefined-@libopencv_highgui.so jpeg_alloc_huff_tablelink:LIBJPEG_8.0reference@ )' LIBJPEG_8.0undefined
to '// reference
rootroot` ///jpeg_finish_compresstojpeg_finish_compressrootanacondaanaconda@ @///LIBJPEG_8.0`LIBJPEG_8.0anacondaliblib//'jpeg_stdio_dest'/
liblibopencv_highgui.solibopencv_highgui.so
@//:libopencv_highgui.so:/LIBJPEG_8.0root : root'/undefined undefined/
referenceanaconda undefinedanaconda/ /reference /roottolib referencelib/ /tolibopencv_highgui.so :/anaconda` to libopencv_highgui.so/jpeg_resync_to_restart` undefined` :referencelib@jpeg_finish_decompressjpeg_resync_to_restart /toLIBJPEG_8.0@@undefinedlibopencv_highgui.so 'LIBJPEG_8.0LIBJPEG_8.0 :`
''reference jpeg_read_scanlines/
root
undefined@///toroot LIBJPEG_8.0rootanaconda /referenceanaconda'//`lib /
lib//anacondalibopencv_highgui.sojpeg_read_scanlines/toroot/:@ libopencv_highgui.so /libLIBJPEG_8.0undefined:`anaconda/' jpeg_CreateCompressundefined/libopencv_highgui.so
reference@ libreference: / LIBJPEG_8.0/ torootto'libopencv_highgui.soundefined /
:`referenceanaconda`/ jpeg_destroy_compress @/LIBJPEG_8.0jpeg_destroy_compressrootundefinedtolib'@/ /`
LIBJPEG_8.0anacondareferencelibopencv_highgui.sojpeg_start_compress/@'/ :rootLIBJPEG_8.0
libto /'//root /undefinedanacondaanaconda
libopencv_highgui.so` ///:jpeg_set_qualityreferenceliblibroot @ ///undefinedanacondaLIBJPEG_8.0tolibopencv_highgui.solibopencv_highgui.so /' ::referencelib
` undefined//jpeg_set_qualityundefinedto libopencv_highgui.soroot@ referencereference: /LIBJPEG_8.0` toundefinedanaconda'jpeg_alloc_huff_tableto `/jpeg_start_decompress
@ referencelib@/LIBJPEG_8.0` /LIBJPEG_8.0root'jpeg_start_decompresstolibopencv_highgui.so'/
@ :anaconda//LIBJPEG_8.0` /rootroot'jpeg_set_defaultsundefinedlib//anaconda
@ /referencelibopencv_highgui.soanaconda//LIBJPEG_8.0 :to/libroot'
lib///undefined/libopencv_highgui.sorootanaconda libopencv_highgui.soreference:// : libanacondato undefined`// libundefined jpeg_stdio_destlibopencv_highgui.so`/ reference@:jpeg_stdio_destlibopencv_highgui.soreference LIBJPEG_8.0 '@: toundefined
/LIBJPEG_8.0 to referenceroot /'undefined `toanaconda /`
`referencejpeg_std_errorlibjpeg_std_error/jpeg_resync_to_restart @/LIBJPEG_8.0root@tolibopencv_highgui.soLIBJPEG_8.0/' :anaconda'
`/
jpeg_finish_compresslib@/undefined/@/LIBJPEG_8.0root rootLIBJPEG_8.0libopencv_highgui.so'/reference/':
anaconda anaconda
///to/undefinedrootrootlib lib ///`/referencelibopencv_highgui.soanacondaanacondalibopencv_highgui.sojpeg_CreateCompress ://:@to liblib LIBJPEG_8.0undefined undefined//' ` jpeg_CreateCompresslibopencv_highgui.solibopencv_highgui.so
:/referencereference@: root LIBJPEG_8.0 undefined/ toto'undefinedanacondareference
/reference ``/jpeg_destroy_compresslib tojpeg_write_scanlinesroot@/to @/LIBJPEG_8.0libopencv_highgui.so `LIBJPEG_8.0anaconda':`jpeg_write_scanlines'/
jpeg_read_scanlines@lib//rootundefined@LIBJPEG_8.0/root/ LIBJPEG_8.0'libopencv_highgui.so/anacondareference'
:/anaconda/
root/libto/undefinedroot /lib/ /referenceanaconda//libopencv_highgui.so`anaconda libjpeg_alloc_huff_table:/to@/ libLIBJPEG_8.0undefined` libopencv_highgui.so'/referencejpeg_alloc_huff_table:
libopencv_highgui.so@ /toLIBJPEG_8.0 ':undefinedroot
` / /jpeg_start_decompressreferenceundefinedanacondaroot@ //anacondaLIBJPEG_8.0referencetolib/' /lib
`tolibopencv_highgui.so/:/jpeg_read_headerlibopencv_highgui.so@libopencv_highgui.so root::/LIBJPEG_8.0undefinedanaconda ' /undefinedundefined
referencelib / /referencereference roottotolibopencv_highgui.so / :toanaconda`` jpeg_resync_to_restart/undefinedjpeg_read_header`@libjpeg_resync_to_restart@LIBJPEG_8.0/@LIBJPEG_8.0libopencv_highgui.so'LIBJPEG_8.0:'
'/
undefinedroot// /rootrootreference/anaconda/ anacondato/anaconda/lib /lib/`lib//jpeg_destroy_decompresslibopencv_highgui.solibopencv_highgui.solibopencv_highgui.so@:::LIBJPEG_8.0 undefined'undefinedundefined
/referencereferencerootreference / toanacondatoto /```libjpeg_destroy_compressjpeg_destroy_decompress@/jpeg_destroy_compress@LIBJPEG_8.0@libopencv_highgui.so'LIBJPEG_8.0LIBJPEG_8.0:
''
//undefined/rootrootroot/ //anaconda`anacondaanacondajpeg_set_quality///@libliblib/LIBJPEG_8.0libopencv_highgui.so//':
libopencv_highgui.so /libopencv_highgui.so::undefinedroot / undefinedundefinedanacondareference /referencetoreferencelib to/ ` tojpeg_start_decompresslibopencv_highgui.so`@ jpeg_start_decompress:LIBJPEG_8.0@` 'LIBJPEG_8.0undefined
jpeg_CreateDecompress'/
@referenceroot/LIBJPEG_8.0 /rootto'anaconda /
/anaconda`lib///jpeg_stdio_destrootliblibopencv_highgui.so@//:anacondaLIBJPEG_8.0/ libopencv_highgui.solibundefined': /
referenceundefined/libopencv_highgui.so root:referenceto / undefinedanacondato`/ jpeg_std_errorlib@`/referenceLIBJPEG_8.0jpeg_std_error libopencv_highgui.so':@to
LIBJPEG_8.0 / 'rootundefined`
/jpeg_stdio_src /anaconda@rootreference//LIBJPEG_8.0 libanacondato' //`
libopencv_highgui.solibjpeg_CreateCompress:/ @libopencv_highgui.soundefinedLIBJPEG_8.0: 'reference
undefined /to root`reference/jpeg_write_scanlines anaconda@toLIBJPEG_8.0/ 'lib`
jpeg_write_scanlines//root@libopencv_highgui.so/LIBJPEG_8.0anaconda:'/
lib//undefinedrootlibopencv_highgui.so/ :anacondareference /undefined lib to/referencelibopencv_highgui.so :`to undefinedjpeg_alloc_huff_table` jpeg_read_header@reference@LIBJPEG_8.0 collect2: error: ld returned 1 exit status
LIBJPEG_8.0to''
/`/rootjpeg_read_header/root@/anacondaLIBJPEG_8.0anaconda/'lib/
/liblibopencv_highgui.so/:root/ /undefinedlibopencv_highgui.soanaconda :/referencelib /undefinedtolibopencv_highgui.so :`reference jpeg_destroy_decompressundefined @ toLIBJPEG_8.0reference'
to/`rootjpeg_resync_to_restart/anaconda@/lib/LIBJPEG_8.0 libopencv_highgui.so':reference
undefined/to rootreference`/jpeg_std_error @anacondatoLIBJPEG_8.0/ 'lib`
jpeg_CreateDecompress//@rootlibopencv_highgui.soLIBJPEG_8.0:/'anaconda
//undefinedlib root //referencelibopencv_highgui.soreferenceanaconda:/ undefinedlibto to/reference libopencv_highgui.so` :` tojpeg_CreateDecompressundefined jpeg_destroy_compress @`reference@LIBJPEG_8.0 jpeg_write_scanlinesLIBJPEG_8.0@'to
'LIBJPEG_8.0
//'`root
root/jpeg_stdio_src//@anacondaroot/LIBJPEG_8.0anaconda/lib'/anaconda
//liblibopencv_highgui.solib/:/libopencv_highgui.so libopencv_highgui.so:: undefined undefined undefined `reference referencejpeg_destroy_decompress referenceto @ toLIBJPEG_8.0to` ' jpeg_start_decompress`
`@jpeg_stdio_src/@jpeg_read_headerLIBJPEG_8.0rootLIBJPEG_8.0/'@'anaconda
/LIBJPEG_8.0
lib'//
root/libopencv_highgui.so/root:anaconda// anacondalibundefined/ /libreferencecollect2: error: ld returned 1 exit status
libopencv_highgui.so/: libopencv_highgui.so to:undefined ` undefinedjpeg_CreateDecompressreference @ referenceLIBJPEG_8.0to 'to`
jpeg_std_error/`@rootjpeg_destroy_decompress/LIBJPEG_8.0@anaconda'LIBJPEG_8.0/
'lib/
/root/libopencv_highgui.so/:anacondamake: / *** [.build_release/tools/net_speed_benchmark.bin] Error 1undefinedlib /
referencelibopencv_highgui.so:collect2: error: ld returned 1 exit status
undefinedrootto / referenceanaconda` /jpeg_stdio_srclib@LIBJPEG_8.0/'libopencv_highgui.soto
: `jpeg_write_scanlines@undefinedLIBJPEG_8.0 'reference
/toroot /`anacondajpeg_CreateDecompress/@libLIBJPEG_8.0/'libopencv_highgui.so
:/ rootundefined/ anacondareference/ libto/ libopencv_highgui.so`:jpeg_read_header @undefinedLIBJPEG_8.0 'reference
/toroot /`anacondajpeg_stdio_src/@libLIBJPEG_8.0/'libopencv_highgui.so
: undefined reference to `jpeg_destroy_decompress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to `collect2: error: ld returned 1 exit status
jpeg_CreateDecompress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to `jpeg_stdio_src@LIBJPEG_8.0'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [.build_release/tools/device_query.bin] Error 1
make: *** [.build_release/tools/test_net.bin] Error 1
make: *** [.build_release/tools/convert_imageset.bin] Error 1
make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1
make: *** [.build_release/tools/train_net.bin] Error 1
@melvincabatuan
Copy link
Author

[root@cobalt caffe]# make
make: Nothing to be done for `all'.
[root@cobalt caffe]# gedit Makefile.config

(gedit:23298): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:23298): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:23298): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:23298): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:23298): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:23298): Gtk-WARNING *: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
[root@cobalt caffe]# c
�[3;J
[root@cobalt caffe]# make
CXX/LD -o .build_release/tools/compute_image_mean.bin
/usr/bin/ld: warning: libjpeg.so.8, needed by /root/anaconda/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_finish_decompress@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_start_compress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_set_defaults@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_finish_compress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_read_scanlines@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_set_quality@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_stdio_dest@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_CreateCompress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_alloc_huff_table@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_resync_to_restart@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_destroy_compress@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_start_decompress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_std_error@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_write_scanlines@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_read_header@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_destroy_decompress@LIBJPEG_8.0'
/root/anaconda/lib/libopencv_highgui.so: undefined reference to jpeg_CreateDecompress@LIBJPEG_8.0' /root/anaconda/lib/libopencv_highgui.so: undefined reference tojpeg_stdio_src@LIBJPEG_8.0'
collect2: error: ld returned 1 exit status
make: *
* [.build_release/tools/compute_image_mean.bin] Error 1
[root@cobalt caffe]# conda uninstall opencv
Fetching package metadata: ....

Package plan for package removal in environment /root/anaconda:

The following packages will be REMOVED:

opencv: 2.4.10-np19py27_0

Proceed ([y]/n)? y

Unlinking packages ...
[ COMPLETE ]|###########################################################################| 100%

@melvincabatuan
Copy link
Author

WORKAROUND:

Uninstall conflicting opencv library in anaconda

 conda uninstall opencv

[root@cobalt caffe]# make
CXX/LD -o .build_release/tools/compute_image_mean.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/device_query.bin
CXX/LD -o .build_release/tools/finetune_net.bin
CXX/LD -o .build_release/tools/net_speed_benchmark.bin
CXX/LD -o .build_release/tools/test_net.bin
CXX/LD -o .build_release/tools/train_net.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/caffe.bin
CXX/LD -o .build_release/tools/extract_features.bin
CXX/LD -o .build_release/examples/cifar10/convert_cifar_data.bin
CXX/LD -o .build_release/examples/mnist/convert_mnist_data.bin
CXX/LD -o .build_release/examples/siamese/convert_mnist_siamese_data.bin
[root@cobalt caffe]#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment