Packaging Go application for Debian

Well. I think the only “trauma” of debuild is that it runs lintian after building the package, and it’s lintian who tries to spot problems with your package. So there are two ways to combat the situation: Do not use debuild: this tool merely calls dpkg-buildpackage which really does the necessary powerlifting. The usual call … Read more

How to compare Debian package versions?

Perhaps because the title doesn’t mention Python (though the tags do), Google brought me here when asking the same question but hoping for a bash answer. That seems to be: $ dpkg –compare-versions 11a lt 100a && echo true true $ dpkg –compare-versions 11a gt 100a && echo true $ To install a version of … Read more

Error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory

Try this: 1: Know the path of libpq.so.5 find / -name libpq.so.5 Output example: /usr/pgsql-9.4/lib/libpq.so.5 If found nothing, check if you have already installed the suitable postgresql-libs for your postgresql version and your OS platform 2: Symbolic link that library in a “well known” library path like /usr/lib: ln -s /usr/pgsql-9.4/lib/libpq.so.5 /usr/lib/libpq.so.5 Attention: If your … Read more

fatal error: Eigen/Dense: No such file or directory

I had this same problem on my Ubuntu 14 box. Ended up creating symlinks to get around it. With eigen3 installed in /usr/local/include do the following: cd /usr/local/include sudo ln -sf eigen3/Eigen Eigen sudo ln -sf eigen3/unsupported unsupported You should now be able to include the headers by: #include <Eigen/Dense> #include <unsupported/Eigen/FFT>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)