View previous topic :: View next topic |
Author |
Message |
Epileg
Joined: 10 Sep 2009 Posts: 77
|
Posted: Mon Jan 03, 2011 4:34 pm Post subject: "Hello World" example runtime error |
|
|
Hello,
On Ubuntu Maverick i386, I've done everything as described in:
http://dsource.org/projects/qtd/wiki/BuildLinux
Everything goes fine without errors, even compiling "main". But when I try to run "main" I got this error:
./main: error while loading shared libraries: libcpp_core.so: cannot open shared object file: No such file or directory
Any help will be appreciated.
Best regards,
P.S. Same result with DMD 2.046 and DMD 2.051 |
|
Back to top |
|
|
arni
Joined: 24 Jan 2011 Posts: 5
|
Posted: Mon Jan 24, 2011 3:06 pm Post subject: |
|
|
Just found the forum, so the reply comes a little late - can you find the shared object in /usr/lib or /usr/local/lib? |
|
Back to top |
|
|
Epileg
Joined: 10 Sep 2009 Posts: 77
|
Posted: Tue Jan 25, 2011 2:07 pm Post subject: |
|
|
libcpp_core.so is in /usr/local/lib |
|
Back to top |
|
|
arni
Joined: 24 Jan 2011 Posts: 5
|
Posted: Wed Jan 26, 2011 12:56 am Post subject: |
|
|
hm, very strange.
try to run sudo ldconfig inside /usr/local/lib, that should do it. |
|
Back to top |
|
|
Epileg
Joined: 10 Sep 2009 Posts: 77
|
Posted: Wed Jan 26, 2011 3:19 am Post subject: |
|
|
It works! thanks. |
|
Back to top |
|
|
|