Opened 13 years ago

Closed 12 years ago

#546 closed defect/bug (Incomplete/Missing infos)

crash on startup: cannot load library: cannot locate [some symbol]

Reported by: Owned by: cp15
Priority: blocker Milestone:
Component: port/android Version: git master
Severity: Keywords:


This bug shows in SVN rev2952, pre-build and self-build. When I'm starting Navit on my HTC Dream (CyanogenMod? it shows empty window for a second and disappears, leaving messages like this in log (full logcat attached):

E/navit (10138): navit:plugin_load:can't load '/data/data/org.navitproject.navit/lib/', Error 'Cannot load library: reloc_library[1245]: 129 cannot locate 'g_malloc0'...'

The libraries seem to be installed (the files it's complaining about are where it looks for them).

Attachments (1)

logcat-cannot-load-library-cannot-locate.txt (3.8 KB) - added by 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by


comment:1 Changed 13 years ago by

I looked around a bit, and it seems all of the missing symbols are in fact available from, but none of the libraries packaged with navit have libnavit as NEEDED (as in: arm-eabi-readelf -d is not showing as NEEDED for any of them).

comment:2 Changed 13 years ago by

Ok, I've got to change a line in

diff --git a/ b/
--- a/
+++ b/
@@ -106,7 +106,7 @@ linux*_android)
        speech_android=yes; speech_android_reason="host_os is android"
        MODULE_LDFLAGS="-module -Xcompiler -nostdlib"
+       NAVIT_MODULE_LDFLAGS="$MODULE_LDFLAGS -L\$(top_builddir)/navit -lnavit"
 if test "x$win32" = "xyes"

I hope this won't break anything else.

comment:3 Changed 13 years ago by hoffenheim

Still the same problem here with navit-svn-2974.apk on a Samsung Galaxy (Android 1.5)

comment:4 Changed 13 years ago by kazer

hoffenheim : having the issue with patched navit? or the vanilla one ?

comment:5 Changed 12 years ago by kazer

  • Resolution set to Incomplete/Missing infos
  • Status changed from new to closed

no updates for 8 months. If needed, please reopen.

Note: See TracTickets for help on using tickets.