libpq.so open failed
libpq.so open failed
От:
Ximo Domenech <ximo.domenech@ival.es>
Дата:
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.domenech@ival.es
Re: [GENERAL] libpq.so open failed
От:
Charles Tassell <ctassell@isn.net>
Дата:
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.domenech@ival.es >