Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Error while loading shared library

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


jain61 at gmail

Jul 4, 2008, 5:16 PM

Post #1 of 3 (352 views)
Permalink
Error while loading shared library

Hi All,

I am running my application on the N800 and I get following run time
exception.

error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can not
open shared object

While compilation is perfectly fine also this application binary was running
perfectly fine..

Please let me know if some one can provide some information...

Regards,
Nisha


kees.jongenburger at gmail

Jul 5, 2008, 12:10 AM

Post #2 of 3 (321 views)
Permalink
Re: Error while loading shared library [In reply to]

Hello Nisha,

I am not sure I really follow you but here we go

On Sat, Jul 5, 2008 at 2:16 AM, nisha jain <jain61 [at] gmail> wrote:
> Hi All,
>
> I am running my application on the N800 and I get following run time
> exception.
>
> error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can not
> open shared object
>
> While compilation is perfectly fine also this application binary was running
> perfectly fine..
on the sdk right?

>
> Please let me know if some one can provide some information...
search in what package that libgtkdatabox-0.8.2.so.2 is located and
install in on the target or add it to the .deb file deps

from googling it looks like you are using http://www.eudoxos.de/gtk/gtkdatabox/
is that available or compiled for the N800?

greetings
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


kees.jongenburger at gmail

Jul 5, 2008, 1:20 AM

Post #3 of 3 (311 views)
Permalink
Re: Error while loading shared library [In reply to]

Hi

you can first try if it works by exporting the LD_LIBRARY_PATH to the
directory where you .so file is located.

It is very normal for applications and shared libraries to get
installed under the /usr diirectory and that one is usualy not
writable by normal "users".Iif you create a .deb file it will be run
and installed as the root user. So the permission denied is "normal".
If you want to compile "static" against the lib remove the
-lmylib options and replace it with a ".a"(archive) file.

hope this helps


On Sat, Jul 5, 2008 at 9:46 AM, nisha jain <jain61 [at] gmail> wrote:
> Hi Kees,
>
> Yes the databox is compiled for ARMEL mode and also i tried copying and
> installing the .so file which is a shared library i guess dll. I am not able
> to use package manager to install it neither i am able to copy it to
> /usr/lib directory as it is giving me permission denied... I tried red pill
> mode too... I really need to know if i can generate static library or if i
> can some how create debian package i am not sure how to do it as i tried
> before but never been successful so far so my application is just a single
> binary file...
>
> Regards,
> Nisha
>
>
> On 7/5/08, Kees Jongenburger <kees.jongenburger [at] gmail> wrote:
>>
>> Hello Nisha,
>>
>> I am not sure I really follow you but here we go
>>
>> On Sat, Jul 5, 2008 at 2:16 AM, nisha jain <jain61 [at] gmail> wrote:
>> > Hi All,
>> >
>> > I am running my application on the N800 and I get following run time
>> > exception.
>> >
>> > error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can
>> > not
>> > open shared object
>> >
>> > While compilation is perfectly fine also this application binary was
>> > running
>> > perfectly fine..
>> on the sdk right?
>>
>> >
>> > Please let me know if some one can provide some information...
>> search in what package that libgtkdatabox-0.8.2.so.2 is located and
>> install in on the target or add it to the .deb file deps
>>
>> from googling it looks like you are using
>> http://www.eudoxos.de/gtk/gtkdatabox/
>> is that available or compiled for the N800?
>>
>> greetings
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.