This is how I solved the problem:

I created the following soft link:

ln -s /usr/local/pgsql/lib/libpq.so.3 /usr/lib/libpq.so.3

causing /usr/lib/libpq.so.3 to point to /usr/local/pgsql/lib/libpq.so.3


This solved the problem.


Thank you for your help - Roberto, Jean-Fabrice, and Derek

Thorpe




On Sat, 20 Sep 2003 11:50:35 -0700, derek keller <[EMAIL PROTECTED]>
wrote:

>You can add to the LD_LIBRARY_PATH VARIABLE.
>
>Or add the path to the file /etc/ld.so.config and then run the command
>ldconfig.
>
>Neither of these worked for me (I was using freebsd though).  I made a
>soft link from /usr/lib/libpq.so.3 to the pgsql directory:
>
>% ln -s /usr/lib/libpq.so.3 /usr/local/pgsql/lib/libpq.so.3


>
>The first two may work for you with no problem, but just so you know
>some options.
>
>--- Jean-Fabrice RABAUTE <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Add the path '/usr/local/pgsql/lib' to your LD_LIBRARY_PATH shell
>> variable
>> before starting aolserver process (using "set" or "setenv" command
>> depending
>> on your shell).
>>
>> This will tell the system to search libraries also on this path and
>> hopefully Aolserver should find the pg library.
>>
>> I hope it works :-)
>>
>> Regards.
>>
>> Jean-Fabrice RABAUTE
>> Core Services - Enjoy the future today
>> http://www.core-services.fr
>> Mob: +33 (0)6 13 82 67 67
>>
>> > -----Message d'origine-----
>> > De : AOLserver Discussion [mailto:[EMAIL PROTECTED] la
>> part
>> > de Thorpe Mayes
>> > Envoy� : samedi 20 septembre 2003 19:31
>> > � : [EMAIL PROTECTED]
>> > Objet : Re: [AOLSERVER] unable to make nspostges
>> >
>> >
>> > Roberto,
>> >
>> > Thank you for your reply.
>> >
>> > Yes, it is Red Hat Linux 9.0.  No problem.
>> >
>> >
>> > Here is what I did:
>> >
>> > I changed the following line in nspostgres.h
>> >
>> > #include "libpq-fe.h"
>> >
>> > to
>> >
>> > #include "/usr/local/pgsql/include/libpq-fe.h"
>> >
>> >
>> > This worked.
>> >
>> >
>> > I then changed nsd.tcl to reflect the use of postgres.
>> >
>> > When I started aolserver, I got the following error:
>> >
>> > [20/Sep/2003:11:51:31][11450.1075062368][-main-] Notice: modload:
>> loading
>> > '/usr/local2/aolserver/bin/nspostgres.so'
>> > [20/Sep/2003:11:51:31][11450.1075062368][-main-] Warning:
>> > modload: failed to
>> > load '/usr/local2/aolserver/bin/nspostgres.so': 'libpq.so.3: cannot
>> open
>> > shared object file: No such file or directory'
>> > [20/Sep/2003:11:51:31][11450.1075062368][-main-] Error: dbdrv:
>> failed to
>> > load driver 'postgres'
>> >
>> >
>> > I searched for the file:
>> > # locate libpq.so.3
>> > /usr/local/pgsql/lib/libpq.so.3
>> > /usr/local/pgsql/lib/libpq.so.3.0
>> >
>> >
>> > I am not sure where to go from here.
>> >
>> > Thank you for your help.
>> >
>> > Thorpe
>> >
>> >
>> > --
>> > AOLserver - http://www.aolserver.com/
>> >
>> > To Remove yourself from this list, simply send an email to
>> > <[EMAIL PROTECTED]> with the
>> > body of "SIGNOFF AOLSERVER" in the email message. You can leave
>> > the Subject: field of your email blank.
>> >
>> >
>>
>>
>> --
>> AOLserver - http://www.aolserver.com/
>>
>> To Remove yourself from this list, simply send an email to
>> <[EMAIL PROTECTED]> with the
>> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
>> Subject: field of your email blank.
>
>
>=====
>"Are you going to spend the rest of your life selling sugar water, or are
you going to come with me and change the world?"
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>
>--
>AOLserver - http://www.aolserver.com/
>
>To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
>body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to