News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
murgaLua: cannot load shared libraries?
Author Message
pdinoto
Junior Member
**


Posts: 19
Group: Registered
Joined: Jun 2007
Status: Offline
Reputation: 0
Post: #11
RE: murgaLua: cannot load shared libraries?

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!

08-21-2007 04:00 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #12
RE: murgaLua: cannot load shared libraries?

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

08-21-2007 04:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pdinoto
Junior Member
**


Posts: 19
Group: Registered
Joined: Jun 2007
Status: Offline
Reputation: 0
Post: #13
RE: murgaLua: cannot load shared libraries?

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)

08-21-2007 08:07 PM
Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: