Koozali.org: home of the SME Server

Webmail - libpq.so.2.0

Allan

Webmail - libpq.so.2.0
« on: December 23, 2000, 12:00:22 AM »
Hi,

I'm trying to install Webmail, and I get's this errormessage:

error: failed dependencies:
        libpq.so.2.0 is needed by php-pgsql-4.0.3pl1-4

when i'm runnings this commands:

rpm -Uvh php* e-smith-php*

I'm a new user of E-smith, so maybe it's just a simple fail??

Please help!


Regards

Allan

Nef

Re: Webmail - libpq.so.2.0
« Reply #1 on: December 23, 2000, 05:42:17 AM »
i think you need to install Postgres rpms but why not used mysql instead coz all the files/rpm that are needed are fully covered.

Allan

Re: Webmail - libpq.so.2.0
« Reply #2 on: December 23, 2000, 11:24:38 AM »
Hi,

I just follow this set of instructions, as Dan Brown has put together:

Install MySQL:

[root@e-smith /root]# rpm -Uvh MySQL* e-smith-mysql*
Once you've installed MySQL, it's a very good idea to change the root password:

[root@e-smith /root]# mysqladmin -u root password mynewpassword
Next is Apache:

[root@e-smith /root]# rpm -Uvh apache-1.3.12-2.i386.rpm



Is that not the way to install it?

Regards

Allan

Tim Litwiller

Re: Webmail - libpq.so.2.0
« Reply #3 on: December 24, 2000, 03:58:40 AM »
You got one to many of the optional files, you need to uninstall the pgsql files

rpm -e php-pgsql-4.0.3pl1-4  then your web server will start again and you will be able to continue

Allan

Re: Webmail - libpq.so.2.0
« Reply #4 on: December 24, 2000, 12:09:14 PM »
Hi Tim!

Thank's for your answer!

I assume I should use the command:

   rpm -e php-pgsql-4.0.3pl1-4

to uninstall the pgsql files?


Well, it did't work! Anyway, I then reinstall the server, upgrade it to 4.0.1, and then tried again: Here is the screen after installation of 4.0.1 and reboot.


[root@e-smith php]# rpm -Uvh MySQL* e-smith-mysql*
MySQL                       ##################################################
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at http://www.mysql.c
om
Support MySQL by buying support/licenses at http://www.tcx.se/license.htmy.

Starting mysqld daemon with databases from /var/lib/mysql
MySQL-client                ##################################################
MySQL-shared                ##################################################
[root@e-smith php]# mysqladmin -u root password xxxxx
[root@e-smith php]# rpm -Uvh apache-1.3.12-2.i386.rpm
warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave
apache                      ##################################################
[root@e-smith php]# rpm -Uvh php* e-smith-php*
error: failed dependencies:
        libpq.so.2.0 is needed by php-pgsql-4.0.3pl1-4
[root@e-smith php]# rpm -e php-pgsql-4.0.3pl1-4
error: package php-pgsql-4.0.3pl1-4 is not installed
[root@e-smith php]#


Since i'm not an expert in e-smith nor linux, I hope you or someone else can help me?

Regards

Allan

Merry Christmas everybody........

Tim Litwiller wrote:
>
> You got one to many of the optional files, you need to
> uninstall the pgsql files
>
> rpm -e php-pgsql-4.0.3pl1-4  then your web server will start
> again and you will be able to continue

Robert

Re: Webmail - libpq.so.2.0
« Reply #5 on: December 24, 2000, 05:59:24 PM »
> [root@e-smith php]# rpm -Uvh php* e-smith-php*
> error: failed dependencies:
>         libpq.so.2.0 is needed by php-pgsql-4.0.3pl1-4
> [root@e-smith php]# rpm -e php-pgsql-4.0.3pl1-4
> error: package php-pgsql-4.0.3pl1-4 is not installed
> [root@e-smith php]#

Hi,
The package php-pgsql cannot be uninstalled, because it didn't install in the first place because of the failed dependency.
All other packages should have installed without  problems. You can check this by typing at the prompt:
rpm -qa | less
As you may or may not know this returns a list of all installed rpms on your system. Now search this list by typing
/php
See if all rpms you need (there's probably a list of them in the webmail instructions somewhere; sorry, haven't looked) were highlighted by this action.
If you really don't need php-pgsql for webmail to work, you should now have all rpms you need and be ready to continue setting it up.
Hope this helps,
Robert

Allan

Re: Webmail - libpq.so.2.0
« Reply #6 on: December 30, 2000, 04:20:22 PM »
Hi again!


I just deleted some of the installations-files that I don't need, and then it works!

Regards

Allan