|
From: deeboh <mic...@gm...> - 2007-03-21 15:33:11
|
After many troubles installing 3.0 on my mac i've found an interesting error in starting the embedded PG DB.... from hq-server.sh start I get an error that the built in DB can't start. after digging through logs and shell scripts I tried to start postgres manually and there seems to be a hardcoded path to a lib file that is required but obvisouly won't be in my path. TeamSOAMac:~/hyperic/server-3.0.2/hqdb/bin daddyD$ ./pg_ctl start dyld: ./pg_ctl can't open library: /Users/rmorgan/hyperic/pgsql-bin/pgsql/lib/libpq.4.dylib (No such file or directory, errno = 2) Trace/BPT trap TeamSOAMac:~/hyperic/server-3.0.2/hqdb/bin daddyD$ cd ../.. TeamSOAMac:~/hyperic/server-3.0.2 daddyD$ cd .. TeamSOAMac:~/hyperic daddyD$ cd server-3.0.2/ TeamSOAMac:~/hyperic/server-3.0.2 daddyD$ find . -name libpq.4.dylib ./hqdb/lib/libpq.4.dylib II found references to rmorgan in these two files... abs_top_srcdir = /Users/rmorgan/hyperic/pgsql-bin/postgresql-8.1.2/src/.. configure_args = '--prefix=/Users/rmorgan/hyperic/pgsql-bin/pgsql' '--without-zlib' '--without-readline' I'm assuming this is why the built in postgres won't start, but i'm too tired to dig any further and my laptop battery is at 3min to detenation. thanks for your help in advance, Deeboh |