Cannot load SO file - Urgent

Discussion in 'PHP' started by virgo27, Mar 2, 2012.

  1. #1
    Hi all . . . . . .

    My client has given me an "SO" file. He also gave me the link http://devzone.zend.com/1435/wrapping-c-classes-in-a-php-extension/ as for reference on how to use the "SO" file. Based on this my developer created an "SO" file and loaded it in the php script and it worked. But when the client's "SO" file is loaded, it says "not a valid "SO" file. Now the client says that the file works fine on their end. My developer has never used "SO" file before.

    Kindly also elaborate "SO" files in simplest terms and are they only developed using c/c++ or any other language can also be used to develop "SO" files.

    Also can the same "SO" file be used via jsp and php?????

    And is there any possibility that an "SO" file is working with jsp and not working with php?????
     
    virgo27, Mar 2, 2012 IP
  2. trendint

    trendint Peon

    Messages:
    52
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    .so files are shared object or shared library files specifically for linux based machines. When you are creating extensions for PHP you would compile them to an .so file - these are specific for PHP and can not work with JSP... same goes the other way around... you can't just mix and match them..
     
    trendint, Mar 2, 2012 IP
    virgo27 likes this.
  3. virgo27

    virgo27 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks trendint, so now all that is left to see is what could possibly the reasons that the file is not linking.
     
    virgo27, Mar 2, 2012 IP