Load a C library into extension?

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

 



Hi all,

  I have no doubt posted many queries here in the past few days, and am
  thankful for all the help I have received. :)

  I have been able to write a helloworld extension and compile it.  The
  next step is to call a function in a library libfoo.so.  I think
  this needs a modification in config.m4.

  Any ideas how to go about it?  I have already tried editing LIBNAME
  and LIBSYMBOL.  It says:
  checking for foo in -lfoo... no
  configure: error: wrong foo lib version or lib not found

  The file is present as ext/myext/lib/libfoo.so.

Thanks again,
Deepak

-- 
N Deepak || http://www.ndeepak.info/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux