create_mnist.sh issue: anaconda/lib/libtiff.so.5: no version information available

1,756 views
Skip to first unread message

Ran Ding

unread,
Oct 14, 2015, 9:52:46 PM10/14/15
to Caffe Users
Hi all

After some frustration with Mac OS (very similar to this https://github.com/BVLC/caffe/issues/1830), I moved onto Ubuntu and was able to build Caffe and pycaffe successfully.

However, when I tried to follow the MNIST example, I got the following error. It seems like the problem is with libtiff, I tried to remove libtiff (conda remove libtiff) and tried to link to the system libtiff.so.5 (ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 ~/anaconda/lib/libtiff.so.5), neither helped.

Would appreciated your help with this.

Thanks,
Ran


parallels@ubuntu:~/tools/caffe-master$ ./examples/mnist/create_mnist.sh 
Creating lmdb...
build/examples/mnist/convert_mnist_data.bin: /home/parallels/anaconda/lib/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4)
F1014 21:42:08.419636 25549 convert_mnist_data.cpp:97] Check failed: mdb_env_open(mdb_env, db_path, 0, 0664) == 0 (22 vs. 0) mdb_env_open failed
*** Check failure stack trace: ***
    @     0x7fc1cda52daa  (unknown)
    @     0x7fc1cda52ce4  (unknown)
    @     0x7fc1cda526e6  (unknown)
    @     0x7fc1cda55687  (unknown)
    @           0x403bfa  convert_dataset()
    @           0x4023f3  main
    @     0x7fc1cc803ec5  (unknown)
    @           0x40243c  (unknown)
    @              (nil)  (unknown)
Aborted (core dumped)
build/examples/mnist/convert_mnist_data.bin: /home/parallels/anaconda/lib/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4)
F1014 21:42:08.702086 25553 convert_mnist_data.cpp:97] Check failed: mdb_env_open(mdb_env, db_path, 0, 0664) == 0 (22 vs. 0) mdb_env_open failed
*** Check failure stack trace: ***
    @     0x7f91bac5fdaa  (unknown)
    @     0x7f91bac5fce4  (unknown)
    @     0x7f91bac5f6e6  (unknown)
    @     0x7f91bac62687  (unknown)
    @           0x403bfa  convert_dataset()
    @           0x4023f3  main
    @     0x7f91b9a10ec5  (unknown)
    @           0x40243c  (unknown)
    @              (nil)  (unknown)
Aborted (core dumped)
Done.

Du Guowei

unread,
Nov 19, 2015, 3:10:34 AM11/19/15
to Caffe Users
I got the same problem too! any updates anyone? Thanks!!

Below is my error




mrdgw@UbunDu:~/caffe$ ./examples/mnist/create_mnist.sh
Creating lmdb...
build/examples/mnist/convert_mnist_data.bin: /home/mrdgw/anaconda/lib/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4)
build/examples/mnist/convert_mnist_data.bin: /home/mrdgw/anaconda/lib/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4)
Done.



Ran Ding

unread,
Nov 19, 2015, 9:51:47 AM11/19/15
to Du Guowei, Caffe Users
Hi there

I had that problem in Ubuntu installed on Mac OS via Parallel Desktop, I wasn’t able to resolve it. Now I’m using a real Ubuntu 14.04 on a workstation built from scratch and don’t have this problem anymore.

regards,
Ran
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/LNh63rHV7SA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/9c0c9ef6-ccce-4863-85fe-87293d33c23b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

whjxnyzh

unread,
Mar 3, 2016, 9:01:07 PM3/3/16
to Caffe Users
I have the same problem.
Did you solve it?
Thank you very much

在 2015年11月19日星期四 UTC+8下午4:10:34,Du Guowei写道:

Jan C Peters

unread,
Mar 4, 2016, 4:10:32 AM3/4/16
to Caffe Users
The libtiff message is just a warning and probably completely unrelated to the error the OP's post shows. In Du Gowei's case there is not even any error. Seems everything went fine.

In the error, the returned value 22 corresponds to the error message EINVAL, indicating an invalid value has been given (directly or indirectly) to mdb_env_open. Since the convert_mnist_data code is probably fine, the only remaining possibility is probably a faulty parameter. If you want to disect the problem, issue the commands from create_mnist.sh one at a time, see which one exactly fails.

Jan
Reply all
Reply to author
Forward
0 new messages