linker problem

2004-10-17 Thread Kemin Zhou
I have a linking problem error message: /usr/local/bin/gecods: error while loading shared libraries: libpq++.so.4: cannot open shared object file: No such file or directory === I compiled a simple program called gecods, it dynamically links to libpq++.so.4 in /usr/local/pgsql/lib/ (a postgres

Re: linker problem

2004-10-17 Thread Stas Bekman
Kemin Zhou wrote: I have a linking problem error message: /usr/local/bin/gecods: error while loading shared libraries: libpq++.so.4: cannot open shared object file: No such file or directory === I compiled a simple program called gecods, it dynamically links to libpq++.so.4 in /usr/local/pgsql/l

Re: linker problem

2004-10-17 Thread Kemin Zhou
Stas, Thaks a lot for the help. Maybe you can give me more help. When I added the two lines to my http.conf file SetEnv LD_LIBRARY_PATH /usr/local/pgsql/lib PassEnv LD_LIBRARY_PATH While restarting the server: Stopping httpd:[ OK ] Starting httpd: [S

Re: linker problem

2004-10-17 Thread Stas Bekman
Kemin Zhou wrote: Stas, Thaks a lot for the help. Maybe you can give me more help. When I added the two lines to my http.conf file SetEnv LD_LIBRARY_PATH /usr/local/pgsql/lib PassEnv LD_LIBRARY_PATH While restarting the server: Stopping httpd:[ OK ]

Re: linker problem

2004-10-17 Thread Kemin Zhou
Stas Bekman wrote: Kemin Zhou wrote: Stas, Thaks a lot for the help. Maybe you can give me more help. When I added the two lines to my http.conf file SetEnv LD_LIBRARY_PATH /usr/local/pgsql/lib PassEnv LD_LIBRARY_PATH While restarting the server: Stopping httpd:

Re: linker problem

2004-10-17 Thread Stas Bekman
Kemin Zhou wrote: [...] SetEnv LD_LIBRARY_PATH /usr/local/pgsql/lib PassEnv LD_LIBRARY_PATH While restarting the server: Stopping httpd:[ OK ] Starting httpd: [Sun Oct 17 15:41:42 2004] [warn] PassEnv variable LD_LIBRARY_PATH was undefined [...] So the