From: | Charles Tassell <ctassell(at)isn(dot)net> |
---|---|
To: | ximo(dot)domenech(at)ival(dot)es, "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] libpq.so open failed |
Date: | 1999-08-04 18:58:57 |
Message-ID: | 4.1.19990804155637.00bf54e0@mailer.isn.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I've never used Solaris, but I know you get a similar error in Linux if you
don't have the dir libpq.so is in the /etc/ld.so.conf file. If you have an
/etc/ld.so.conf file, add the line:
/usr/local/pqsql/lib
to it and run ldconfig. Hope it's that simple. :)
At 05:04 PM 8/4/99, Ximo Domenech wrote:
>Hi to everyone !!
>I'm sorry, my last message have arrived to the mailing list with bad
>subject.
>I dont know why. :-|
>Here my problem:
>
>I'm tring to migrate Postgres from Linux to Solaris. (2.7)
>The C source code (cgi's) is running ok in linux, but when execute
>from solaris I obtain the next error in execution:
>
>ld.so.1: cgi_name: fatal: libpq.so: open failed: No such file or
>directory
>
>I've compiled the cgi with:
>
>-L/usr/local/pgsql/lib -R/usr/local/pqsql/lib -lpq
>
>The paths of libraries is Ok.
>I've been reading something about Solaris in Postgres web site.
>Someone, recommend to use
>
>export LD_RUN_PATH=/usr/local/pgsql/lib
>
>to find libraries in execution time. Thats no work in my computer. I
>dont know how to continue.
>Any idea ?
>Thank you in advanced.
>
>__________________________________________________
>
>Ximo Domenech ximo(dot)domenech(at)ival(dot)es
>
From | Date | Subject | |
---|---|---|---|
Next Message | Mario Haza | 1999-08-04 19:15:11 | Re: [GENERAL] libpq.so open failed |
Previous Message | Ximo Domenech | 1999-08-04 18:36:58 | help Solaris |