OK, got it. Understood. Good point, will do. :-) devin
On Dec 7, 2009, at 11:31 PM, Ray Morris wrote:
So, for what it's worth, it ends up that it will work with either
the direct linking as I was trying or with LoadFile
It will work FOR NOW, on that ONE SERVER, if you directly
link a librar
So, for what it's worth, it ends up that it will work with either
the direct linking as I was trying or with LoadFile
It will work FOR NOW, on that ONE SERVER, if you directly
link a library. Loadfile will work now, and in the future,
and on other servers, rather than causing incorrect resul
So, for what it's worth, it ends up that it will work with either the
direct linking as I was trying or with LoadFile
The problem had to do with my downloading SQLite and compiling - when
I deleted all those resulting files and installed the OpenBSD package
for SQLite, it worked fine. So th
OK, these ideas sound useful, thanks. I'll look into DBD and LoadFile.
Thanks for your time.
On Dec 7, 2009, at 9:24 PM, Nick Kew wrote:
On 7 Dec 2009, at 23:44, Devin Ceartas wrote:
apxs -cia -L/usr/local/lib -I/home/devin mod_hello.c
/* Works Fine, prints "hello world" */
apxs -cia -L/
On 7 Dec 2009, at 23:44, Devin Ceartas wrote:
> apxs -cia -L/usr/local/lib -I/home/devin mod_hello.c
> /* Works Fine, prints "hello world" */
>
> apxs -cia -L/usr/local/lib -I/home/devin -lsqlite3 mod_hello.c
> /* compiles but dies on apache load */
> The platform is OpenBSD 4.6 with the platfor
I don't know enough to understand the output yet, but to me it seems
to indicate that the library is not missing:
# ldd /usr/lib/apache/modules/mod_hello2.so
/usr/lib/apache/modules/mod_hello2.so:
StartEnd Type Open Ref GrpRef Name
09384000 29388000 dlib 10 0
On Mon, Dec 7, 2009 at 7:07 PM, Devin Ceartas wrote:
> hm. -rpath doesn't seem to be an accepted flag in the apxs included with the
> latest OpenBSD
apxs will pass linker or compiler args down to the respective program
with -Wl, or -Wc, ; it doesn't do anything with them directly.
--
Eric Coven
Have you tried "ldd "? That could also give you a
hint if anything is fishy with the library paths/dependencies.
Regards,
Dennis
On 12/08/2009 01:07 AM, Devin Ceartas wrote:
hm. -rpath doesn't seem to be an accepted flag in the apxs included with
the latest OpenBSD
-- devin
On Dec 7, 2009,
hm. -rpath doesn't seem to be an accepted flag in the apxs included
with the latest OpenBSD
-- devin
On Dec 7, 2009, at 6:56 PM, Joe Lewis wrote:
Devin Ceartas wrote:
The logic of my SQLite code works if I compile it as a stand-alone
executable.
My mod_hello.c compiles and loads/works fin
Devin Ceartas wrote:
The logic of my SQLite code works if I compile it as a stand-alone
executable.
My mod_hello.c compiles and loads/works fine without the SQLite code
Combining the two, the module compiles and is installed, but the
apache process dies immediately (core dump) every time it i
Playing around with this a bit, but not getting too far...
The logic of my SQLite code works if I compile it as a stand-alone
executable.
My mod_hello.c compiles and loads/works fine without the SQLite code
Combining the two, the module compiles and is installed, but the
apache process die
11 matches
Mail list logo