Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Can't see shared lib



I'm compiling php3 as a module into Apache, following the instructions in
the php manual. When building Apache it complains 'libpq.so.2.0' doesn't
exist. But as I show below the file exists, in the directory that was given
to gcc. It is readable by all users.

There was a postgres process running so I killed that, but it made no
difference. How do I find out more about what the problem is here?

Thanks,
Darren

--------------
[if you need the previous make output, let me know]
gcc  -DLINUX=2 -DUSE_HSREGEX `../apaci`   -o gen_uri_delims
gen_uri_delims.o  -L
modules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3
 -L/
usr/local/pgsql/lib -lpq                      -lpam -lm -ldl -lcrypt -lnsl
-lre
solv  -lm -lcrypt -lgdbm
./gen_uri_delims >uri_delims.h
./gen_uri_delims: error in loading shared libraries
libpq.so.2.0: cannot open shared object file: No such file or directory
make[3]: *** [uri_delims.h] Error 127
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2
make[2]: Leaving directory `/home/www/software/apache_1.3.6/src'
make[1]: Leaving directory `/home/www/software/apache_1.3.6'

[www@example.com apache_1.3.6]$ ls -l /usr/local/pgsql/lib/libpq.so.2.0
-rw-r--r--   1 postgres postgres    46462 Apr 23 17:15
/usr/local/pgsql/lib/libp
q.so.2.0

-------------------------------------------------------------------
Next Nomikai: May 26 (Wed), 19:00 Tengu TokyoEkiMae 03-3275-3691
*** Special guest: Eric S. Raymond
Next Technical Meeting: June 19 (Sat), 12:30  place: Temple Univ.
Topic: Linux SMP and the Intel SC450NX Quad Xeon Server platform
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links