Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty
CUBRID Official Forum » Programming Languages » CUBRID-PHP » Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty
|
author
|
message
|
|
|
Post subject: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.06.13 |
|
registered: 06/13/2011 IP: *.86.134.147 views: 103 |
Hi, there's a problem with precompiled php modules for PHP. When trying to load them (by adding to php.ini or /etc/php5/conf.d/) for: cubrid.so I get a warning: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/cubrid.so' - /usr/lib/php5/20090626+lfs/cubrid.so: undefined symbol: executor_globals_id in Unknown on line 0 All good, but cubrid_* functions are not available anyway. After googling, it looks like the module was pre-compiled without ZTS enabled or something like that, while on Ubuntu it's vice-versa. pdo_cubrid.so loads without warning, but again, functions are not accessible. My environment: apt-cache policy nginx-light php5-fpm | grep Instalat Instalat: 5.3.5-1ubuntu7.2 Instalat: 0.8.54-4cubrid --version cubrid (CUBRID utilities) CUBRID 2008 R4.0 (8.4.0.0196) (32bit release build for linux_gnu) (Apr 29 2011 00:21:30) Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution. uname -ri 2.6.38-8-generic i386 So I had to re-compile the cubrid.so using PEAR, worked fine now. (My cubrid.so here) P.S.: Having a PPA for Ubuntu/Debian, would be really cool.
|
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.13.06 |
|
registered: 06/13/2011 IP: *.86.134.147 |
The wysiwyg is kinda stupid :( |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.15.06 |
|
registered: 05/31/2011 IP: *.91.139.51 |
I will check this and get back to you. |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.17.06 |
|
registered: 06/13/2011 IP: *.24.43.224 |
@eye, ok. Thanks. |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.19.06 |
|
registered: 06/13/2011 IP: *.86.134.147 |
I was thinking to put a daily build of cubrid, so I checked the svn branch for 8.4.0 and found a debian directory there. The problem with daily builds, that to create a recipe, if requires to have the code imported on launchpad.net. An import request has to be filled on their page: https://code.launchpad.net/+code-imports/+new To do that, It asks for a parent project, where cubrid is not registered, so nobody can make an import until the project is registered. Once that is done along with the import a build recipe can be added: |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.20.06 |
|
registered: 03/29/2010 IP: *.91.139.51 |
Hey Stas! It's so cool you checked this. We were trying to submit to the official repositories for so long. Hope this time we will manage it with your help! Thanks again! |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.20.06 |
|
registered: 06/13/2011 IP: *.86.134.147 |
I'm not an expert, but I've been using launchpad for some time, so if I can help you, just ping me. Rock on! |
| Quote | |
|
|
# Post subject:Re: Precompiled cubrid.so/pdo_cubrid.so on Ubuntu Natty Post date: 2011.17.08 |
|
registered: 03/29/2010 IP: *.91.139.51 |
Hi Stas, Now both CUBRID and CUBRID Manager can be installed directly from Launchpad. Check this tutorials http://www.cubrid.org/launchpad. Please, give it a try and let us know if you have any comments. Thanks. |
| Quote | |