| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
I have been able to integrate PHP 5.2.4 (from php.net) as a module with the HTTP Server that is on the Expansion Pack (V 2.0.47.1). Then I installed the MySQL server (along with the client and devel packages) and the server is running. Now I am trying to add the mysql extension to the PHP module, and here is what I have done so far: - I ran again the configure utility that comes with the PHP package but this time I added the --with-mysql option. => No problems found - I ran make to create the PHP modules => No problems found - I copied the file ./.libs/libphp5.so to the HTTP modules directory (/usr/HTTPServer/modules). - I tried to start the HTTP server using apachectl start, but I got the following errors: Cannot load /usr/HTTPServer/modules/libphp5.so into server: rtld: 0712-001 Symbol mysql_server_init was referenced from module /usr/HTTPServer/modules/libphp5.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol mysql_thread_init was referenced from module /usr/HTTPServer/modules/libphp5.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol mysql_server_end was referenced from module /usr/HTTPServer/modules/libphp5.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol mysql_thread_end was referenced from module /usr/HTTPServer/modules/libphp5.so(), but a runtime definition of the symbol was not found. - I ran ldd libphp5.so and got the following: libphp5.so needs: /opt/freeware/lib/mysql/libmysqlclient_r.a(libmysqlclient_r.so.10) /usr/lib/libiconv.a(shr4.o) /usr/lib/libpthread.a(shr_xpg5.o) /usr/lib/libc.a(shr.o) /usr/lib/librtl.a(shr.o) /usr/lib/libz.a(libz.so.1) /usr/lib/libpthreads.a(shr_comm.o) /unix /usr/lib/libcrypt.a(shr.o) - I checked all the above files existed and had proper permissions. - I ran nm libphp5.so | grep -E "mysql_server|mysql_thread" and got this: .mysql_server_end T 268470868 .mysql_server_end t 268470868 40 .mysql_server_init T 268470788 .mysql_server_init t 268470788 40 .mysql_thread_end T 268470908 .mysql_thread_end t 268470908 40 .mysql_thread_id T 268472388 .mysql_thread_id t 268472388 40 .mysql_thread_init T 268470828 .mysql_thread_init t 268470828 40 mysql_server_end U - mysql_server_end d 538199408 4 mysql_server_init U - mysql_server_init d 538199400 4 mysql_thread_end U - mysql_thread_end d 538199412 4 mysql_thread_id U - mysql_thread_id d 538199560 4 mysql_thread_init U - mysql_thread_init d 538199404 4 This is where I stopped. I noticed the symbols missing are local data symbols within the same file libphp5.so. Am I missing something? Is there a way to tell the HTTP server where the runtime definitions of these symbols are located? Thanks in advance for your help. Rodolfo Matamoros |
|
#2
| ||||
| ||||
I have the same issue with PHP 5.2.4... It looks like something changed between PHP 5.2.3 and 5.2.4 because I can compile the PHP module with MySQL for IBMIHS with no problems on PHP 5.2.3 but 5.2.4 gives the same errors on starting httpd. |
|
#3
| ||||
| ||||
Just use the ZendCore(zend.com) platform for AIX and install the latest mysql (binary version from mysql.com). It will work perfectly. If you have problem just let me know.. shkumbin |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |