I installed PostgreSQL using MacPorts on several different computers, no problem, but when it comes to my own laptop, I cannot build it.
When I do this command:
sudo port install postgresql83
I get this error:
checking test program... failed
configure: error:
Could not execute a simple test program. This may be a problem
related to locating shared libraries. Check the file 'config.log'
for the exact reason.
Error: The following dependencies failed to build: postgresql83
Error: Status 1 encountered during processing.
The config.log file has a length of 7000 lines without the obvious problems that I see (it says "exit 1" on the last line, though!).
I have developer tools and what is not installed, and I upgraded to the latest version of MacPorts and synchronized the ports tree. I can install other things through MacPorts.
I searched in vain for details about what this means. Any suggestions? Thank!
UPDATE: I think this is what causes the crash (from config.log):
configure:8307: ./conftest
dyld: Library not loaded: /opt/local/lib/libxml2.2
Referenced from: /opt/local/lib/libxslt.1.dylib
Reason: image not found
libxml2, , , . libxml2 libxslt , , .