pbiggar / phc

A compiler for PHP
132 stars 37 forks source link

Missing libs #148

Closed pbiggar closed 9 years ago

pbiggar commented 9 years ago
phc: error while loading shared libraries: libphc.so.0: cannot open shared object file:
No such file or directory

find / -name 'libphc*' -print
/usr/local/lib/libphc.so.0.0.0
/usr/local/lib/libphc.so.0
/usr/local/lib/libphc.la
/usr/local/lib/libphc.a
/usr/local/lib/libphc.so
/php/phc/phc-read-only/libphc.la
/php/phc/phc-read-only/.libs/libphc.so.0.0.0
/php/phc/phc-read-only/.libs/libphc.so.0
/php/phc/phc-read-only/.libs/libphc.la
/php/phc/phc-read-only/.libs/libphc.lai
/php/phc/phc-read-only/.libs/libphc.a
/php/phc/phc-read-only/.libs/libphc.so

can someone tell me where it expects to find this file and I'll just copy it over to
save hassles!!

Sorry for posting in here but there is no other help available and I followed the instructions
to the letter and still got the error

Regards

Alex

Original issue reported on code.google.com by theukjobsite on 2011-08-18 13:09:26

pbiggar commented 9 years ago
Hi Alex,

  Are you trying this on Linux? If so, please check you ld configuration and see whetever
the "/usr/local/lib" path is there.

  You can check at /etc/ld.so.conf or /etc/ld.so.conf.d/* (if present). If not, add
this directory "/usr/local/lib" and issue the "ldconfig" command. If the directory
is already present, please let us know.

  Regards,
    Andrei

Original issue reported on code.google.com by logytech on 2011-08-18 14:01:59

pbiggar commented 9 years ago
"strace phc" should  reveal the search paths...

Original issue reported on code.google.com by oliver.metz on 2011-08-19 14:26:13

pbiggar commented 9 years ago
Thanks guys, I managed to find it and put it in the right place.

Regards

Alex

Original issue reported on code.google.com by theukjobsite on 2011-09-01 07:20:26

pbiggar commented 9 years ago
Great!

Original issue reported on code.google.com by paul.biggar on 2011-09-01 07:27:01

pbiggar commented 9 years ago
Hi,i have the same problem but and can not solved yet i don't know much about ubuntu,
but i installed it for using phc? can i have a full description to solve it?
I followed all the instruction given on phc site for installation still getting error?
Will you please help me?

Original issue reported on code.google.com by ravi.sharma@xpointers.com on 2012-02-22 05:14:23

pbiggar commented 9 years ago
I solved it too...
Thanks guys
Now i m starting learning phC

Original issue reported on code.google.com by ravi.sharma@xpointers.com on 2012-02-22 05:22:53