[phc-general] Problem installing phc

Alberto Bacchelli sback at sback.it
Fri Jul 10 15:23:38 IST 2009


Hi,

I have exactly the same problem Xavier had in April 2009:

"I compiled phc:
make
and then:
make install
but the error:
phc: error while loading shared libraries: libphc.so.0: cannot open
shared object file: No such file or directory

This library is on /usr/local/lib and the PATH is there"

you asked him for some additional information, but he didn't reply.

Since I am really interested in using phc, I will reply :-)

The system I am using is a 64-bit Debian Lenny.

I tried to install the system using the following commands (as root):

"./configure && make && make install && echo "ok""

They seem to function correctly (I also got the "ok" at the end).
However when I write:

"phc --help" or, even just: "phc"

I got
"phc: error while loading shared libraries: libphc.so.0: cannot open
shared object file: No such file or directory"

the library is there:
/usr/local/lib/libphc.so.0 -> /usr/local/lib/libphc.so.0.0.0
and the "file" output on: libphc.so.0.0.0 is:
/usr/local/lib/libphc.so.0.0.0: ELF 64-bit LSB shared object, x86-64,
version 1 (SYSV), dynamically linked, not stripped

I attach the config.log, as you asked it to Xavier.

Thank you in advance,
Alberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 38672 bytes
Desc: not available
Url : http://nova.villiros.com/pipermail/phc-general/attachments/20090710/b=
c6d2822/config-0001.obj


More information about the phc-general mailing list