Hi,
I'm busy porting a PHP-Extension written by the company I work for from
Linux to Win32 (XP).
Everything worked fine. I fixed the errors and warnings, copied the dll
to the extensions directory, entered the dll as extension into php.ini
and this is, where trouble starts.
When PHP is called on apache starting up, it throws an error at me
saying "Unknown(): Unable to load dynamic library '...' Module not found.
Then I browsed through the source code of the extensions, that are
included in the php-4.3.6-sources, to figure out, what they are doing
different - and at this point, the story gets weird:
I compiled the bz2-Project (no errors, no warnings), and replaced
php_bz2.dll in the extensions-Folder with the version I just compiled -
resulting in the same "Unknown(): ..." Error-Message for php_bz2.dll (of
course I checked, that the original indeed works).
Has anyone heard of this problem before?
TIA
Sebastian Morawietz 2 2443
"Sebastian Morawietz" <st************ *@gmx.de> wrote in message
news:c9******** **@sagnix.uni-muenster.de... Hi,
I'm busy porting a PHP-Extension written by the company I work for from Linux to Win32 (XP). Everything worked fine. I fixed the errors and warnings, copied the dll to the extensions directory, entered the dll as extension into php.ini and this is, where trouble starts.
When PHP is called on apache starting up, it throws an error at me saying "Unknown(): Unable to load dynamic library '...' Module not found.
Then I browsed through the source code of the extensions, that are included in the php-4.3.6-sources, to figure out, what they are doing different - and at this point, the story gets weird:
I compiled the bz2-Project (no errors, no warnings), and replaced php_bz2.dll in the extensions-Folder with the version I just compiled - resulting in the same "Unknown(): ..." Error-Message for php_bz2.dll (of course I checked, that the original indeed works).
Has anyone heard of this problem before?
TIA
Sebastian Morawietz
Sebastian,
Which compiler environment are you using?
It is possible that a library you're dynamically linking against isn't
available to PHP.
Have you checked the Makefile to determine the exact options used to compile
the extensions?
Nathan
"Sebastian Morawietz" <st************ *@gmx.de> wrote in message
news:c9******** **@sagnix.uni-muenster.de... Hi,
I'm busy porting a PHP-Extension written by the company I work for from Linux to Win32 (XP). Everything worked fine. I fixed the errors and warnings, copied the dll to the extensions directory, entered the dll as extension into php.ini and this is, where trouble starts.
When PHP is called on apache starting up, it throws an error at me saying "Unknown(): Unable to load dynamic library '...' Module not found.
Then I browsed through the source code of the extensions, that are included in the php-4.3.6-sources, to figure out, what they are doing different - and at this point, the story gets weird:
I compiled the bz2-Project (no errors, no warnings), and replaced php_bz2.dll in the extensions-Folder with the version I just compiled - resulting in the same "Unknown(): ..." Error-Message for php_bz2.dll (of course I checked, that the original indeed works).
Has anyone heard of this problem before?
TIA
Sebastian Morawietz
Sebastian,
If your compiler is incrementing the internal version number of the .dll,
you may find you need to run regsvr32 on that new .dll - depending on your
o/s version etc.
I encountered similar problems and this fixed it for me: your mileage may
vary.
Cheers,
Doug
--
Remove the blots from my address to reply This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Martin Bless |
last post by:
The good news:
Along with Python-2.4 comes really good news to Windows users. Yes,
you now CAN build extension modules yourself using the SAME C++
compiler and linker Python is built with itself. Everything you need
is available at no costs (except download hassle and installation
time). Once your system is set up properly its just a matter of
running 'python setup.py build'. No longer waiting for someone else to
build binaries and a...
|
by: Martin Bless |
last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very
much like to use mssql-0.09.tar.gz which is available from
http://www.object-craft.com.au/projects/mssql/download.html
Unfortunately the binary for Python-2.4 isn't available yet and I'd
hate to step back to a previous version.
I'm glad I managed to set up my XP machine to being able to compile
extensions using the VC++ toolkit which freely availbale from MS. See
|
by: Girish Srinivasan |
last post by:
Hello
I would like to know if its possible to compile code in a visual studio .NET environment and then link the objects in a visual studio 6.0 environment with other visual studio compiled objects
Thank
Girish
|
by: webstuff |
last post by:
Hi,
I recently started getting the BSOD (Stop 0xC5 and others) when
compiling my C# application in Visual Studio. I was convinced it was
was hardware problems until i checked out the code on my laptop and
immediately started getting blue screens again (Stop 0x8E) when
compiling. This is far too big a coincidence for me to believe that
both computers are going wrong independently.
Has any one else ever seen this? I'm getting quite...
|
by: jim |
last post by:
Hi Everyone,
When I converted one visual .net project from 2002 to 2003, there is an
error occursing during compiling under visual studio .net 2003 as followoing:
Command Lines Creating temporary file
"d:\Development\WebService\temp\ManagedSdk\Debug\RSP000008.rsp" with contents
Creating command line "cl.exe
@d:\Development\WebService\temp\ManagedSdk\Debug\RSP000008.rsp /nologo"
| |
by: tirzanello |
last post by:
Hi all,
I've found this amusing project:
http://inpainting.alpha-sigma.net/
but there are only source codes, the author suggests to compile it with
Visual Studio .NET 7.1 or more. The problem is that I don't have it,
and I'm searching a way to compile it without the Visual Studio 7.1 is
it possible? Do you know any free compiler or whatever to compile it?
|
by: Andrea Gavana |
last post by:
Hello NG,
I'm struggling and googling around, but without big success. I am
trying to build a fortran extension with F2PY, and it seems to me an
impossible task. At the moment, I have the following installed:
- Latest f2py
- MS Visual Studio 2003
- Python 2.4
- Intel Visual Fortan 9.1
|
by: smack |
last post by:
Does anyone know how to create an extension DLL for Windows. I have no
problem compiling my selfdevelopt extension for Linux, but can't seem
to find any relevant information on how to compile an extension on
Windows. So if you know where to find relevant information or have
worked with your own extension your help would be mush appreciated.
Thanks for your input!
|
by: arielro |
last post by:
Hello all!
I have a C# application that uses 5 dlls and each time I make a modification to the script and test it(ctrl+F5) the application compiles successfully but doesn't seem to apply the changes I made. So I have to run the project one more time to actually see the modifications happen. Is there any way to make the enviroment(VS 2008) apply the changes exactly after I make them in code.
Am I missing something?
Cheers,
Ariel
|
by: eliben |
last post by:
On Jun 27, 3:10 pm, eliben <eli...@gmail.comwrote:
Problem solved:
http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |