Quote:
Originally Posted by brianinmaine
but I wanted to try it myself, maybe with sftp (not in the other one). This is the error I get:
Code:
./mc: error while loading shared libraries: invalid mode for dlopen(): Invalid argument
Which leads me to believe (from google searches) that it is a problem of different glib versions???
How to I link to the libraries on the native Kindle, not the one in the image?
|
A little bit more can be told from that runtime error message.
dlopen() is implemented in libdl (yeah, that one is easy, some are much harder to find).
The libdl header files imported during the build had to match what was expected in the mc code, or it would not have built.
But it did build, it just doesn't run.
Now those parts of the messages that look informative?
Ah, those things are not standardized, so it is best to confirm what is happening by some means other than the message text.
Use the strace utility on mc when you run it next time - - -
That will show what is being passed and in what format.
(Of course, take hints from the error messages, look first to see what is being passed to the dlopen's mode argument.)
If you are doing this inside of twobob's chroot image -
I am pretty sure he did not strip out the manual and info documents (we only talked about stripping out some backup files) -
So the 'man' command should work for all of the above inside the chroot.