You are here: Load a C library into extension? « PHP « IT news, forums, messages
Load a C library into extension?

Posted by N Deepak on 02/24/05 11:21

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация