OSM vector map error while installing osm localization extention - openstreetmap

When setting up vector OSM map extension and used this command,
sudo apt-get -y install ./postgresql--osml10n__amd64.deb,
I got following error
E: Unsupported file ../postgresqlosmll0namd64.deb given on commandline
Please help to resolve this error

Related

unable to install jd-gui on ubuntu 16.04,64 bit machine

Getting following error:
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Already tried installing using below cmd:
sudo apt-get install ia32-libs-gtk
Getting error for this too:E: Unable to locate package ia32-libs-gtk
Seems you need to install x86 version:
sudo apt-get install libgtk2.0-0:i386

install mongodb: /lib/x86_64-linux-gnu/libssl.so.10: version `libssl.so.10' not found

When i was trying to install the latest mongodb-3.4.1 with tar fils, i encountered the following error:
libssl.so.10: cannot open shared object file: No such file or directory
then I searched from the net and tried this solution: https://askubuntu.com/questions/339364/libssl-so-10-cannot-open-shared-object-file-no-such-file-or-directory, created the soft link for the file libssl.so.1.0.0 and libcrypto.so.1.0.0, but another error occurred like this:
$ bin/mongod --config=mongo.cfg
bin/mongod: /lib/x86_64-linux-gnu/libcrypto.so.10: version `libcrypto.so.10' not found (required by bin/mongod)
bin/mongod: /lib/x86_64-linux-gnu/libssl.so.10: version `libssl.so.10' not found (required by bin/mongod)
The error was still there even though i reinstalled the libssl1.0.0 by apt-get install

Error using VideoReader/init (line 450)

I tried this:
http://in.mathworks.com/help/matlab/ref/videoreader.html
after following this:
Matlab: Error using VideoFileReader/setup
I am still getting the error:
"Error using VideoReader/init (line 450)
The file requires the following codec(s)
to be installed on your system:
video/x-msmpeg
Error in VideoReader (line 147)
obj.init(fileName);"
So, I did this:
sudo apt-get install libav-tools
but, I am still getting the same error
please help me in resolving either of the errors
The MIME type video/x-msmpeg stands for Microsoft MPEG. If you are running Linux, I highly doubt these codecs are installed on your computer out of the box. However, you can try using the ubuntu-restricted-extras package through apt-get.
In the terminal and assuming you are using Ubuntu, type in the following:
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg libavcodec-extra-53 libavcodec53
sudo apt-get ubuntu-restricted-extras
This should hopefully install what you need. See here for more details: https://askubuntu.com/questions/214421/how-to-install-the-mpeg-4-aac-decoder-and-the-h-264-decoder

Where is libpq-fe.h on a Travis-CI instance?

I'm trying to build a postgres database adapter (luapgsql) as part of my setup:
install:
- sudo luarocks install --server=http://rocks.moonscript.org/dev luapgsql
But the build can't find libpq-fe.h:
Error: Could not find expected file libpq-fe.h, or libpq-fe.h for PQ --
you may have to install PQ in your system and/or pass PQ_DIR or
PQ_INCDIR to the luarocks command. Example: luarocks install luapgsql
PQ_DIR=/usr/local
I've tried what's suggested above, apt-get install libpq-dev and just find \ -name libpq-fe.h. No luck so far. Any ideas where it might be?
So it turns out that running pg_config as part of the install: was the answer. I could read the output in the log.
In the end, the line that worked for me for installing luapgsql on travis is:
sudo luarocks install --server=http://rocks.moonscript.org/dev luapgsql PQ_INCDIR=/usr/include/postgresql PQ_LIBDIR=/usr/lib/x86_64-linux-gnu

DB2 error while loading shared libraries

When i execute 'db2stop' or 'db2start' command on Centos finally 6.4 (Final). I am getting error as follows:
> error while loading shared libraries: libnuma.so.1: cannot open shared
> object file: No such file or directory
I tried as follows commands but it didn't work..
# yum install compat-libstdc++-33
# yum install libaio
waiting your solutions.
I executed the following command and I got it: apt-get install numactl
And also if you get following error
DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*"
then execute
sudo yum install pam.i686