Apache C module creation, problem linking SQLite -


Playing a bit with this, but not getting too far ...

My argument is SQLite Code works if I compile it as executable alone.

My mod_hello.c compile and loads works fine without SQLite code

Two combinations, modules have been compiled and installed, but the apache process loads every time. She goes. Extraction of all SQLite codes and just linking against SQLite causes this problem. In other words, with the same code:

  apxs -cia -l / usr / local / lib -i / home / devin mod_hello.c / * works fine, "hello world "Prints * / Apxs -cia -L / usr / local / lib -i / home / devin -lsqlite3 mod_hello.c / * compiled but Apache dies on load. * /  
< P> Platforms OpenBSD 4.6 is downloaded from the Ephechon 1.3 and SQL version 3.6.20 from SQLite site and compiled from source

to download my SQLite and compile Student was a problem - when I removed all the resulting files them and founded Open BSD package for SQLite, it should sync platform-specific compilation required so SQLite library worked fine. I think the best to use the package

- Devinus


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -