Comments on PostBooks ERP On Ubuntu 7.04
PostBooks ERP On Ubuntu 7.04 This document describes how to set up PostBooks ERP on Ubuntu 7.04. The resulting system provides a powerful GUI-based ERP-system. Postbooks is licensed under the CPAL license (OSI-certified Common Public Attribution License).
7 Comment(s)
Comments
Hi
I was problem with 5 step. I get error:
suvi@suvi-laptop:~$ psql -U postgres -f init.sql template1
psql: FATAL: Ident authentication failed for user "postgres"
suvi@suvi-laptop:~$
Solution was:
sudo su postgres
And then I make database, user and filled this with data.
I had to do an extra step to get this working in step 5. I noted it in bold.
cd ~
su postgres
psql -U postgres -f init.sql template1
createdb -U mfgadmin mfg
pg_restore -U mfgadmin -d mfg postbooks_quickstart.backup -v
I added this step to the howto.
Olli
I just installed PostBook acording your documentation. On Ubuntu 7.10 I ran into problems. When trying to connect I get:
QSqlDatabase: QPSQL7 driver not loaded
QSqlDatabase: available drivers:
I ldd'd the problem down to two missing libraries:
ldd sqldrivers/libqsqlpsql.so
libssl.so.4 => not found
libcrypto.so.4 => not found
I locally linked the existing libssl (openssl) and librypto libraries to the local PostBook install dir:
user@ubuntu: /tmp/xtuple-2.3.1$ ln -s /usr/lib/libcrypto.so ./libcrypto.so.4
user@ubuntu: /tmp//xtuple-2.3.1$ ln -s /usr/lib/libssl.so./ libssl.so.4
Then PostBooks works.
-- Robert
This deals with installation on Ubuntu 8.10 amd64 using Postbooks 3.2.1
Ensure that the various libraries are installed (ia32-libs, lib32readline5 and lib32ncurses5). cd to the xtuple base directory and then:
ln -s /usr/lib32/libcrypto.so.0.9.8 libcrypt
ln -s /lib32/libreadline.so.5 libreadline.so.4
ln -s /usr/lib32/libssl.so.0.9.8 libssl.so.4
ln -s /lib32/libncurses.so.5 libtermcap.so.2
This is what I had to do to get PostBooks 3.2.0 working on Ubuntu 8.10:
cd ~/Programs/xtuple-3.2.0/
ln -s /usr/lib/libcrypto.so.0.9.8 libcrypto.so.4
ln -s /lib/libreadline.so.5 libreadline.so.4
ln -s /usr/lib/libssl.so.0.9.8 libssl.so.4
ln -s /lib/libncurses.so.5 libtermcap.so.2
In the previous comment, it says
Ensure that the various libraries are installed (ia32-libs, lib32readline5 and lib32ncurses5).
cd to the xtuple base directory and then:
ln -s /usr/lib32/libcrypto.so.0.9.8 libcrypt
...
I did not succeed with this command. Instead I tried this command. Then I restarted the Postbooks3.2.1, it worked.
ln -s /usr/lib32/libcrypto.so.0.9.8 libcrypto.so.4