Failure to loadlib "dbhack"

View: New views
3 Messages — Rating Filter:   Alert me  

Failure to loadlib "dbhack"

by anthony_edelman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have been trying to load libraries into Plua2 but have failed at
every turn.

I am now using /libraries/dbhack.tar.gz and am using the
included "PalmDoc.lua" as a test and using all the test code to call
it but continue to receive the error "Failed to load dbhack. Is it
installed?".

Please Help.

Thank you.


Re: Failure to loadlib "dbhack"

by migueletto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

--- In plua@..., "anthony_edelman" <edelmail@...> wrote:

> I have been trying to load libraries into Plua2 but have failed at
> every turn.
>
> I am now using /libraries/dbhack.tar.gz and am using the
> included "PalmDoc.lua" as a test and using all the test code to call
> it but continue to receive the error "Failed to load dbhack. Is it
> installed?".

Probably the library was compiled with an older beta version of Plua
2. I suggest compiling dbhack from source code, using the latest libkit.

I also noted that PalmDoc.lua uses the old syntax util.pack() instead
of the current bin.pack(), confirming that it was designed with an old
Plua (probably older than 2.0b5). In that case, PalmDoc.lua would need
to be changed to be compliant with the latest Plua version.

Regards,
Marcio.


Re: Failure to loadlib "dbhack"

by anthony_edelman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for that. I actually had the same problem with the other
libraries found here eg. cdb.

Is there anybody on this group that could recompile and repost the
compiled 'dbhack'.

Thank you.
Anthony.