Thanks a lot dirkx.
My current working directory was not writable. It's working now :)
Thanks a lot :)
On Mon, Jul 13, 2015 at 9:51 PM, wrote:
>
> >char *zErrMsg;
> >rc = sqlite3_open("a.db", &db);
> >if (rc) {
>
> Besides the faulty error trapping in the other mail - it just occurr
>char *zErrMsg;
>rc = sqlite3_open("a.db", &db);
>if (rc) {
Besides the faulty error trapping in the other mail - it just occurred to me
that your default/current working directory is also in a place you are unlikely
to be allowed to write
So I would out the correct path there; or
Thanks a lot Mark and Eric
I'm linking statically.
I compiled the sqlite library with libtool by specifying the -static option.
My path for the UUID has both static and dynamic libraries.
The UUID library alone works when compiled with the apache module.
It's the sqlite library which causing th
On Mon, Jul 13, 2015 at 9:42 AM, Mark Taylor wrote:
> I am uncertain if LoadModule directive can be used to load
> arbitary .so, but if so that could be an option.
LoadFile is the alternative for that.
One thing you should be concerned about when compiling your module with
dependencies is, how are the dependencies linked? Static or dynamic? I see
nothing to indicate the uuid and sqlite3 libs were linkded statically, so
they would have to be somewhere httpd can find them at run time (dynmaic
link
Can someone kindly help me with this ?
On Mon, Jul 13, 2015 at 3:41 PM, Prakash Premkumar
wrote:
> Thanks for your reply Dirk,
>
> I made the changes you specified :
>
> Here's the source code for the new module :
> http://pastebin.com/q4KQfhBQ
>
> It gets only till line no 78 in the handler. (T
Thanks for your reply Dirk,
I made the changes you specified :
Here's the source code for the new module :
http://pastebin.com/q4KQfhBQ
It gets only till line no 78 in the handler. (The first log)
That it before calling the first sqlite function sqlite3_open()
On Mon, Jul 13, 2015 at 2:41 PM,
On 13 Jul 2015, at 10:21, Prakash Premkumar wrote:
> I'm trying to call sqlite function from my apache module.
>
> The source code for the module can be found here:
> http://pastebin.com/zkbTf03J
..
> When I navigate to localhost/ : I get It Works! message
>
> But when I naviage to any other URL
Hi,
I'm trying to call sqlite function from my apache module.
The source code for the module can be found here:
http://pastebin.com/zkbTf03J
Here's my httpd.conf file :
http://pastebin.com/Crs9Jqua
I created a library from sqlite using libtool and I am compiling the module
as follows:
sudo ~/D