Murga-Projects Forums

Full Version: murgaLua: cannot load shared libraries?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, having that as compile time option is great!

I hope to be able to craft a T2 package for murgaLua as soon as I finish dealing with some weird build problems I am having...

BTW, John, do you use T2 as part of work in PuppyLinux?

Thanks!

pdinoto Wrote:
Well, having that as compile time option is great!

It's not really an "option" as such :-)

Look for the line "linux_LINK_OPT = -l sqlite3" in the "src/Makefile", and change it to "/usr/local/lib/libsqlite3.a" (same as "macos_LINK_OPT").

pdinoto Wrote:
I hope to be able to craft a T2 package for murgaLua as soon as I finish dealing with some weird build problems I am having...

Cool, thanks !

pdinoto Wrote:
BTW, John, do you use T2 as part of work in PuppyLinux?

Nope, mostly due to the fact that I haven't had time to do anything with Puppy for many months :-(

Cheers
JohnM

Ok, now I got it.

The fact that was misleading me is that upx compression hides the real required libraries from ldd.

If you run ldd on a not-yet-upx´ed binary, here shows the real dependencies:

sh-3.2# ldd ./bin/murgaLua
libpthread.so.0 => /lib/libpthread.so.0 (0xb7f01000)
libdl.so.0 => /lib/libdl.so.0 (0xb7efd000)
libXext.so.6 => /usr/X11/lib/libXext.so.6 (0xb7ef1000)
libX11.so.6 => /usr/X11/lib/libX11.so.6 (0xb7e20000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7dd2000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cfd000)
libm.so.0 => /lib/libm.so.0 (0xb7cf1000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7ce7000)
libc.so.0 => /lib/libc.so.0 (0xb7c9f000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7c9c000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7c97000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f17000)
Pages: 1 2
Reference URL's