Forum OpenACS Development: Re: Error on OS X using install-ns.sh

Collapse
Posted by Dave Bauer on
Ok Thanks!

So my naviserver db driver is using the wrong PG library and I'll track that down.

otool -L nsdbpg.so
nsdbpg.so:
/usr/local/ns/lib/libnsdb.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libpq.5.dylib (compatibility version 5.0.0, current version 5.5.0)
/usr/local/ns/lib/libnsthread.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/ns/lib/libnsd.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/ns/lib/libtcl8.5.dylib (compatibility version 8.5.0, current version 8.5.18)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

Collapse
Posted by Gustaf Neumann on
... whatever wrong means. Is /usr/lib/libpq.5.dylib installed by homebrew? This would be strange, a package manager should not install into /usr/lib (rather e.g. /usr/local/lib).

What do you see from

% strings /usr/lib/libpq.5.dylib | fgrep PGSQL
Collapse
Posted by Dave Bauer on
I meant wrong as /usr/lib/libpq.5.dylib is the built-in postgresql. My home brew postgresql is in /usr/local/lib/

I had to re-run ns-install.sh. I did not realize I needed to change the paths to pglib and pginclude in the script before running it.

I learned my lesson. Again than you for your patience.