ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Error loading MySQL #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using Windows XP with apache http server, loading MySQL in the following
fashion:
{{{
var MySQL = require('mysql').MySQL;
}}}

Apache produces the following error:
httpd.exe - Entry Point Not Found:
The procedure entry point ??DUtf8Value@String@v8@@QAEPADXZ could not be
located in the dynamic link library v8.dll

The script output is:
"Error opening shared library 'd:\Server\usr\local\apache\v8cgi\mysql.dll'"

OS: Windows XP SP3
Server: Apache 2.2.4.0
v8cgi: 0.7.0 win32 (as apache module)
MySQL: 5.0.51a

Original issue reported on code.google.com by kpobo...@gmail.com on 24 Oct 2009 at 12:15

GoogleCodeExporter commented 9 years ago
Where is your mysql.dll library located? v8cgi's libraries are often located at 
"lib"
subdirectory, relative to v8cgi installation... also, what does your v8cgi.conf 
file
contain?

Original comment by ondrej.zara on 25 Oct 2009 at 9:09

GoogleCodeExporter commented 9 years ago
httpd.conf:
{{{
# Stuff here ...
LoadModule v8cgi_module modules/mod_v8cgi.dll

v8cgi_Config d:\Server\usr\local\apache\conf\v8cgi.conf
# More stuff follows ...
}}}

v8cgi.conf:
{{{
// put default .js and .dll files here
Config["libraryPath"] = "d:/Server/usr/local/apache/modules/mod_v8cgi";
}}}

mysql.dll is located inside the d:/Server/usr/local/apache/modules/mod_v8cgi 
directory

Original comment by anton.i....@gmail.com on 25 Oct 2009 at 9:23

GoogleCodeExporter commented 9 years ago
Error acknowledged, issue accepted.

Original comment by ondrej.zara on 27 Oct 2009 at 8:01

GoogleCodeExporter commented 9 years ago
Fixed in rev. 621. New mysql library will be included in further releases.

Original comment by ondrej.zara on 30 Oct 2009 at 8:28