I an trying to follow the procedure as given in the installation guide http://opencv.willowgarage.com/wiki/InstallGuide_Linux While trying do Path configuration I tried creating a opencv.conf file in /etc/ld.so.conf.d/ containing a single line /usr/local/lib . But as soon as I save it I get error message:
vineet@vineet-XPS-M1530 /etc/ld.so.conf.d $ sudo gedit opencv.conf
(gedit:3765): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.L45S9V': No such file or directory
(gedit:3765): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:3765): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.U5FA9V': No such file or directory
(gedit:3765): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:3765): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.2ITB9V': No such file or directory
(gedit:3765): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
vineet@vineet-XPS-M1530 /etc/ld.so.conf.d $
I am new to linux. Please tell me how to do it.