Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - php-mysql: (3 Items)
   
php-mysql  
Hello,
i'v been trying to compile mysql module for php in qnx 6.50. I'v got apache22, mysql51, and ap-php sucessfully compiled 
and running.
When compiling php-mysql i'v noticed this warning:
...
*** Warning: libtool could not satisfy all declared inter-library
*** dependencied of module mysql. Therefore, libtool will create
*** a static module, that should work as long as the dlopenening
*** application is linked with the -dlopen flag
...

In config.log i'v noticed following:
...
configure:11187: checking whether the c++ linker (/usr/qnx650/host/qnx6/x86/usr/bin/ntox86-ld) supports shared libraries

configure:12085: result: no
configure:12106: c++ -c -O2 -l/usr/pkg/include -l/usr/pkg/include/mysql -l/usr/include -l/usr/pkg/include -l/usr/pkg/
include/mysql -l/usr/include conftest.cpp >&5
PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
...

Any idea how to get mysql.so compiled would be appreciated:-)
Re: php-mysql  
The configure script has an embedded libtool in it that doesn't work.
The following seems to work:

# cd databases/php-mysql
# bmake configure
# ln -sf ../../../.wrapper/bin/libtool work/php-5.2.17/ext/mysql/libtool
# bmake install

Not sure where / why it goes off the rails...

-seanb

On Wed, Aug 24, 2011 at 03:51:41AM -0400, Jan Novotný wrote:
> Hello,
> i'v been trying to compile mysql module for php in qnx 6.50. I'v got apache22, mysql51, and ap-php sucessfully 
compiled and running.
> When compiling php-mysql i'v noticed this warning:
> ...
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencied of module mysql. Therefore, libtool will create
> *** a static module, that should work as long as the dlopenening
> *** application is linked with the -dlopen flag
> ...
> 
> In config.log i'v noticed following:
> ...
> configure:11187: checking whether the c++ linker (/usr/qnx650/host/qnx6/x86/usr/bin/ntox86-ld) supports shared 
libraries
> configure:12085: result: no
> configure:12106: c++ -c -O2 -l/usr/pkg/include -l/usr/pkg/include/mysql -l/usr/include -l/usr/pkg/include -l/usr/pkg/
include/mysql -l/usr/include conftest.cpp >&5
> PKGSRC-WARNING: Something is trying to run the c++ compiler,
> PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
> ...
> 
> Any idea how to get mysql.so compiled would be appreciated:-)
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post88310
> 
Re: php-mysql  
I'v made a symlink to /usr/pkg/bin/libtool and wow it did work!:) thank you a lot!