Crystal Space
Welcome, Guest. Please login or register.
September 19, 2014, 05:08:52 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2051 Topics by 8481 Members
Latest Member: Cex18145xu
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  "error while loading shared libraries" - (Not so easy as u might think) ;)
« previous next »
Pages: [1] Print
Author Topic: "error while loading shared libraries" - (Not so easy as u might think) ;)  (Read 2488 times)
Pragma
Newbie
*
Posts: 6


View Profile Email
« on: October 24, 2008, 03:55:18 pm »

Hi!

I hate this error message... so I investigated this issue

Code:
pragma@pegasus:~/Code/crystal/crystal-app/ddc$ echo $LD_LIBRARY_PATH
/home/pragma/Code/crystal/crystal-sdk/lib:/home/pragma/Code/cel/cel-sdk/lib

Looks good to me?! So I tried the ldd command which gives me this:
Code:
pragma@pegasus:~/Code/crystal/crystal-app/ddc$ ldd ddc
linux-gate.so.1 =>  (0xb7f59000)
libceltool-1.4.so => /home/pragma/Code/cel/cel-sdk/lib/libceltool-1.4.so (0xb7f1d000)
libcrystalspace-1.4.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e11000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cc2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cb7000)
libcrystalspace-1.4.so => /home/pragma/Code/crystal/crystalsdk/lib/libcrystalspace-1.4.so (0xb7962000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb794a000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7924000)
/lib/ld-linux.so.2 (0xb7f5a000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7920000)
libz.so.1 => /usr/lib/libz.so.1 (0xb790b000)

Does not look so good. "libcrystalspace-1.4.so" is linked twice. I searched if this is normal or a linker error. Someone says it is quite normal.

But why the heck I got this silly message "error while loading shared libraries"?

Thanks for any hint!

Daniel
« Last Edit: October 24, 2008, 04:13:55 pm by Pragma » Logged
Pragma
Newbie
*
Posts: 6


View Profile Email
« Reply #1 on: October 24, 2008, 04:13:02 pm »

OK I got it once more by myself.

/home/pragma/Code/crystal/crystal-sdk/lib

was the wrong path Wink

/home/pragma/Code/crystal/crystalsdk/lib

My fault, sorry!
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.351 seconds with 16 queries.