I recently had this error, and surely other people also are going to have when they update the POSTGIS and POSTGRESQL, so I want to share the solution.  OS: CENTOS 6 (x86_64)  Installed: postgresql-9.6 from   yum install postgresql96-server postgresql96   installer: postgis2_96  yum install postgis2_96   problem/error when start to enable POSTGIS using psql or pgAdminIII :  psql (9.6.3)     postgres=# \connect SANTANDER     You are now connected to database "SANTANDER" as user "postgres".     SANTANDER=# CREATE EXTENSION postgis;     ERROR:  could not load library "/usr/pgsql-9.6/lib/postgis-2.3.so": /usr/pgsql-9.6/lib/postgis-2.3.so: undefined symbol: pj_get_spheroid_defn   I checked the PROJ version:  $ yum list installed | grep proj  proj.x86_64        4.7.0-1.el6                           @epel   the problem is solved upgrading the PROJ  $ yum upgrade proj Updated:   proj.x86_64 0:4.8.0-2.rhel6
OS is openSUSE 12.1, PostgreSQL - 9.1, PostGIS - 2.0. Postgre/PostGIS are installed from Application:Geo repository.  After recent updates when I try to connect to my database I get the following error:      ERROR:  could not load library "/usr/lib/postgresql91/lib64/postgis-2.0.so":  /usr/lib/postgresql91/lib64/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn   I searched the web for this error (, ) and seems that it may have something to do with ld.so.config (or ldconfig command). But I can't figure out what I have to do in my case.
Chat gives me really, really specific time gap notifications What is the lifetime of a static variable in a C++ function? Same e-mail user, different address? I was wondering why using foo.bar@gmail.com works but not foo.bar@outlook.com.  In Gmail, foo.bar@gmail.com and foobar@gmail.com (and any combination of periods in the username) is equivalent.  Is this a hidden feature in Gmail? Tensor product vs. Cartesian Product for composite quantum systems As a native English speaker, which two further languages would give me the most travel utility worldwide? This follows on from a travel conversation a group of us had in a hostel in London.  Assuming I am travelling randomly between countries and continents, which two languages in addition to English would provide the most usefulness in any given country?  I suspect Spanish (North America, South America) and French (Europe, Africa) but with the base understanding between French and Spanish maybe the time would be best spent learning another language?  This question is a real puzzler since the following constraints apply   Length of time required to be "functional" in the language (cost-time trade off) Chance of reaching proficiency within any meaningful timeframe (Mandarin) Regional dialects destroying proficiency (Arabic) Easier Secondary languages underpinning the society (Arabic versus French argument) Similarity of Language families (Romance) leading to wasted effort (Italian v French) Utility of the Language (German versus English when English is understood) Enjoyment is a minor consideration   Happy to consider any other thoughts but it is a really interesting topic for consideration if you are linguistically minded. Environment variables in Mac OS X Update: The link below does not have a complete answer. Having to set the path or variable in two places (one for GUI and one for shell) is lame.  Not Duplicate of:     Coming from a Windows background where it's very easy to set and modify environment variables (just go to System Properties > Advanced > Environment Variables), it does not seem to be that straight forward on Mac OS 10.5. Most references say I should update /etc/profile or ~/.profile. Are those the equivalent of System Variables and User Variables? For example, where should I set my JAVA_HOME variable?    EDIT:  I want to be able to access the variable from the terminal as well as an app like Eclipse. Also, I hope I don't have to restart/logout to make this take effect. I have a time series that shows a nonstationary seasonal autoregressive component as well as known heteroshedasticity. In order to model the series, I have fit a seasonal ARIMA model for the mean with the auto.arima model in the forecast package in R and a GARCH model on the residuals of the ARIMA model.   Is the procedure of sequentially estimating ARIMA and GARCH model correct or would it have been better to jointly model the mean and the variance of the series? If this were correct, is there a (possibly R) function to do it? Where's the Strangedupe blog post? Previously, in order to explain the benefits of (certain limited kinds of) duplication on Stack Exchange sites, I've seen a blog.stackoverflow blogpost with the words "Dr. Strangedupe" in the title.  The post comes up in a search on the new blog, but       Can we please bring this post back? I'd love to link to it when , to reassure the questioner that there is value in not deleting their question because of search terms, but the blog post explained it a lot better than I could in a comment. Vandermonde determinant for order 4 Sum with binomial coefficients: $\sum_{k=0}^{n}{2n\choose 2k}$ I'm repeating material for test and I came across the example that I can not do. How to calculate this sum: $\displaystyle\sum_{k=0}^{n}{2n\choose 2k}$? How to add item to right-click menu when NOT selecting a folder or file? How do I add a menu item to my context menu to open up powershell (or any other arbitary application) when I right-click inside Windows Explorer?  I found tons of links on how to add menu items when doing this: (selecting a folder; )    ...but couldn't find any instructions on how to add menu items when doing this: (not selecting a folder or file)    I did find  and tried adding powershell to HKEY_CLASSES_ROOT\Directory\Background\shell\, (loosely based on the  and linked above) but it didn't work for me.  I'm running Windows 7, by the way.  Also, I'm currently interested in adding only PowerShell, but I'd prefer a general solution I can apply to add any program to the context menu. I need to repair my Windows 10 installation. Where can I get a clean ISO (with install.wim, no Install.ESD, so that I can run DISM against the WIM) of the specific Windows 10 build required for this?  In my case, I need the Anniversary update (Build 14393), Creators Update (Build 15063) or Fall Creators Update (Build 16299.15). Multivariable Delta Epsilon Proof $\lim_{(x,y)\to(0,0)}\frac{x^3y^2}{x^4+y^4}$ --- looking for a hint I have the limit $$\lim_{(x,y)\to(0,0)}\frac{x^3y^2}{x^4+y^4},$$ and would like to show with an $\epsilon-\delta$ proof that it is zero. I know with a situation like $$\left|\frac{x^4y}{x^4+y^4}\right|\leq y$$  or something similar, but I can't find a way to do the same thing here, as no single term in the numerator is of sufficient degree, although I think I could get this with a small hint. I have recently been reading about Quantum Electrodynamics which I found very interesting, but even more confusing.  I understand photons mediate the electromagnetic force and interactions between charges can be described by virtual photon exchange. And that in Quantum Mechanics particles paths can be evaluated by sum over all paths...  An electron travelling from one point to another will take all paths, emitting and reabsorbing virtual photons. Does the electrons take all paths including those that involve faster than light velocities?  Is this question null, Does it mean anything to ask about properties of virtual particles?  Do I have the wrong idea about what virtual particles are? The meaning of various equality symbols Has there been any news from the maintainers of Ubuntu packaging of Ruby as to whether they'll be releasing a package for Ruby 2.0? If so, have they indicated whether they'll be releasing any packages for Ruby 2.0 on 12.04? Installing debian package through Synaptic I want to install a .deb file. After going through various questions, I came across these three options: dpkg, GDebi and Ubuntu Software Center. However, I want to install the. Deb file via Synaptic Package Manager only. Is there any method by which I can install. Deb file as well as all it's dependencies via Synaptic Package Manager? Assume that $0 &lt; a_n \leq 1$ and that $\sum a_n=\infty$. Is it true that  $$ \sum_{n \geq 1} \frac{a_n}{(a_1+\ldots+a_n)^2} &lt; \infty $$ ?  I think it is but I can't prove it. Of course if $a_n \geq \varepsilon$ for some $\varepsilon &gt; 0$ this is obvious.  Any idea? Thanks. How to draw this P-V graph? Enumeration within self defined environment My self defined environment having a symbol at the beginning and at the end works fine for text without enumeration. When including enumerate the symbols are not there where desired. Is it possible to have the first symbol directly in front of &quot;1.&quot; i. e. in the same line and the ending symbol in the same line as the last line of the enumeration? With \ignorespacesafterend and \unskip I did not succeed. \documentclass{article} \usepackage{amssymb} \newenvironment{myenv}{$\blacktriangleright$}{\hfill$\blacktriangleleft$}  \begin{document} There is a text.  \begin{myenv} And an example \end{myenv}  Here is another text.  \begin{myenv} \begin{enumerate} \item A \item B \end{enumerate} \end{myenv}  \end{document}